JavaScript

Quiz
•
Computers
•
University
•
Medium
John Oli
Used 6+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
True or False
The '===' operator checks for both value and type equality.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
True or False
Arrays in JavaScript are zero-indexed.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Predict the output of the following JavaScript code snippets.
8
Error
35
"35"
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of these is not a valid JavaScript loop?
for
while
do...while
repeat...until
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
A ________ is a reusable piece of code that performs a specific task.
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the output of: console.log(3 > 2 > 1)?
true
false
undefined
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is not a valid way to declare a variable in JavaScript?
var x =5;
let y = 10;
const z = 15;
int w = 20;
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
10 questions
Talent Next Java MCQ-1

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
10 questions
Javascript

Quiz
•
University
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
10 questions
JS Quiz

Quiz
•
University
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade