While Loop in python

While Loop in python

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Python While Loops

Python While Loops

9th - 12th Grade

6 Qs

Quiz on Tracing Counter-Controlled Loops

Quiz on Tracing Counter-Controlled Loops

9th - 12th Grade

7 Qs

Cấu trúc lặp - Python

Cấu trúc lặp - Python

9th - 12th Grade

10 Qs

Python - Flow control

Python - Flow control

11th Grade

10 Qs

Banana Tales Lessons 3 & 4 Vocabulary

Banana Tales Lessons 3 & 4 Vocabulary

3rd Grade - University

10 Qs

Code.org Unit 5 - Loops

Code.org Unit 5 - Loops

9th - 12th Grade

10 Qs

Επιλογή-Επανάληψη στη Python

Επιλογή-Επανάληψη στη Python

11th Grade

10 Qs

While loop

While loop

3rd Grade - University

9 Qs

While Loop in python

While Loop in python

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Lauren Tan

Used 82+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the ending value of total in the WHILE LOOP code?

0

5

2

20

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

In a Python program, what would be the ending value for y in the WHILE LOOP code?

5

51

10

3

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

5

4

3

2

1

4

3

2

1

0

0

Infinite loop

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

What is the value of c after the loop finishes?

1

2

3

0

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

0

4

3

2

1

0

5

4 3 2 1 0

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

5

4

3

2

1

4

3

2

1

0

0

Infinite loop