uCertify JavaScript Chapter 5

uCertify JavaScript Chapter 5

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Một số khái niệm về lập trình và ngôn ngữ lập trình

Một số khái niệm về lập trình và ngôn ngữ lập trình

KG - 12th Grade

15 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Virtual Private Server

Virtual Private Server

12th Grade

15 Qs

Mobile app development principles

Mobile app development principles

10th Grade

17 Qs

Learning Checkpoint 3: Primary & Secondary Storage

Learning Checkpoint 3: Primary & Secondary Storage

9th - 10th Grade

15 Qs

2021.10.15_ Đề kiểm tra tin học 12

2021.10.15_ Đề kiểm tra tin học 12

12th Grade

20 Qs

uCertify JavaScript Chapter 5

uCertify JavaScript Chapter 5

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Greg Baker

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript statement is used to force the flow of control back to the top of a loop?

break

while

for

continue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code will display an alert if the variable timerMinutes has a value 10?

if (timerMinutes == 10) alert("Time Expired!");

if ("timerMinutes" = 10) {

alert("Time Expired!");

}

if ("timerMinutes" == 10); {

alert("Time Expired!");

}

if ("timerMinutes" = 10) alert("Time Expired!");

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the switch statement?

To force the flow of control back to the top of a loop

To exit a loop that would otherwise continue to execute

To repeat a group of statements for some particular range of values

To compare a value against other values, to search for a match

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The continue statement can be used:

only with a for loop or a while loop.

only with a break statement.

only within a for loop.

within a for loop or a while loop.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript statement should you use to test for a single condition and branch to a process?

if

for

if...else

while

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the while statement?

To execute a block of code for as long as a condition is true

To delay execution of a block of code for as long as a condition is true

To delay execution of a block of code until a condition is true

To execute a block of code until a condition is true

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript statement should you use to repeat a group of statements for some particular range of values?

if...else

for

do...while

continue

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?