Search Header Logo

TLEQ3 MODULE 1-5

Authored by Irish Flores

Instructional Technology

10th Grade

TLEQ3 MODULE 1-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

20 sec • 1 pt

What is the correct way to declare a variable in JavaScript?

var MyVariable = 5;

variable myVariable = 5;

let myVariable = 5;

const myVariable = 5;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: console.log(type of null)

"undefined"

"null"

"boolen"

"object"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to create a function in JavaScript?

function myFuntion{}

my Function = function(){}

function() myFunction{}

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the keyword "this" in JavaScripts

It refers to the current object

It refers to the previous object

It refers to the next object

It has no specific purpose

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a primitive data type in JavaScript?

Boolen

String

Object

Number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to output text to the console in Javascript?

console.log();

document.write(),

alert();

print();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the result of the following Javascript code?

10

5

undefined

Reference Error

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?