
Basic Python and Console Interaction (Unit 3)

Quiz
•
Other
•
12th Grade
•
Medium
Emilio Gasca
Used 14+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python code segment will display “Hello, world!” on the screen?
display Hello, world!
print("Hello, world!")
print("Hello, world!")
"Hello, world!"
2.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
What type is the following variable? x = "Hi there"
Float
Integer
Boolean
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following Python program print?
I am 6 feet tall
I am6feet tall
I am
6
feet tall
x
y
Z
5.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
Suppose you run the following Python program: x = input("Enter some text: ") print(x) While the program is running, after the prompt has been printed, the user types the following and presses Enter: Delaware ratified the U.S. Constitution in 1787. What does the program print?
Delaware ratified the U.S. Constitution in 1787.
Delaware ratified the U.S. Constitution in
Delaware
(The program does not print anything.)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following Python program print? x = 9 + 6 / 3 * 2 - 1 print(x)
9
12
15
21
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
8 questions
Regular Course 2021 Full Stack_M1 L1

Quiz
•
7th - 12th Grade
15 questions
Kuiz Microsoft Power Point

Quiz
•
KG - University
8 questions
Java

Quiz
•
1st - 12th Grade
15 questions
Robotics and Artificial Intelligence

Quiz
•
6th Grade - Professio...
10 questions
REVIEW TEST (TYPES OF MEDIA)

Quiz
•
12th Grade
10 questions
GFG Quiz

Quiz
•
11th Grade - Professi...
14 questions
Python Programming L1 Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade