Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Industrial Revolution Level 1 Assessment

Industrial Revolution Level 1 Assessment

9th Grade

27 Qs

SOAL BAB OPEN LOOP DAN CLOSE LOOP

SOAL BAB OPEN LOOP DAN CLOSE LOOP

12th Grade

25 Qs

Energy and Climate Test Review

Energy and Climate Test Review

9th Grade

25 Qs

CFA #2 (12.1 & 12.2)

CFA #2 (12.1 & 12.2)

9th - 12th Grade

23 Qs

5.02 Futurecast Lap Test

5.02 Futurecast Lap Test

9th - 12th Grade

20 Qs

Principles of I.T. ACP Fall 2024

Principles of I.T. ACP Fall 2024

9th Grade

25 Qs

Animal Health Study Guide

Animal Health Study Guide

12th Grade

22 Qs

Unit 2 Exam - Civilizations of Asia

Unit 2 Exam - Civilizations of Asia

9th - 12th Grade

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