
Python Unit 3, 4, 5
Quiz
•
Computers
•
9th - 11th Grade
•
Medium
Anthony Sinapi
Used 2+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which Python code segment will display “Hello, world!” on the screen?
display Hello, world!
print "Hello, world!"
print Hello, world!
input "Hello, world!"
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the following Python code display?
print "Hello"
print "World"
Hello
World
HelloWorld
Hello World
"Hello"
"World"
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What type is the following variable?
x = "Hi there"
float
integer
boolean
string
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the following Python program print?
x = "I am"
y = 6
z = "feet tall"
print x
print y
print z
I am 6 feet tall
I am6feet tall
I am
6
feet tall
x
y
z
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the type of the variable x in the following Python program?
x = input("Enter something: ")
string
integer
float
The type cannot be determined.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the following Python program print?
x = 9 + 6 / 3 * 2 - 1
print x
9
12
15
21
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following operations will output a value of 5?
11/2
11.0/2
float(11)/2
2 + 3 * 2
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Computer Science - X
Quiz
•
8th - 10th Grade
20 questions
UH1_INFO_XII
Quiz
•
11th Grade
20 questions
Dasar Animasi 3D
Quiz
•
10th - 11th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
25 questions
Codehs - Python
Quiz
•
11th - 12th Grade
20 questions
Unit Test 1 Class 8 Computer
Quiz
•
8th - 9th Grade
20 questions
ask t3
Quiz
•
10th Grade
20 questions
Avances en medicina
Quiz
•
8th - 9th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
