
JAVASCRIPT FINAL EXAM
Authored by UKIZURU MUSTAPHA
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive data type in JavaScript?
a) Number
b) String
c) Boolean
d) Object
2.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the output of the following code: let x = [1, 2, 3]; document.write(x[3]);
3.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Which of the following is not a valid way to declare a function in JavaScript?
4.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the output of the following code: let x = 10; function foo(){ console.log(x); } foo();
5.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the output of the following code: let x = 2; x+=1; document.write(x);
6.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the correct way to declare a variable in JavaScript?
7.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the output of the following code: let x = [1, 2, 3]; console.log(x.length);
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?
Similar Resources on Wayground
20 questions
Film Terminology Check 1
Quiz
•
KG - University
20 questions
Theatre III WOD 121-140
Quiz
•
9th - 12th Grade
20 questions
Present Simple multiple choice test 2
Quiz
•
KG - University
20 questions
PENILAIAN HARIAN 1
Quiz
•
KG - University
20 questions
Unit 3 Lesson 4 Quiz Review
Quiz
•
KG - University
15 questions
Ujian Akhir Semester Genap Matematika Kelas 6
Quiz
•
6th Grade
18 questions
Pretest-Unit 2. Dilations
Quiz
•
8th Grade
15 questions
Computer Assesment 1
Quiz
•
4th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for others
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade