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
21 questions
Y9 Creative iMedia RO81 Quiz Part 1
Quiz
•
9th Grade
20 questions
Repaso TIC- 1º-bach
Quiz
•
11th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th Grade
15 questions
Edición de Videos
Quiz
•
7th - 9th Grade
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
20 questions
CSS GRADE 9 - QUIZ PECs and EM
Quiz
•
9th Grade
15 questions
CIW
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
