Coding Mcq’s
10.4K subscribers
3 photos
1 file
6 links
Do join for coding McQ’s‼️

All types of Programming Questions, Answer & Mcq's 🧠👨‍💻
Download Telegram
Which collection class in Java is synchronized?
Anonymous Quiz
44%
a) ArrayList
23%
b) LinkedList
20%
c) HashMap
13%
d) Vector
👍13🕊3
How do you read user input from the console in Java?
Anonymous Quiz
48%
b) Using Scanner
22%
c) Using Console.readline()
8%
d) Using BufferedReader
👍10🤷‍♂3🥴2
Which method is used to find the length of a string in Java?
Anonymous Quiz
58%
a) length()
9%
b) size()
6%
c) count()
28%
d) strlen()
👍7🤷‍♂4
Which protocol is used for secure communication over a computer network?
Anonymous Quiz
8%
a) FTP
28%
b) HTTP
57%
c) HTTPS
7%
d) SMTP
👍4❤‍🔥331
👍5🔥3
Which of the following is a connection-oriented protocol used for reliable data transfer in networking?
Anonymous Quiz
16%
a) UDP
10%
b) ICMP
60%
c) TCP
14%
d) IP
👍4🔥3😘32
Which of the following is a protocol used for sending and receiving emails?
Anonymous Quiz
15%
a) FTP
53%
b) SMTP
29%
c) HTTP
3%
d) DHCP
👍9❤‍🔥42
Which of the following data types in C has the largest storage capacity?
Anonymous Quiz
10%
a) int
8%
b) float
74%
c) double
8%
d) char
6👍6🕊5
👍8🕊21🤗1
👍10🤷‍♂3👨‍💻32
Which of the following is not a valid Java identifier?
Anonymous Quiz
21%
A) _helloWorld
12%
B) java2share
36%
C) 3DModel
31%
D) $currency
🕊74❤‍🔥3👍31
What is the default value of a boolean variable in Java?
Anonymous Quiz
29%
A) true
37%
B) false
22%
C) null
11%
D) 0
❤‍🔥9🕊6🤷‍♂4👍4🔥32
What is the size of the char data type in Java?
Anonymous Quiz
55%
A) 8 bits
27%
B) 16 bits
13%
C) 32 bits
5%
D) 64 bits
😱9👍4👨‍💻42🔥2
Which of the following is used to handle exceptions in Java?
Anonymous Quiz
82%
A) try-catch blocks
9%
B) do-while loops
4%
C) for loops
5%
D) switch-case statements
🫡5🤷‍♂3👍31