Flow Control in Python
Quiz
•
Computers
•
University
•
Medium
Mohd. Khan
Used 30+ times
FREE Resource
Enhance your content in a minute
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)
Create a free account and access millions of resources
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
28 questions
Kotlin Basic
Quiz
•
University
29 questions
COMPNET REVIEW QUIZ 2
Quiz
•
University
35 questions
Midterm Exam
Quiz
•
University
31 questions
Adversarial Search and CSP Quiz
Quiz
•
University
29 questions
DDTKJ
Quiz
•
University
28 questions
202309 BMIT27x3 Revision Quiz 3
Quiz
•
University
30 questions
SDK Baptis Quiz
Quiz
•
6th Grade - University
33 questions
HIS SEM.IV (1)
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
