While Loops

While Loops

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Computer Science 2.2

Computer Science 2.2

10th Grade

16 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Pseudocode - Iteration

Pseudocode - Iteration

7th - 11th Grade

10 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

12 Qs

C++ - Loops and Random Numbers

C++ - Loops and Random Numbers

9th - 12th Grade

14 Qs

Pseudocode 9.9.24

Pseudocode 9.9.24

10th Grade

11 Qs

C++ Loops

C++ Loops

9th - 12th Grade

13 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

While Loops

While Loops

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 290+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a piece of code runs unintentionally forever it is known as

An infinite loop

A long loop

A broken loop

A for loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A condition is

a statement that is either True or False

a string

an integer

a list

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

0

1

2

3

1

2

3

0

1

2

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

hi

It won't output anything

It will output an error!

It will output "hi" infinitely

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

hi

bye

hi

bye

hi

bye

hi

bye

hi

hi

hi

bye

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

3

6

7

4

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does the code output?

hi

hi

hi

hi

hi

hi

hi

hi

hi

hi

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?