Search Header Logo

JavaScript Quiz

Authored by LE DG.TAI.L1@vus.edu.vn

Instructional Technology

11th Grade

Used 1+ times

JavaScript Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

function hideItem() {

......................= "none";

score++;

scoreText.innerHTML = "Score: " + score;

if (score < 10) {

alert("Item found!");

}

else {

alert("You win!");

}

}

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

>= stands for "greater than or equal to"

Đúng

Đúng rất Đúng

Sai

Sai quá sai

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

score++ stand for

increase score by 2

decrease score by 2

decrease score by 1

increase score by 1

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

How to create a function hideItem?

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

if (score < 10) { alert("Item found!"); }   

else { alert("You win!");    }

if score less than 10; appears message "You win"

if score greater than 10; appears message "Item found"

if score less than 10; appears message "Item found"

if score less than 10; appears message "Item found!"

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

what is the difference between Let and Const?

Let can be updated

Const can be updated

Nothing

Let can't be updated

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the correct syntax?

onclick="hideItem"

onclick="hideItem()"

onclick=hideItem()

onclick=hideItem

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?