JavaScript MCQ
Which of the following variables takes precedence over the others if the names are the same?
Which of the following variables takes precedence over the others if the names are the same?
Anonymous Quiz
48%
Global variable
31%
The local element
16%
The two of the above
5%
None of the above
JavaScript MCQ
Which of the following type of a variable is volatile?
Which of the following type of a variable is volatile?
Anonymous Quiz
22%
Mutable variable
29%
Dynamic variable
39%
Volatile variable
10%
Immutable variable
Which of the following is not a Java features?
Anonymous Quiz
14%
Dynamic Architecture
25%
Neutral
55%
Use of pointers
6%
Object-oriented
Which of the following extension is used for user-defined header file in c++?
Anonymous Quiz
5%
hg
64%
cpp
23%
h
8%
hf
Which of the following statements is correct regarding the object-oriented programming concept in Python?
Anonymous Quiz
15%
Classes are real-world entities while objects are not real
25%
Objects are real-world entities while classes are not real
40%
Both objects and classes are real-world entities
21%
All of the above
What type of CSS is generally recommended for designing large web pages?
Anonymous Quiz
19%
Inline
14%
Internal
64%
External
3%
None of the above
Which of the following is a valid declaration of a char in Java ?
Anonymous Quiz
27%
char ch = '\utea';
52%
char ca = 'tea';
18%
char cr = \u0223;
3%
char cc = '\itea';
Is Python case sensitive when dealing with identifiers?
Anonymous Quiz
20%
no
61%
yes
14%
machine dependent
4%
none of the mentioned
What is used to find and fix bugs in the Java programs ?
Anonymous Quiz
41%
JVM
22%
JRE
26%
JDK
11%
JDB
What will be the output of the following Python code?
i = 1 while True: if i%3 == 0: break print(i) i + = 1
i = 1 while True: if i%3 == 0: break print(i) i + = 1
Anonymous Quiz
23%
1 2 3
36%
error
28%
1 2
12%
none of these
Which of the following is not javascript data types?
Anonymous Quiz
23%
a) Null type
23%
b) Undefined type
18%
c) Number type
37%
d) All of the mentioned
What is virtual inheritance in C++?
Anonymous Quiz
26%
a) C++ technique to enhance multiple inheritance
36%
b) C++ technique to ensure that a private member of the base class can be accessed somehow
16%
c) C++ technique to avoid multiple inheritances of classes
22%
d) C++ technique to avoid multiple copies of the base class into children/derived class
What will be the output of the following Python function?
min(max(False,-3,-4), 2,7)
min(max(False,-3,-4), 2,7)
Anonymous Quiz
13%
a) -4
21%
b) -3
18%
c) 2
49%
d) False
Which of the following option leads to the portability and security of Java?
Anonymous Quiz
47%
Bytecode is executed by JVM
23%
The applet makes the Java code secure and portable
16%
Use of exception handling
13%
Dynamic binding between objects
Which of the following type is provided by C++ but not C?
Anonymous Quiz
36%
a) double
11%
b) float
4%
c) int
49%
d) bool
What will be the output of the following Python code?
i = 1 while True: if i%3 == 0: break print(i) i + = 1
i = 1 while True: if i%3 == 0: break print(i) i + = 1
Anonymous Quiz
26%
a) 1 2 3
31%
b) error
31%
c) 1 2
12%
d) none of the mentioned
Which of the following tag is used for inserting the largest heading in HTML?
Anonymous Quiz
5%
<h3>
4%
<h2>
12%
<h4>
79%
<h1>
W3Schools Black Week Sale! ✅
Flat 70% Discount on W3School additional 20% Discount using Coupon: CURIOUS_PROGRAMMER
Claim 90% Here👇
https://campus.w3schools.com/CURIOUS_PROGRAMMER
Flat 70% Discount on W3School additional 20% Discount using Coupon: CURIOUS_PROGRAMMER
Claim 90% Here👇
https://campus.w3schools.com/CURIOUS_PROGRAMMER
Guess the output:
varx=5,y=1
var obj ={ x:10} with(obj) { alert(y) }
varx=5,y=1
var obj ={ x:10} with(obj) { alert(y) }
Anonymous Quiz
24%
1
51%
Error
19%
10
7%
5
Huge Discount on Online Courses! 🤯
Here you’ll find the coupon codes for Edtech Platforms such as Geeksforgeeks, KodeKloud, Skillshare etc
https://foolishdeveloper.com/get-discount-on-educational-courses/
Here you’ll find the coupon codes for Edtech Platforms such as Geeksforgeeks, KodeKloud, Skillshare etc
https://foolishdeveloper.com/get-discount-on-educational-courses/