Python Selection Statements

Python Selection Statements

11th Grade

10 Qs

quiz-placeholder

Similar activities

Вбудовані функції

Вбудовані функції

1st - 12th Grade

12 Qs

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

K10 -  WHILE

K10 - WHILE

11th Grade

14 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

ARRAYS

ARRAYS

11th - 12th Grade

10 Qs

Test Excel

Test Excel

10th - 12th Grade

9 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

Python Selection Statements

Python Selection Statements

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

T. Arman

Used 150+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?