Javascript is an _______ language?

Javascript MCQ Quiz

Quiz
•
English
•
1st Grade
•
Hard
Mehul Kothari
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
statically typed and
scripting
statically typed and programming
dynamically typed and
programming
dynamically typed and scripting
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How can we make the complete object readonly which will not allow to add/delete/update any properties in the object,
Object.freeze(ObjectName)
Object.seal(ObjectName)
All of the above
Object.defineProperty(obj, 'readOnlyProperty',
{
value: 'somevalue',
writable: false,
configurable: true,
enumerable: false
});
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the switch statement matches the expression with the given labels, how is the comparison done?
None of the above
Only the value of the expression is compared.
Only the datatype of the expression is compared.
Both the datatype and the result of the expression are compared.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
<script type="text/javascript">
a = 5 + "9";
document.write(a);
</script>
Compilation Error
14
59
Run time error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When an operator’s value is NULL, the typeof returned by the unary operator is:
const a = null
console.log(typeof(a))
Boolean
Undefined
Object
Integer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
var a = true + true + true * 5;
print(a)
7
6
5
15
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
print(NaN === NaN);
True
False
undefined
error
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
WW 8.3 (Wordly Wise Book 8 Lesson 3)

Quiz
•
KG - University
20 questions
Greeting & Introduction LLC

Quiz
•
KG - University
10 questions
CLAUSES AND PHRASES SHOWING CONTRAST AND EXCEPTION

Quiz
•
1st Grade
20 questions
Avengers quiz

Quiz
•
KG - Professional Dev...
15 questions
Go getter 1 unit 0 (0.1 and 0.2)

Quiz
•
1st - 5th Grade
10 questions
Interchange Intro Review Unit 1

Quiz
•
KG - 1st Grade
10 questions
Greek and Latin Roots Unit 8

Quiz
•
KG - University
12 questions
Grade 1 Level 2 Proper and common nouns

Quiz
•
KG - 2nd Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade