
Python Input and Output Quiz
Passage
•
Computers
•
7th Grade
•
Practice Problem
•
Hard
Chris Bashford
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the `input()` function in the code?
To display text on the screen
To take user input
To perform calculations
To create a loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data does the `input()` function return?
Integer
String
Boolean
Float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you enter "Alice" for the name and "12" for the age?
"Hello, Alice, you are 12 years old"
"Hello, 12, you are Alice years old"
"Hello, Alice, you are Alice years old"
"Hello, 12, you are 12 years old"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed after the user's name is entered?
The user's age
"Hello World"
"***"
"Hello, [name], you are [age] years old"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an output in programming?
The values which get sent from the computer to the user
The values which get sent from the user to the computer
The place where inputs get stored by the program
The process of writing code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a lesson objective?
Understand how to program inputs in Python
Understand how to store inputs into variables in Python
Understand how to cook a meal
Understand the need to store inputs in Python
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the significance of understanding Python outputs?
To send data to the user
To store data
To delete data
To create errors
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
11 questions
Kuis Microsoft 365
Passage
•
6th Grade
13 questions
Jackie's School Story #1
Passage
•
7th Grade
5 questions
SpaceX's Starship: A Leap Towards Mars
Passage
•
7th Grade
11 questions
'Bridge to Terabithia'?
Passage
•
7th Grade
11 questions
Marcus Davenport's Journey
Passage
•
8th Grade
10 questions
Gateway b2 Rev Test U10 (Technological restaurants)
Passage
•
6th Grade
16 questions
G7. UNIT 9 READING HO 1
Passage
•
7th Grade
6 questions
leandrinha
Passage
•
7th 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
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