Search Header Logo

JavaScript Fundamentals Quiz II

Authored by Tshering Dorji

Information Technology (IT)

University

Used 5+ times

JavaScript Fundamentals Quiz II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement best describes a computer program?

A list of images displayed by a computer

A list of instructions executed by a computer

A list of files stored on a computer

A list of websites visited on a computer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement about JavaScript is most accurate?

It can run only inside web browsers

It requires a paid license to run in browsers

It is built into modern browsers and can also run on servers via Node.js

It can only run on mobile devices

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, a single-line comment starts with:

<!--

#

//

/*

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is NOT used to declare variables in modern JavaScript?

let

var

const

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript is best described as:

Strongly typed and statically checked

Loosely typed and dynamically checked

Untyped and compiled

Strictly typed and compiled

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option correctly distinguishes keywords from identifiers?

Keywords can be redefined by the programmer; identifiers cannot

Identifiers are reserved by the language; keywords are user-defined

Keywords are reserved by the language; identifiers are user-defined names

Both keywords and identifiers are reserved words

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement about identifiers is true in JavaScript?

Identifiers are not case-sensitive

Identifiers may start with a digit

Identifiers are case-sensitive and may start with _ or $

Identifiers must always be uppercase

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?