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
Which of the following variables takes precedence over the others if the names are the same in JavaScript?
Anonymous Quiz
46%
Global variable
30%
The local element
20%
The two of the above
4%
None of the above
Which of the following keywords is used to define a variable in Javascript?
Anonymous Quiz
36%
var
13%
let
49%
Both A and B
2%
None of the Above
Identify the correct syntax for declaring arrays in C++.
Anonymous Quiz
20%
array arr[10]
8%
array{10}
70%
int arr[10]
3%
int arr
Which data type in JavaScript is used to represent logical values?
Anonymous Quiz
11%
String
64%
Boolean
15%
Number
10%
Undefined
Which of the following is “address of operator”?.
Anonymous Quiz
22%
*
56%
&
10%
[]
12%
&&
Identify the correct example for a pre-increment operator.
Anonymous Quiz
57%
++n
37%
++n
4%
- - n
2%
n - -
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
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