Search Header Logo

Python Review - Input, Output, and Math

Authored by John Miller

others

9th - 12th Grade

Used 2+ times

Python Review - Input, Output, and Math
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which of the following is NOT a mathematical operator of Python

*
//
**
#

2.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which datatype categorizes the value 5.0?

int
float
complex
string

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

The escape sequence '\n' does:

Prints a '\n' in the output.
Creates a blank space for the output.
Moves output to the next line.
Creates 4 blank spaces in the output.

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Media Image

What output would be produced by the following code?

1 + 2
3
12
Nothing would be outputted. A syntax error would be generated

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Media Image

What output would be produced by the following code?

1 + 2
3
12
'1 + 2'

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which is used to display information on the computer’s output screen?

parenthesis
double quotation marks
print()
Opening and closing braces

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

What effect does “\t” have when included in a string?

Output is moved to the next line.
A \n is displayed in the output.
A tab (move five spaces) is displayed in the output.
An n is displayed in the output.

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?