Python Intro Lesson 2 Review
Quiz
•
Other
•
8th Grade
•
Medium
Ian Stuckey
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Demon Slayer
Quiz
•
KG - Professional Dev...
11 questions
Means of Communication
Quiz
•
6th Grade - University
10 questions
STEM Vocabulary 1
Quiz
•
6th - 8th Grade
14 questions
Library Orientation Review
Quiz
•
7th - 8th Grade
15 questions
Table manners
Quiz
•
3rd - 8th Grade
10 questions
Habit 4: Think Win-Win
Quiz
•
KG - University
8 questions
Digital Media Basics
Quiz
•
8th Grade
12 questions
shinchan quiz
Quiz
•
1st - 8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
4 questions
End-of-month reflection
Quiz
•
6th - 8th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade