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
25 questions
BSCE_MIDTERM_EXAM

Quiz
•
University
20 questions
Array and Loops in C#

Quiz
•
University
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
16 questions
Python Basics

Quiz
•
KG - University
20 questions
A2-T16-Translation software

Quiz
•
12th Grade
20 questions
Progdas-Q2-2024-1

Quiz
•
University
20 questions
Loops

Quiz
•
1st - 12th Grade
20 questions
9618 Chp11 Programming Basics Quiz

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade