Java Script Certification Functions, Debugging & Loops

Quiz
•
Professional Development
•
1st - 3rd Grade
•
Hard
Moises Ruiz
Used 19+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
POMPIER LOU2

Quiz
•
2nd Grade
18 questions
Unit 113: Quiz 1(storage & Maintaining of Hand Tools )

Quiz
•
1st Grade
15 questions
Apron Control- Jet Apron / JAE Version

Quiz
•
1st Grade
24 questions
Java - Quiz 3

Quiz
•
1st - 3rd Grade
20 questions
Pre-assessment - Sourcing and Track & Chase

Quiz
•
1st Grade
19 questions
PDL - Module A

Quiz
•
3rd Grade
20 questions
D.12. droits et obligations du vendeur et du consommateur

Quiz
•
2nd Grade
22 questions
Microsoft 98-365 Server Admin Part 2

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
10 questions
Place Value

Quiz
•
3rd Grade
17 questions
Multiplication facts

Quiz
•
3rd Grade
12 questions
Damon and Pythias

Quiz
•
3rd Grade
20 questions
Subject and Predicate Review

Quiz
•
3rd Grade
20 questions
Division Facts

Quiz
•
3rd Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade