JavaScript

JavaScript

University

11 Qs

quiz-placeholder

Similar activities

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

java quiz based on interface

java quiz based on interface

University

10 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Programming Knowledge Quiz (Medium)

Programming Knowledge Quiz (Medium)

5th Grade - Professional Development

10 Qs

DevNet Express

DevNet Express

10th Grade - Professional Development

11 Qs

java script

java script

University

10 Qs

Exam 1 Practice

Exam 1 Practice

University

15 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers

University

Medium

Created by

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?