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
TIN 7 - BÀI 9
Quiz
•
6th - 8th Grade
16 questions
Super easy quiz
Quiz
•
1st Grade - Professio...
16 questions
Agricoltura e allevamento
Quiz
•
7th - 8th Grade
14 questions
Bajka o rybaku i rybce.
Quiz
•
8th - 10th Grade
12 questions
NFL Football quiz
Quiz
•
6th - 8th Grade
15 questions
七年级- 爱好
Quiz
•
7th - 8th Grade
15 questions
Chayamana Quiz Competition
Quiz
•
1st Grade - University
12 questions
Culture générale
Quiz
•
KG - University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
