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
Identify the correct syntax for declaring arrays in C++.
Anonymous Quiz
20%
array arr[10]
8%
array{10}
69%
int arr[10]
3%
int arr
❤‍🔥51
Which data type in JavaScript is used to represent logical values?
Anonymous Quiz
11%
String
64%
Boolean
15%
Number
10%
Undefined
🤓6❤‍🔥2🤷‍♂1
Which of the following is “address of operator”?.
Anonymous Quiz
22%
*
57%
&
10%
[]
12%
&&
🔥3🕊1
Identify the correct example for a pre-increment operator.
Anonymous Quiz
57%
++n
37%
++n
5%
- - n
2%
n - -
🤷‍♂82🤔35🤨26🤯9🤣6🥱31👍1👌1🕊1
When an array is passed to a method, what does the method receive?
Anonymous Quiz
61%
The reference of the Array
18%
The copy of the Array
15%
Length of the Array
6%
Copy of the first element
🤨5👍4❤‍🔥2🔥1
👍3❤‍🔥1
What does the undefined value in JavaScript represent?
Anonymous Quiz
44%
An unassigned variable
41%
A null value
8%
A logical false
7%
An error condition
🕊5
Which of the following loops is best when we know the number of iterations?
Anonymous Quiz
17%
While Loop
9%
Do While
55%
For Loop
20%
All of the Above
👍4🔥1
Which of the following scoping type does JavaScript use?
Anonymous Quiz
42%
Sequential
23%
Segmental
24%
Lexical
11%
Literal
👍4❤‍🔥3🤷‍♂2🏆2
What is the size of float and double in java?
Anonymous Quiz
75%
32 and 64
9%
32 and 32
12%
64 and 64
3%
64 and 32
👍82
❤‍🔥7👍2
Identify the scope resolution operator
Anonymous Quiz
18%
:
66%
::
8%
?
8%
None
🔥5💯3👍2❤‍🔥1
How many sizes of headers are available in HTML by default?
Anonymous Quiz
23%
5
17%
1
11%
3
50%
6
👍13🤷‍♂31❤‍🔥11🕊1
👍162👌1
How to create an ordered list in HTML?
Anonymous Quiz
12%
<ul>
82%
<ol>
5%
<href>
1%
<b>
👍4
How can we change the text color of an element?
Anonymous Quiz
20%
background-color
54%
color
22%
Both A and B
5%
None of the above
👏51
Which of the following types of loops are not supported in Python?
Anonymous Quiz
7%
for
6%
while
67%
do-while
20%
None of the above
🔥5❤‍🔥1
As what datatype are the *args stored, when passed into a function?
Anonymous Quiz
34%
List
27%
Tuple
23%
Dictionary
16%
None of the above
🥴6🤷‍♂5🕊2
👍92🕊1
Choose the correct default return value of function.
Anonymous Quiz
28%
int
63%
void
7%
char
3%
float
🔥4
What does compareTo() return in Java?
Anonymous Quiz
42%
True
9%
False
38%
int value
11%
None of the above
👍2🔥1