
Gold Batch Quiz -4
Authored by Gnaneshwar Reddy
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JavaScript primarily used for?
a) Back-end development
b) Database management
c) Client-side scripting
d) System programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a JavaScript variable?
a) var myVar;
b) let myVar;
c) const myVar;
d) All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a JavaScript data type?
a) Number
b) String
c) Boolean
d) All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to parse a string to an integer?
a) parseInt()
b) toInt()
c) Number()
d) int()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will type of null return?
a) object
b) null
c) undefined
d) boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create an array in JavaScript?
a) let arr = [];
b) let arr = new Array();
c) Both a and b
d) None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does === compare in JavaScript?
a) Value only
b) Data type only
c) Value and data type
d) None of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?