Search Header Logo

While Loop in python

Authored by Lauren Tan

Computers

9th - 12th Grade

Used 91+ times

While Loop in python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?