JavaScript Multiple-Choice Quiz

JavaScript Multiple-Choice Quiz

12th Grade

•

60 Qs

quiz-placeholder

Similar activities

Unit 4 - Encryption - BIG ONE

Unit 4 - Encryption - BIG ONE

9th - 12th Grade

•

61 Qs

Computer Awareness - 8

Computer Awareness - 8

12th Grade

•

60 Qs

CompTia 1001 Exam Review

CompTia 1001 Exam Review

10th Grade - University

•

56 Qs

Intro to Computer Science Unit 1 Test Form C

Intro to Computer Science Unit 1 Test Form C

9th - 12th Grade

•

60 Qs

PAS PWPB RPL 12

PAS PWPB RPL 12

12th Grade

•

55 Qs

CSP Final Review #1

CSP Final Review #1

9th - 12th Grade

•

58 Qs

AutoCAD Certification Quizziz

AutoCAD Certification Quizziz

9th - 12th Grade

•

55 Qs

Das Big Fat Informatik Quiz

Das Big Fat Informatik Quiz

9th - 12th Grade

•

55 Qs

JavaScript Multiple-Choice Quiz

JavaScript Multiple-Choice Quiz

Assessment

Quiz

•

Computers

•

12th Grade

•

Practice Problem

•

Hard

Created by

Neil Christian Capanzana

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

60 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in JavaScript?

let x = 10;

var x = 10;

const x = 10;

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used for single-line comments in JavaScript?

/* comment */

// comment

# comment

-- comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will typeof null return?

"null"

"undefined"

"object"

"string"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to print something in the console?

print()

log()

console.log()

write()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of "5" + 3 in JavaScript?

8

53

35

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a constant variable?

var

let

const

define

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write an IF statement in JavaScript?

if x = 5 then {}

if (x == 5) {}

if x == 5 {}

if x === 5 then {}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?