Python

Python

Assessment

Flashcard

Mathematics

10th - 12th Grade

Practice Problem

Hard

CCSS
2.OA.C.3

Standards-aligned

Created by

Wayground 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

Tags

CCSS.2.OA.C.3

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

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?