Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Unit 4: Politics & Elections Test

Unit 4: Politics & Elections Test

12th Grade

20 Qs

SOAL BAB OPEN LOOP DAN CLOSE LOOP

SOAL BAB OPEN LOOP DAN CLOSE LOOP

12th Grade

25 Qs

CFA #2 (12.1 & 12.2)

CFA #2 (12.1 & 12.2)

9th - 12th Grade

23 Qs

Biology EOC Short Practice Test

Biology EOC Short Practice Test

10th Grade

21 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

Animal Health Study Guide

Animal Health Study Guide

12th Grade

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