
Python Numbers
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Easy
Amy Austin
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three numeric types in Python?
function, method, class
array, dictionary, tuple
string, boolean, list
int, float, complex
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you verify the type of any object in Python?
Using the type() function
Using the verify() function
Using the typeof operator
Using the check() method
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a complex number in Python?
x = 3 + 5j
x = '3 + 5j'
x = complex(3,5)
x = 3 + 5i
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which module in Python can be used to generate random numbers?
number
generator
math
random
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you convert a variable 'x' into a floating point number?
float(x)
int(x)
str(x)
complex(x)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(type(1j)) in Python?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid integer in Python?
2.8e3
-3255522
3.14
1.0
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
10 questions
Ipl quiz
Quiz
•
KG - 12th Grade
10 questions
CMS
Quiz
•
10th - 12th Grade
10 questions
ETA Review
Quiz
•
2nd Grade - University
10 questions
BUŘIČI
Quiz
•
12th Grade
10 questions
Penilaian Pengetahuan Komputer Akuntansi XII - 1
Quiz
•
11th - 12th Grade
15 questions
Chayamana Quiz Competition
Quiz
•
1st Grade - University
13 questions
język polski , lektury 2th
Quiz
•
1st - 12th Grade
12 questions
Culture générale
Quiz
•
KG - University
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
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
