
Python Unit 3, 4, 5
Authored by Anthony Sinapi
Computers
9th - 11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
Diagnostico recursos digitales
Quiz
•
9th Grade
20 questions
Контрольная работа
Quiz
•
9th Grade
20 questions
9-Класс ТЕСТ 30-34
Quiz
•
9th Grade
20 questions
UAS Administrasi Infrastruktur Jaringan - Routing Dinamis
Quiz
•
11th Grade
20 questions
c# Diziler
Quiz
•
10th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
20 questions
Alles über YouTube
Quiz
•
5th Grade - 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