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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
20 questions
computer and technology quiz
Quiz
•
7th - 12th Grade
20 questions
komputer jaringan
Quiz
•
7th Grade
20 questions
ASK T3 : 1.1 Pembangunan Aturcara
Quiz
•
1st - 12th Grade
20 questions
[RB3-Ch3] Working with Spreadsheet
Quiz
•
6th - 8th Grade
20 questions
Informatika Kelas 7
Quiz
•
7th Grade
20 questions
Yr 8.1 Spreadsheet/Excel Models
Quiz
•
6th - 8th Grade
20 questions
Part of a Computer Quiz
Quiz
•
7th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
