Chp. 4 Alice Loop Structures

Chp. 4 Alice Loop Structures

12th Grade

21 Qs

quiz-placeholder

Similar activities

FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Python In transit loops and iterations

Python In transit loops and iterations

12th Grade

20 Qs

Python Basics 4

Python Basics 4

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Coding Test Review

Coding Test Review

9th - 12th Grade

21 Qs

Python Looping with Integers

Python Looping with Integers

9th - 12th Grade

16 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Chp. 4 Alice Loop Structures

Chp. 4 Alice Loop Structures

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?