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
12 questions
Python Final 052224 - 3

Quiz
•
10th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
15 questions
Technical Quiz R2

Quiz
•
12th Grade
15 questions
Lesson 5 Looping Quiz

Quiz
•
10th - 12th Grade
14 questions
LA5.C5: Branching and Subroutines

Quiz
•
9th Grade - University
10 questions
Programming Constructs - Bitesize

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

Quiz
•
12th Grade
15 questions
Looping Review

Quiz
•
10th - 12th 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
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University