Search Header Logo

TLE Q3

Authored by Raine Ragadio

Computers

10th Grade

Used 1+ times

TLE Q3
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

A variable declared with __________ has the global scope.

Const

Let

Scope

Var

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A __________ is a set of statements that perform tasks and returns a value.

Function

Global Scope

Function Scope

Scope

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These variables are declared outside any function and can be accessed anywhere

in JavaScript.

Function

Global Scope

Function Scope

Scope

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It determines the accessibility and visibility of variables in your code.

Function

Global Scope

Function Scope

Scope

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is appropriate to use ________________ for testing purposes.

InnerHTML

document.write();

window.alert();

console.log();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It 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.

InnerHTML

document.write();

window.alert();

console.log();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using this after an HTML document is loaded will delete all existing

HTML.

InnerHTML

document.write();

window.alert();

console.log();

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?