
Python Programming Quiz
Authored by Hamza Motiyar
Other
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print? print("Hello" + "World")
Hello World
HelloWorld
Hello + World
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to get input from the user?
read("name")
input("Enter name: ")
scan("name")
get("name")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a number like 25?
string
int
bool
float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code? x = 3 if x > 5: print("Big") else: print("Small")
Big
Small
3
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output? for i in range(3): print(i)
1 2 3
0 1 2
0 1 2 3
Error
6.
OPEN ENDED QUESTION
3 mins • Ungraded
What does the input() function do in Python?
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • Ungraded
Write one example of using a while loop.
Evaluate responses using AI:
OFF
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
16 questions
PF 6.02, 6.03, 6.04
Quiz
•
KG - University
15 questions
ENGLISH YEAR 5
Quiz
•
1st - 10th Grade
12 questions
Slumdog Millionaire
Quiz
•
9th - 12th Grade
20 questions
lockdown
Quiz
•
1st - 12th Grade
19 questions
Christmas
Quiz
•
4th - 11th Grade
13 questions
TV show trivia!
Quiz
•
KG - 12th Grade
15 questions
Athletic Training General
Quiz
•
9th - 12th Grade
20 questions
George Washington Carver
Quiz
•
4th - 12th 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
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade