Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Practice Two #1-21 Questions

Practice Two #1-21 Questions

9th Grade

20 Qs

Unit 6 Chemical Reactions

Unit 6 Chemical Reactions

10th Grade

26 Qs

Computer Acronyms Quiz

Computer Acronyms Quiz

12th Grade

25 Qs

World War I History Quiz 3-4

World War I History Quiz 3-4

9th - 12th Grade

28 Qs

Unit 1 EPF Study Guide - Spring25

Unit 1 EPF Study Guide - Spring25

11th Grade

28 Qs

IT3- Internet and Networking Basics Worksheet

IT3- Internet and Networking Basics Worksheet

10th Grade

20 Qs

iCEV Unit 1 Quiz

iCEV Unit 1 Quiz

12th Grade

20 Qs

Chemical Bonding

Chemical Bonding

12th Grade

25 Qs

Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

Assessment

Quiz

others

9th - 12th Grade

Medium

Created by

John Miller

Used 2+ times

FREE Resource

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.

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?