Java Script Certification Functions, Debugging & Loops
Quiz
•
Professional Development
•
1st - 3rd Grade
•
Practice Problem
•
Hard
Moises Ruiz
Used 20+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which JavaScript statement should you use to test for a single condition and branch to a process?
for
while
if...else
if
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following statements is true of control structures?
They are methods that return at least one value.
They are used in code to avoid program errors.
They are exclusive to JavaScript.
They make decisions based on Boolean values.
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
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!");
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
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
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which JavaScript statement is used to force the flow of control back to the top of a loop?
while
for
continue
break
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider the following code snippet:
var x = 100; while (x > 5) { x--; }
What will be the value of x after the execution of the given code snippet?
4
5
100
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which type of statement provides a way to exit a loop that would otherwise continue to execute?
break
continue
for
while
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Programming - Screening Test
Quiz
•
3rd Grade - Professio...
20 questions
SON Day1 Exam 2
Quiz
•
1st - 5th Grade
15 questions
Data Analytic Tools
Quiz
•
1st - 3rd Grade
20 questions
Quizz Toastmasters - JPOT
Quiz
•
1st - 12th Grade
15 questions
LEA 1 QUIZ #1 IN FINAL
Quiz
•
1st Grade
20 questions
SCIENTISTS AND ELECTRICITY
Quiz
•
3rd Grade
15 questions
caisse : modes de règlement
Quiz
•
1st Grade
15 questions
QA Questions
Quiz
•
3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
10 questions
Veterans Day
Quiz
•
3rd Grade
