
Python Basics Quiz
Authored by Jomar Lauzon
Other
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Python function returns the memory identity of an object?
type()
id()
mem()
obj()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, integers can be as large as possible because:
They are limited by 32-bit architecture
Python 3 removes fixed-size limits
They must be less than 64-bit
They overflow like in C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if you try 05 in Python 3?
Returns 5
Treated as octal
SyntaxError
Returns 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used for floor division in Python?
/
//
%%
div
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What error occurs when dividing by zero in Python?
MathError
ZeroDivisionError
RuntimeError
ArithmeticError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents a valid float literal in Python?
5.0
5,0
.0.5
0,5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When multiplying a float by an int, the result will be:
int
float
bool
str
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Respiratory System Medical Terms
Quiz
•
9th - 12th Grade
28 questions
MAWD 1.01 B
Quiz
•
KG - University
29 questions
Call of duty
Quiz
•
6th Grade - University
25 questions
World Geography United States
Quiz
•
9th - 12th Grade
27 questions
Following Directions - Part 1
Quiz
•
5th - 9th Grade
25 questions
Psychology - Motivation
Quiz
•
9th - 12th Grade
25 questions
Marketing Pre-Test
Quiz
•
9th - 12th Grade
25 questions
piggy
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade