Python - Flow control

Python - Flow control

11th Grade

10 Qs

quiz-placeholder

Similar activities

GCSE Computing: 2.2 Data Structures #1

GCSE Computing: 2.2 Data Structures #1

10th - 11th Grade

10 Qs

2.3 Producing Robust Programs

2.3 Producing Robust Programs

10th - 11th Grade

14 Qs

for---Loop

for---Loop

3rd Grade - University

13 Qs

Website Development 1 - Recall

Website Development 1 - Recall

11th Grade

10 Qs

Flowol

Flowol

KG - University

10 Qs

Review multiple choice Quiz

Review multiple choice Quiz

KG - Professional Development

10 Qs

Global and local variables

Global and local variables

10th - 12th Grade

10 Qs

Iteration

Iteration

9th - 12th Grade

15 Qs

Python - Flow control

Python - Flow control

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Venkatesh K

Used 202+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

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 • 12 pts

An empty/null statement in python is ____________

go

pass

over

;

3.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

The order of statement execution in the form of top to bottom , is known as ______ construct

selection

repetition

sequence

flow

4.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

The ___________ construct allows to choose statements to be executed , depending upon the result of a condition.

selection

repetition

sequence

flow

5.

MULTIPLE SELECT QUESTION

45 sec • 12 pts

Which of the following statements will make a selection construct ?

if

for

if-else

while

6.

MULTIPLE CHOICE QUESTION

2 mins • 12 pts

Media Image

What is the output of the above program ?

Am I here?

Or here ?

Am I here ? Or here ?

Or here ? Or over here ?

7.

MULTIPLE CHOICE QUESTION

2 mins • 12 pts

Media Image

If the user inputs : 2<Enter> , what does the following code snippet print ?

Yes

No

May be

Nothing printed

Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?