Chp. 4 Alice Loop Structures

Quiz
•
Computers
•
12th Grade
•
Hard
Melissa Perkes
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of structure is used to execute the same set instructions more than once?
Decision structure
Sequence structure
Repetition structure
Do together structure
None of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following loop would execute how many times? Loop index from 0 up to (but not including) 3 times incrementing by 1
1
2
3
4
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following loop would execute how many times? Loop index from 0 up to (but not including) 4 times incrementing by 2
1
2
3
4
None of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following loop would execute how many times? Loop 1 times times
1
2
3
4
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of instruction will cause a set of instructions to execute as long as a specified Boolean expression is true?
If/Else
Loop
Repeat
While
None of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of an infinite loop?
for (int i = 0; i < 10; i++) { }
while (true) { }
for (int i = 0; i < 10; i--) { }
do { } while (false);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid While loop condition?
While 1 > 2
While 2 < 1
While 1 == 1
Loop 1000 times times
None of these
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Loops

Quiz
•
5th - 12th Grade
24 questions
Java Loops

Quiz
•
10th - 12th Grade
20 questions
Python while loops

Quiz
•
12th Grade
20 questions
PHP Quiz 1

Quiz
•
University
20 questions
Web Systems and Technologies

Quiz
•
University
24 questions
Intro to Programming with Karel

Quiz
•
9th - 12th Grade
16 questions
C-Extended

Quiz
•
University
20 questions
Review JavaScript

Quiz
•
11th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade