What is JavaScript primarily used for?

Gold Batch Quiz -4

Quiz
•
Other
•
University
•
Medium

Gnaneshwar Reddy
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Web Dev

Quiz
•
University
10 questions
Diagnóstico Tópicos Avanzados de Programación.

Quiz
•
University
10 questions
Array

Quiz
•
University
8 questions
FRONT-END VS BACK-END

Quiz
•
University
15 questions
test

Quiz
•
University
9 questions
Prova POO

Quiz
•
University
10 questions
Algoritma Struktur Data (1)

Quiz
•
University
15 questions
R programming

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade