100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Certified JavaScript Developer – Practice Exam Verified Questions, Correct Answers, and Detailed Explanations for Computer Science Students||Already Graded A+

Rating
-
Sold
-
Pages
30
Grade
A+
Uploaded on
16-12-2025
Written in
2025/2026

Certified JavaScript Developer – Practice Exam Verified Questions, Correct Answers, and Detailed Explanations for Computer Science Students||Already Graded A+

Institution
Javascript
Course
Javascript

Content preview

Certified JavaScript Developer – Practice Exam
Verified Questions, Correct Answers, and Detailed
Explanations for Computer Science Students||Already
Graded A+
1. Which of the following is NOT a JavaScript data type?
A. Number
B. String
C. Boolean
D. Character
Answer: D
JavaScript does not have a separate char type; characters are strings
of length 1.


2. What is the output of typeof NaN?
A. "undefined"
B. "number"
C. "NaN"
D. "object"
Answer: B
NaN is considered a numeric value in JavaScript, so typeof NaN
returns "number".


3. Which method converts a JSON string into a JavaScript object?
A. JSON.toObject()
B. JSON.stringify()
C. JSON.parse()
D. JSON.convert()

,Answer: C
JSON.parse() converts JSON text into a JavaScript object.


4. Which statement correctly creates a JavaScript class?
A. class Car {}
B. Car class {}
C. new class Car {}
D. function class Car {}
Answer: A
The class keyword is used in ES6 to define classes.


5. What is the result of "5" - 2?
A. "3"
B. 3
C. "52"
D. NaN
Answer: B
The minus operator forces numeric coercion, so "5" becomes 5.


6. Which of the following is a falsy value?
A. "0"
B. []
C. {}
D. 0
Answer: D
Only numeric zero is falsy; "0", empty arrays, and empty objects are
truthy.

, 7. What does Array.isArray() return?
A. True only for arrays
B. True for objects
C. True for array-like objects
D. True for NodeLists
Answer: A
Array.isArray() returns true strictly for array objects.


8. Which function is used to schedule a callback after a delay?
A. setImmediate()
B. wait()
C. setTimeout()
D. delay()
Answer: C
setTimeout() schedules a function to run after a specified delay.


9. The let keyword provides what scope?
A. Global
B. Function
C. Block
D. Script
Answer: C
Variables declared with let are block scoped.


10. What is closure in JavaScript?
A. A function inside an array
B. A function returning another function

Written for

Institution
Javascript
Course
Javascript

Document information

Uploaded on
December 16, 2025
Number of pages
30
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$22.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
lewizranking

Get to know the seller

Seller avatar
lewizranking Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
New on Stuvia
Member since
2 months
Number of followers
0
Documents
1058
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions