Basics of Python Programming - Selection (1)

Basics of Python Programming - Selection (1)

8th Grade

7 Qs

quiz-placeholder

Similar activities

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Y9 Intro to Python

Y9 Intro to Python

8th Grade

10 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

Python - Week 1

Python - Week 1

8th - 10th Grade

10 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Python ծրագրավորման լեզու

Python ծրագրավորման լեզու

7th - 10th Grade

10 Qs

Introduction to Python Programming

Introduction to Python Programming

7th - 10th Grade

12 Qs

Chapter 1 Python

Chapter 1 Python

8th Grade - University

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.

3

3*3

7

18-12

9

18/3-1

6

12/4

5

15/3+2

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