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
Number of primitive data types in Java are?
Anonymous Quiz
40%
6
21%
7
35%
8
5%
9
👍4❤‍🔥1
Which of the following is not a Java features?
Anonymous Quiz
8%
Dynamic
32%
Architecture Neutral
54%
Use of pointers
6%
Object-oriented
👍6
Which of the following data type is supported in C++ but not in C?
Anonymous Quiz
8%
int
54%
bool
31%
double
7%
float
21
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
👍6
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
👍6🕊21🔥1
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