Python Selection Statements

Python Selection Statements

11th Grade

10 Qs

quiz-placeholder

Similar activities

G11 FT Quiz 1 - Python Conditions

G11 FT Quiz 1 - Python Conditions

11th Grade

10 Qs

PYTHON JUNIOR QUIZ-3

PYTHON JUNIOR QUIZ-3

KG - Professional Development

10 Qs

Python Conditionals and If Statements

Python Conditionals and If Statements

8th Grade - University

15 Qs

Python Basics Quiz 1

Python Basics Quiz 1

8th Grade - University

15 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

SELECTION STATEMENTS(PASCAL)

SELECTION STATEMENTS(PASCAL)

11th Grade

12 Qs

2.2 programming fundamentals

2.2 programming fundamentals

9th - 12th Grade

10 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Python Selection Statements

Python Selection Statements

Assessment

Quiz

Computers

11th Grade

Medium

Created by

T. Arman

Used 150+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In Python, the selection statements are also known as decision making statements or branching statements.

True

False

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The selection statements are used to select a part of the program to be executed based on a condition.

True

False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python provides the following selection statements.

if statement

if-else statement

if-elseif statement

True

False

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In Python, we use the if statement to test a condition and decide the execution of a block of statements based on that condition result.

True

False

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In Python, we use the if-else statement to test a condition and pick the execution of a block of statements out of two blocks based on that condition result.

True

False

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In Python, When we want to test multiple conditions we use elif statement.

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If it is True, then the block of statements is executed and if it is False, then the block of statements is ignored.

if statement

if-else statement

if-elif statement

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?