Search Header Logo

TLE Q3 M1-5

Authored by Lolo mo Kalbo

Computers

10th Grade

Used 3+ times

TLE Q3 M1-5
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.

Console.log

Window.alert

Document.write

InnerHTML

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a function in JavaScript which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user.

Console.log

Window.alert

Document.write

InnerHTML

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ property defines the HTML content. JavaScript can use

the document.getElementById(id) method to access an HTML element, and the id

attribute defines the HTML element.

Console.log

Window.alert

Document.write

InnerHTML

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript ignores multiple spaces. You can add _________ to your script to

make it more readable.

Semicolons

Line Breaks

White spaces

Spaces

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The purpose of _________ is to define statements to be executed together.

Semicolons

Line Breaks

White spaces

code blocks

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Start with /* and end with */. Any text between /* and */ will be ignored by JavaScript.

Comments

Javascript Comments

Multi-Line Comments

Single Line Comments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Starts with a // and ends with //. Any text between this line will be ignored and will not be executed by JavaScript.

Comments

Javascript Comments

Multi-Line Comments

Single Line Comments

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?