
Python- Codehs 2021 Exam Review
Flashcard
•
Computers
•
KG - Professional Development
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

66 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which Python code segment will display “Hello, world!” on the screen? Options: display Hello, world!, print("Hello world!"), print("Hello, world!"), "Hello, world!"
Back
print("Hello, world!")
2.
FLASHCARD QUESTION
Front
What does the following Python code display?
print("Hello")
print("World")
Back
Hello
World
3.
FLASHCARD QUESTION
Front
What type is the following variable?
x = "Hi there"
Back
string
4.
FLASHCARD QUESTION
Front
What does the following Python program print?
x = "I am"
y = 6
z = "feet tall"
print(x)
print(y)
print(z)
Back
I am
6
feet tall
5.
FLASHCARD QUESTION
Front
What is the type of the variable x in the following Python program?
x = input("Enter something: ")
Back
string
6.
FLASHCARD QUESTION
Front
What does the following Python program print after the user inputs "Delaware ratified the U.S. Constitution in 1787."?
x = input("Enter some text: ")
print(x)
Back
Delaware ratified the U.S. Constitution in 1787.
7.
FLASHCARD QUESTION
Front
What does the following Python program print?
x = 9 + 6 / 3 * 2 - 1
print(x)
Back
12
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?