
Python Unit 3, 4, 5

Quiz
•
Computers
•
9th - 11th Grade
•
Medium
Anthony Sinapi
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
Python Baics

Quiz
•
10th - 11th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
20 questions
Surprise Quiz !!!!

Quiz
•
10th Grade
20 questions
Data Science (Quiz in Python)

Quiz
•
11th Grade
20 questions
Algoritma Fungsi Phyton

Quiz
•
10th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade