Loops are used to _____________ code.
Quiz 4 Edhesive Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Katy Fleming
Used 96+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
repeat
initialize
test
incriment
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Setting a starting value for a variable is called _____________.
initializing
repeating
testing
incrementing
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is the variable controlling the loop?
int
sum
num
x
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Why do we use 'while' loops?
Because of efficiency.
Because computers can do calculations humans can't.
Because programs need to make decisions.
Because programming is an important skill.
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is NOT true about 'while' loops?
Use conditions like if statements
A way of repeating a code
Give us more control over how the program runs
Used to find remainders
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
It should print out:
Next number: 10 Next number: 9 Next number: 8 Next number: 7 Next number: 6 What is wrong?
It should be c = c + 1
Nothing, the code runs as it should.
c = 10 should be c = 1
The c = c - 1 is not inside the loop. This will cause the loop not to stop.
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
1
2
3
4
5
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
LOOPS IN C++

Quiz
•
10th Grade - University
15 questions
icpcNU_ Loops and Arrays

Quiz
•
12th Grade
15 questions
Technical Quiz R2

Quiz
•
12th Grade
15 questions
Lesson 5 Looping Quiz

Quiz
•
10th - 12th Grade
10 questions
Programming Constructs - Bitesize

Quiz
•
KG - 11th Grade
15 questions
G10 CS Bubble Search

Quiz
•
12th Grade
9 questions
AP CS A Quiz 4 Practice

Quiz
•
9th - 12th Grade
10 questions
Python Loops

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade