JavaScript

JavaScript

University

11 Qs

quiz-placeholder

Similar activities

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

Software dan Hardware

Software dan Hardware

University

10 Qs

Peranti Input Ouput

Peranti Input Ouput

University

10 Qs

Python Quiz

Python Quiz

University

15 Qs

Chapter 8 - Memory Management Strategies

Chapter 8 - Memory Management Strategies

University

15 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

John Oli

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

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;

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?

Discover more resources for Computers