Basics of Python Programming - Selection (1)

Basics of Python Programming - Selection (1)

8th Grade

7 Qs

quiz-placeholder

Similar activities

Python II Lesson 2

Python II Lesson 2

5th - 9th Grade

12 Qs

PYTHON FOR GRADE 8B

PYTHON FOR GRADE 8B

8th Grade

10 Qs

Python Chapter

Python Chapter

8th Grade - University

12 Qs

Python for beginners #1

Python for beginners #1

8th Grade

10 Qs

Python101

Python101

1st Grade - Professional Development

10 Qs

Input and Output Operations in Python

Input and Output Operations in Python

8th Grade

10 Qs

Maths in Python (EduBlocks)

Maths in Python (EduBlocks)

6th - 9th Grade

10 Qs

Python Coding

Python Coding

6th - 8th Grade

12 Qs

Basics of Python Programming - Selection (1)

Basics of Python Programming - Selection (1)

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Serdar Sakman

Used 1+ times

FREE Resource

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.

5

12/4

3

3*3

7

18-12

9

15/3+2

6

18/3-1

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 BLANK 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.

6.

FILL IN THE BLANK 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

7.

FILL IN THE BLANK 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