Chp. 4 Alice Loop Structures

Chp. 4 Alice Loop Structures

12th Grade

21 Qs

quiz-placeholder

Similar activities

MakeCode Arcade Unit 2 Review

MakeCode Arcade Unit 2 Review

6th - 12th Grade

20 Qs

Review JavaScript

Review JavaScript

11th Grade - University

20 Qs

OCR H446 -term 1

OCR H446 -term 1

12th Grade - University

25 Qs

Karel the Dog Study Test

Karel the Dog Study Test

9th - 12th Grade

20 Qs

Computer Organization and Architecture Quiz

Computer Organization and Architecture Quiz

University

20 Qs

PHP Quiz 1

PHP Quiz 1

University

20 Qs

Java Loops

Java Loops

10th - 12th Grade

24 Qs

Assignment 7 - Looping

Assignment 7 - Looping

University

16 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?