Search Header Logo

tle javascript

Authored by Fionah Elli

Computers

10th Grade

Used 1+ times

tle javascript
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An alert box is used to display data.

Using document.write

Using window.alert

Using console.log

Using innerHTML

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is appropriate to use document.write() for testing purposes.

Using window.alert

Using innerHTML

Using console.log

Using document.write

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

are text, written within double or single quotes.

Strings

Numbers

Literals

Variables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

are written with or without decimals like 5.50 or 100

Letters

Variables

Strings

Numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A _________ starts with a // and ends with //.

Single-Line Comments

Multi-Line Comments

Documentation Comment

Inline Comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________ start with /* and end with */.

Inline Comments

Single- line Comments

Multi-line Comments

Documentation Comments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables declared with var and let are quite similar when declared inside a

function. They will both have _________.

Variable

Function Scope

Block Scope

Global Scope

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