Search Header Logo

G10-MABINI

Authored by IRISH F

Architecture

8th Grade

G10-MABINI
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

what is the purpose of the `var` keywoard

it declares a new variable

It assigns a value to variable

it creates a function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following code?

"console.log(typeof null);"

"null"

"object"

"undefined"

"string"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following not a valid JavaScript data type?

boolean

object

number

string

character

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

"let x = "10";

let y = "5";

console.log(x+y);

15

"105"

"10+5"

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the following output of the following code?

"let a = 10;

let b = 5;

console.log(a * b + a / b);

52

107

57

102

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbolis used to start a single-line comments in JavaScript?

/

;

#

//

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comments in JavaScript?

To improve the performance of code

To make the code more understandable

To create dynamic effects in the code

To prevent errors from occuring the code

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?