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

All types of Programming Questions, Answer & Mcq's 🧠👨‍💻
Download Telegram
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
Which of the following loops is best when we know the number of iterations?
Anonymous Quiz
17%
While Loop
9%
Do While
54%
For Loop
20%
All of the Above
Which of the following scoping type does JavaScript use?
Anonymous Quiz
42%
Sequential
23%
Segmental
24%
Lexical
11%
Literal
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
Identify the scope resolution operator
Anonymous Quiz
18%
:
66%
::
8%
?
8%
None
How many sizes of headers are available in HTML by default?
Anonymous Quiz
23%
5
17%
1
11%
3
50%
6
How to create an ordered list in HTML?
Anonymous Quiz
12%
<ul>
82%
<ol>
5%
<href>
1%
<b>
How can we change the text color of an element?
Anonymous Quiz
20%
background-color
54%
color
22%
Both A and B
4%
None of the above
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
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
Choose the correct default return value of function.
Anonymous Quiz
28%
int
63%
void
7%
char
2%
float
What does compareTo() return in Java?
Anonymous Quiz
42%
True
9%
False
38%
int value
11%
None of the above
When is the object created with new keyword in Java?
Anonymous Quiz
44%
At run time
38%
At compile time
15%
Depends on the machine
3%
None
Which of the following functions converts date to corresponding time in Python?
Anonymous Quiz
33%
strptime()
21%
strftime()
42%
Both A and B
3%
None of the above
In C++ goto can be classified into?
Anonymous Quiz
29%
label
18%
variabe
25%
operator
28%
function
Identify the prototype of the default constructor.
Public class Solution {} in Java
Anonymous Quiz
16%
Solution(void)
30%
Solution()
34%
public Solution(void)
20%
public Solution()
By which of the following can the if-else statement be replaced?
Anonymous Quiz
16%
Bitwise Operator
65%
Conditional Operator
15%
Logical Operator
4%
Arithmetic Operator