Search Header Logo

Python Selection Statements

Authored by T. Arman

Computers

11th Grade

Used 150+ times

Python Selection Statements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?