
While Loop in python
Authored by Lauren Tan
Computers
9th - 12th Grade
Used 91+ times

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
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
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
5
4
3
2
1
4
3
2
1
0
0
Infinite loop
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
What is the value of c after the loop finishes?
1
2
3
0
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
0
4
3
2
1
0
5
4 3 2 1 0
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?