JavaScript Quiz

JavaScript Quiz

11th Grade

7 Qs

quiz-placeholder

Similar activities

Lesson 1 Touring Excel

Lesson 1 Touring Excel

10th Grade - University

9 Qs

Codify-Code Innovators

Codify-Code Innovators

9th - 12th Grade

5 Qs

0001

0001

9th - 12th Grade

8 Qs

4.00 Title

4.00 Title

10th Grade - Professional Development

5 Qs

America's Emergency Alert System Quiz from Larry Koopa! Quiz #1

America's Emergency Alert System Quiz from Larry Koopa! Quiz #1

1st - 12th Grade

4 Qs

Vocabulary

Vocabulary

9th - 12th Grade

4 Qs

U4-lesson 2 quiz

U4-lesson 2 quiz

5th Grade - University

5 Qs

How much do you know about google docs?

How much do you know about google docs?

9th - 12th Grade

10 Qs

JavaScript Quiz

JavaScript Quiz

Assessment

Quiz

Instructional Technology

11th Grade

Hard

Created by

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

Used 1+ times

FREE Resource

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