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
20 questions
Vocab Day 9-12 Study Guide

Quiz
•
12th Grade
20 questions
Програмиране в интернет чрез JavaScript

Quiz
•
12th Grade
20 questions
032_Cross-site Scripting – CompTIA Security+ SY0-701 – 2.3

Quiz
•
9th Grade - University
25 questions
Introduction to Programming

Quiz
•
9th - 12th Grade
25 questions
JavaScript

Quiz
•
10th - 12th Grade
21 questions
CodeHS JavaScript

Quiz
•
8th - 12th Grade
20 questions
JavaScript Basics Test

Quiz
•
10th - 12th Grade
20 questions
1TEC_AVALIAÇÃO LÓGICA COMPUTACIONAL 3º TRI_AV5

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade