Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

TRẮC NGHIỆM JAVA - CHƯƠNG 1: GIỚI THIỆU VỀ JAVA

TRẮC NGHIỆM JAVA - CHƯƠNG 1: GIỚI THIỆU VỀ JAVA

10th Grade - University

20 Qs

Chapter 5: Supply  Test

Chapter 5: Supply Test

9th Grade - University

25 Qs

Grammar Test/Practice

Grammar Test/Practice

9th - 12th Grade

20 Qs

Darwin's Case and Evidence Quizizz

Darwin's Case and Evidence Quizizz

9th Grade

20 Qs

[Spring 25] Cybersecurity Final Exam

[Spring 25] Cybersecurity Final Exam

10th Grade - University

30 Qs

WELDING SAFETY (warmup game)

WELDING SAFETY (warmup game)

11th Grade

24 Qs

Questions for Informatic class

Questions for Informatic class

10th Grade

30 Qs

Physics Laboratory Techniques Quiz

Physics Laboratory Techniques Quiz

10th Grade

20 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?