uCertify JavaScript Chapter 5
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Greg Baker
Used 5+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
20 questions
Advantages and Disadvantages of Collecting Data
Quiz
•
10th Grade
16 questions
Unit 8 Practice Test For CSP
Quiz
•
9th Grade
16 questions
AI Checkpoint 1 Revision
Quiz
•
9th - 12th Grade
20 questions
NP IT Quiz ปริศนาไอที #4
Quiz
•
9th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
