Python

Python

Assessment

Flashcard

Mathematics

10th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the correct way to calculate the average of two numbers in Python?

Back

average = (math + english) / 2

2.

FLASHCARD QUESTION

Front

Why is the programming language named Python?

Back

It is named after Monty Python, a British comedy group.

3.

FLASHCARD QUESTION

Front

What does the expression print(10 % 4) return?

Back

2

4.

FLASHCARD QUESTION

Front

What must you do to execute a function in Python?

Back

You must call the function.

5.

FLASHCARD QUESTION

Front

What will the following code output? answer = input('Give me a number') print(answer * 5)

Back

The value of answer repeated 5 times.

6.

FLASHCARD QUESTION

Front

What is a variable in Python?

Back

A variable is a name that refers to a value.

7.

FLASHCARD QUESTION

Front

What is the purpose of the input() function in Python?

Back

It allows the user to enter data.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?