
Y-8 Unit-8 More About Python (Exercises)
Authored by Ent Htet
Information Technology (IT)
6th - 8th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "break statement" do?
Skips the rest of the loop
Terminates the current loop
Continues to the next iteration
Stops the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "continue" statement do?
Skips the rest of the loop and continues to the next iteration
Terminates the loop and exits block of code before it finishes iterations
Restarts the loop from the beginning
Pauses the loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop uses a counter variable that "increments" or "decrements"?
WHILE loop
DO-WHILE loop
FOR loop
Infinite loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of statement is used to "alter the flow of control" in a loop?
Conditional statement
Jump statement
Return statement
Breakpoint statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a "loop"?
A function that runs forever
A code block that runs once
A condition that stops execution
A statement that repeats a block of code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop runs as long as the test condition is true?
FOR loop
WHILE loop
Infinite loop
Conditional loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which are the two types of loops used in Python?
FOR and DO-WHILE
WHILE and IF-ELSE
FOR and WHILE
FOR and SWITCH
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?