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
20 questions
Year 7 Lent

Quiz
•
7th Grade
20 questions
Introduction to Python programming

Quiz
•
6th - 8th Grade
20 questions
Python (The Basics)

Quiz
•
6th - 10th Grade
20 questions
Python_2

Quiz
•
6th - 8th Grade
20 questions
Coding 2 Performance Final

Quiz
•
6th - 8th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
20 questions
Computing Python quiz

Quiz
•
7th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
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