Search Header Logo

Basics of Python Programming - Selection (1)

Authored by Serdar Sakman

Computers

8th Grade

Used 1+ times

Basics of Python Programming - Selection (1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Look at this Python program. Which one or more of the following will cause the output 'Sorry, not enough points.'?

59

60

61

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Look at this Python program. What will it output?

9

6 , 2

6

15

3.

MATCH QUESTION

1 min • 5 pts

Match each question with its correct answer.

7

18-12

3

12/4

9

15/3+2

5

18/3-1

6

3*3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct Python code to calculate the value of y if, to get y, we add 8 to 4 and then divide by 3.

y = (8 + 4) / 3

y = (8 + 4 / 3)

y = 8 + 4 / 3

y = 8 + (4 / 3)

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

In Python, what line of code do you include to tell the computer what to do if the condition in an if statement is False?
Write the line of code.

(a)  

6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

% symbol is used to find reminder of a division% symbol is used to find reminder of a division. What are the results of the following calculation?

19 % 4

(a)  

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

% symbol is used to find reminder of a division% symbol is used to find reminder of a division. What are the results of the following calculation?

23 % 7

(a)  

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?