Which is the right way to make a for loop?
JavaScript - Control Statements

Quiz
•
Computers
•
8th Grade
•
Hard
Meenakshi Sharma
Used 8+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Alienisation, The End, Rebels
Installation, Ending, Timer
Initialisation, Condition, Iteration
Initialisation, Counter, End Condition
2.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
Which of the below are types of loops
If then Else
Switch Case
for loop
Conditional Operator
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Nested loops are
Multiple independent loops
Conditions in a loop
Loop in a Loop
Loop in a condition
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
for ( var i = 0; i < 50; i++ )
How many times will this loop execute
51 times
49 times
50 times
0 times
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the iterations runs 25 times
for ( var i = 2; i < 26; i ++ )
for ( var i = 0; i < 25; i ++ )
for ( var i = -1 ; i > 25 ; i -- )
for ( var i = 0; i <= 25; i --)
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
One of the below functions lets you climb 1000 feet
for ( var count = 0; count > 999; count --)
moveUpOneFoot();
}
for ( var count = 2; count <= 1002; count ++)
moveUpOneFoot();
}
for ( var count = 1000; count < 1; count --)
moveUpOneFoot();
}
for ( var count = 0; count < 1000; count ++)
moveUpOneFoot();
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a function in MakeCode?
function = climbUp();
fun = "climbUp";
function climbUp();
fun = (climbUp());
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
JS: Conditionals!

Quiz
•
6th Grade - University
17 questions
Computer Science

Quiz
•
6th - 8th Grade
12 questions
Code.org (Introdução à programação)

Quiz
•
5th - 9th Grade
18 questions
Code.org Express Course Vocab

Quiz
•
6th - 8th Grade
12 questions
Python Fundamentals

Quiz
•
8th Grade
12 questions
Ch-8 Iterative statements in Python

Quiz
•
8th Grade
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
20 questions
Swift Review from Commands to Types

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade