JavaScript Certification Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Nixon López
Used 10+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for debugging in JavaScript?
warn
error
debugger
log
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'typeof' operator in JavaScript?
To concatenate two strings
To check if a variable is defined
To determine the data type of a variable or constant
To convert a string to a number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for exponentiation in JavaScript?
^
**
*
/
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
6.28
6
3.14
NaN
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add a new element to the end of an array in JavaScript?
append
insert
push
add
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'Math.random()' function in JavaScript?
To generate a random number between 0 and 1
To find the square root of a number
To calculate the absolute value of a number
To round a number to the nearest integer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which event is triggered when a user clicks on an HTML element?
onhover
onmove
onclick
onpress
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Python for Absolute Beginners

Quiz
•
8th - 12th Grade
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
20 questions
Subroutines - Procedures & Functions

Quiz
•
9th - 12th Grade
25 questions
HTML, CSS & JS

Quiz
•
11th - 12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
22 questions
mod 4 test

Quiz
•
9th - 12th Grade
20 questions
JDVP Activity

Quiz
•
12th Grade - 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