What is the initial user input captured in the code?
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
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
Similar Resources on Quizizz
15 questions
Articles

Quiz
•
6th Grade - University
12 questions
Roblox: Adopt Me

Quiz
•
KG - Professional Dev...
10 questions
Mrs. De Roon Quiz

Quiz
•
6th - 8th Grade
15 questions
Kahoot

Quiz
•
6th Grade - Professio...
10 questions
Guess the animal

Quiz
•
1st Grade - Professio...
15 questions
7 Habits of Highly Effective Teens - Habit 4

Quiz
•
6th - 9th Grade
10 questions
Properties Of Materials

Quiz
•
1st - 12th Grade
10 questions
Easy JoJo's Bizarre Adventure Quiz (Parts 1-3)

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Other
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade