
Flow Control in Python
Authored by Mohd. Khan
Computers
University
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a Python program , a control structure:
directs the order of execution of the statements in the program
dictates what happens before te program starts and after it terminates
defines program-specific data structures
manages the input and output of control characters
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An empty/null statement in python is ____________
go
pass
over
;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ___________ construct allows to choose statements to be executed , depending upon the result of a condition.
selection
repetition
sequence
flow
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following statements will make a selection construct ?
if
for
if-else
while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the above program ?
Am I here?
Or here ?
Am I here ? Or here ?
Or here ? Or over here ?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user inputs : 2<Enter> , what does the following code snippet print ?
Yes
No
May be
Nothing printed
Error
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Function range(3) is equivalent to "
range(1,3)
range(0,3)
range(0,3,1)
range(1,3,0)
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?
Similar Resources on Wayground
30 questions
Kesegaran sebelum ASAT
Quiz
•
9th Grade - University
29 questions
Quiz-PTI-Chapter1&2
Quiz
•
University
30 questions
ข้อสอบพื้นฐานการใช้การงานโปรแกรม Microsoft Exsel
Quiz
•
University
30 questions
COMPUTER 3
Quiz
•
3rd Grade - University
28 questions
XII-Multimedia
Quiz
•
12th Grade - University
28 questions
14) 2011.1 Using e-mail servers
Quiz
•
University
28 questions
CIN510 AI in Filmmaking - SPRING25 Final Exam
Quiz
•
University
30 questions
PBO Lanjut 2025
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade