Python - Flow control

Python - Flow control

11th Grade

10 Qs

quiz-placeholder

Similar activities

Flow of Control

Flow of Control

11th Grade

10 Qs

Programming Constructs

Programming Constructs

5th - 11th Grade

10 Qs

Computer Science 2: Control Structures

Computer Science 2: Control Structures

8th - 12th Grade

11 Qs

Informatics Practices Quiz (SARAFALI. P)

Informatics Practices Quiz (SARAFALI. P)

11th Grade

14 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Programming - Selection in an Algorithm

Programming - Selection in an Algorithm

1st - 11th Grade

10 Qs

Do Now - Retrieval - Programming and Data Structures

Do Now - Retrieval - Programming and Data Structures

11th Grade

11 Qs

Python Selection Statements

Python Selection Statements

11th Grade

10 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?