In a Python program , a control structure:
Flow Control in Python

Quiz
•
Computers
•
University
•
Medium
Mohd. Khan
Used 28+ times
FREE Resource
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
35 questions
[AP CSP] Programming with Conditionals [If, Elif, Else]

Quiz
•
9th Grade - University
31 questions
Quiz 1 in Programming Logic and Design

Quiz
•
12th Grade - University
35 questions
CPP Midterm

Quiz
•
University
30 questions
C-Programming

Quiz
•
University
30 questions
COMPUTER 3

Quiz
•
3rd Grade - University
28 questions
Introduction to Operating systems

Quiz
•
University
30 questions
DFC20113 Programming Fundamentals Set B

Quiz
•
University
30 questions
python

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade