Python Quiz - print + input

Quiz
•
Computers
•
7th Grade
•
Hard
Ahmed Gulam
Used 4+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python used for in programming?
Graphic design
Web development
Scientific research
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a variable in Python?
"Hello"
10
x
print()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you assign a value to a variable in Python?
variable = value
value = variable
assign(variable, value)
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print() function do in Python?
Perform mathematical operations
Define variables
Capture user input
Display output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to print the phrase "Hello, World!" in Python?
print("Hello, World!")
print(Hello, World!)
display("Hello, World!")
show "Hello, World!"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you capture user input in Python?
scan()
get_input()
input()
user()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the result of the input() function in Python?
Integer
String
Float
Boolean
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Introduction to Python

Quiz
•
KG - University
25 questions
Understanding Input, Selection and Loops in Python

Quiz
•
7th Grade - University
21 questions
Grade 7

Quiz
•
7th - 8th Grade
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
Python list, if

Quiz
•
6th - 12th Grade
22 questions
Introduction to Python Programming

Quiz
•
7th Grade
20 questions
Python First Steps Homework Quiz

Quiz
•
7th - 9th Grade
20 questions
Y8 Python

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

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

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade