Python Basics Quiz: Test Your Coding Knowledge!
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Garfield Graham
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Python?
A type of snake
A powerful coding language
A video game
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can you NOT do with Python?
What can you NOT do with Python?
Create websites and apps
Control robots and drones
Build a time machine
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a data type in Python?
Integer
String
Function
List
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do? age = 18
Prints the number 18
Stores the number 18 as an integer variable named "age"
Defines a function named "age"
creates a loop that runs 18 times
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you print the text "Hello, world!" to the screen in Python?
print("Hello") + print("world!")
display("Hello, world!")
echo("Hello, world!")
print("Hello, world!")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly calculates the area of a rectangle with width 5 and height 3?
Which of the following correctly calculates the area of a rectangle with width 5 and height 3?
width + height
width * height
width / height
(width + height) / 2
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
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
Java Print Statements Warm-Up
Quiz
•
9th - 12th Grade
11 questions
HTML Unit Quiz
Quiz
•
9th - 12th Grade
10 questions
Year 8 Networks
Quiz
•
6th - 9th Grade
10 questions
Kisi-kisi UTS
Quiz
•
9th - 12th Grade
10 questions
Shortcuts
Quiz
•
5th - 10th Grade
10 questions
UTK - test
Quiz
•
KG - University
10 questions
Cutting - Edge Technology
Quiz
•
7th - 10th 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
