
Unit 2 Review 1
Authored by Barbara Anderson
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x=16.345
print(x-int(x))
What will output?
16.345
16
0.345
x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When would you NOT use a string
To store a number such as 2.56
To store a name
To store a list of words
To store a list of phone numbers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = input("Enter a number: ")
print(int(x))
What happens is the user types A when the code runs?
It prints the A
It prints 65
It prints 1
An error occurs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is NOT a data type in Python?
integer
float
string
decimal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What numbers might this code generate?
x = random.randint( 1 , 10 )
0
1.4
5
11
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is NOT a built-in function in Python?
print( )
string( )
int( )
float( )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To generate numbers between and including -3 to 3 you would use:
randint(-3, 3)
random.random(-3, 3)
random.random( )*3 + 1
random.randint(-3, 3)
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
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Control y Robótica
Quiz
•
12th Grade
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
10 questions
Binary Subtraction
Quiz
•
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade