
Python Quiz : Loop
Authored by Ivy Professional School
Professional Development
Professional Development
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • Ungraded
Full Name
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • Ungraded
Email ID
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • Ungraded
Student ID (Id No)
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is the correct code for creating a list of names?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are working on a program to process a list of numbers. Your goal is to print only the even numbers and skip the odd ones during the iteration. Which control statement is appropriate for achieving this in a Python loop?
continue
pass
break
skip
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be printed after running this FOR loop:
The number 6
The numbers 0 to 5
Error
The numbers 1 to 6
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What output will this code produce?
4
2
3
5
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?