null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
13342080
Loops
Description
Quiz on Loops, created by Code Ramp on 18/04/2018.
No tags specified
toefl
Quiz by
Code Ramp
, updated more than 1 year ago
More
Less
Created by
Code Ramp
over 6 years ago
379
0
0
Resource summary
Question 1
Question
Which type of loop do you typically use when you know exactly how many iterations you will need to do?
Answer
While loop
For loop
Question 2
Question
Which type of loop would you use when you are not certain how many iterations you will need to do?
Answer
While loop
For loop
Question 3
Question
Which of the following do you need to define when you build a loop?
Answer
Exactly how many times you're going to run your loop
Where to start
How to make progress toward the end condition
Where to end
Question 4
Question
Which statement lets you skip one iteration of a loop?
Answer
Break
Continue
Pass
Question 5
Question
In the following for loop, which of the following semicolons (if any) are *not* correct syntax? for (var i = 0; i < 10; i++); { console.log(i); };
Answer
Those inside the first set of parentheses (between each of the components of the loop)
The one after the first set of parentheses
The one after the console log statement
The one at the end of the for loop
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
Chapter 3 & 4 Review
Shannon Anderson-Rush
JavaScript Fundamentals
Andrew Watters
Programming Techniques
Joseph Beaumont
Brushing up
techmaniac001
Geometry Theorems
PatrickNoonan
A-Level History: Nazi Germany
cian.buckley+1
B6 - Brain and Mind OCR
franimal
MODE, MEDIAN, MEAN, AND RANGE
Elliot O'Leary
Enzymes and Respiration
I Turner
Input and Output Devices
Jess Peason
Japanese Hiragana
pangcaberte
Browse Library