
Python Input and Output Quiz

Passage
•
Computers
•
7th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Year 8 Exam Style Question 8

Passage
•
7th Grade
11 questions
Lesson 1- Simple Chat

Passage
•
6th Grade
6 questions
Year 8 Exam Style Question 4

Passage
•
7th Grade
6 questions
iPhones

Passage
•
7th Grade
16 questions
Code Snippet Errors Quiz

Passage
•
7th Grade
11 questions
Google Sheets™ Common Spreadsheet Tasks Quiz

Passage
•
6th - 8th Grade
16 questions
CodeHS: Introduction to Coding in Sports

Passage
•
8th Grade
11 questions
What is Design? Passage and Text

Passage
•
7th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Characterization

Quiz
•
3rd - 7th Grade
20 questions
Guess The Cartoon!

Quiz
•
7th Grade