Python Intro Lesson 2 Review
Quiz
•
Other
•
8th Grade
•
Practice Problem
•
Medium
Ian Stuckey
Used 5+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial user input captured in the code?
Today's date
The user's favorite animal
The current weather
The user's pet's name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What message is displayed in the first output?
I don't have a pet and it makes me sad.
Well, I am sure your pet would eat...
Well, that's up to you I suppose...
Really? I love it when it's...
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the variable 'outside' storing in the code?
The user's favorite animal
The user's decision to go outside
The user's pet's name
The type of food the user would give to their pet
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the '?' character in the line "outside + "?" + + "Well that's up to you I suppose..."?
It's a syntax error.
It separates two variables.
It's part of the user's input.
It concatenates with the sentence.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the code first ask for the user's input regarding an animal?
"Really? I don't understand why anyone would want to own a"
"Well, that's up to you I suppose..."
"Well I am sure your" + + pet
"What's your favorite type of animal?"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What information is concatenated together in the following line?
print("Really? I don't understand why anyone would want to own a" + " " + pet)
The user's pet and "would eat"
The user's favorite animal and "I don't understand why anyone would want to own a"
The user's favorite animal and "So what kind of food would you give your pet?"
None of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'petFood' variable store?
The type of food the user would eat
The user's pet's name
The type of food the user would give to their pet
The type of pet the user has
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
10 questions
-/Experiencia otaku\-
Quiz
•
8th Grade
15 questions
Hz.Muhammed'in Hayatı 3-Kaynak:Meb Çalışma fasikülü 4 ünite
Quiz
•
4th - 8th Grade
12 questions
Alberta Natural Resources #2
Quiz
•
KG - University
10 questions
T&T FDOS Quiz
Quiz
•
7th - 12th Grade
10 questions
GA - Task Management
Quiz
•
1st - 10th Grade
10 questions
Ori and the will of the wisps
Quiz
•
KG - Professional Dev...
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
10 questions
Lazarbeam
Quiz
•
8th - 12th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
14 questions
finding slope from a graph
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
12 questions
8th U5L9 Linear Models
Quiz
•
8th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
