Search Header Logo
 Python flow control

Python flow control

Assessment

Presentation

•

Education

•

10th Grade

•

Practice Problem

•

Hard

Created by

Meruyert Temirkhanova

Used 26+ times

FREE Resource

12 Slides • 12 Questions

1

Python flow control

Slide image

2

Slide image

3

Slide image

4

Slide image

5

Multiple Choice

What is the output of print(10 - 4 * 2)

1

2

2

12

3

10

4

0

6

Multiple Choice

Which of these following is not an operator group?

1

Logical

2

Comparison

3

Bitwise

4

Membership

5

Output

7

Multiple Choice

What is the output of the following code


x = 6

y = 2

print(x ** y)

print(x // y)

1

66

0

2

36

0

3

66

3

4

36

3

8

Multiple Choice

Which python operator means 'less than or equal to'?

1

>=

2

>

3

<

4

<=

9

Multiple Choice

x = 5


print(x > 3 and x < 10)

1

True

2

False

10

Multiple Choice

x = 5

y = 3


print(x == y)

1

True

2

False

11

Multiple Choice

x = 5


x%=3


print(x)

1

2

2

2.0

3

3

4

3.0

12

Slide image

13

Slide image

14

Slide image

15

Slide image

16

Slide image

17

Slide image

18

Slide image

19

Slide image

20

Fill in the Blanks

Write an APPROPRIATE PYTHON STATEMENT that fits this task description


TASK DESCRIPTION:

Enter the value for variables a and b, and display the answer to the following equation a+b

Type answer...

21

Fill in the Blanks

Write an APPROPRIATE PYTHON STATEMENT that fits this task description


TASK DESCRIPTION:

In the supermarket, yogurt costs - 330tg, and kefir-370tg. What can Marzhan buy if she has 350 tenges?

Type answer...

22

Fill in the Blanks

Write an APPROPRIATE PYTHON STATEMENT that fits this task description


TASK DESCRIPTION:

Arlan must print the numbers sequentially starting from 1 until it is equal to or greater than the digit 15.

Type answer...

23

Fill in the Blanks

Write an APPROPRIATE PYTHON STATEMENT that fits this task description


TASK DESCRIPTION:


If Dinara scores 20-25 points, then get a score of 5, and if 15-19 points, then get a score of "4". If you get a lower score, it will be "3".

Type answer...

24

Fill in the Blanks

Write an APPROPRIATE PYTHON STATEMENT that fits this task description


TASK DESCRIPTION:


Enter a three-digit number and print each one separately

Type answer...

pattern-tertiary

Python flow control

Slide image

Show answer

Auto Play

Slide 1 / 24

SLIDE