Python Basics Quiz: Test Your Coding Knowledge!

Quiz
•
Computers
•
9th Grade
•
Hard
Garfield Graham
FREE Resource
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?
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?
width + height
width * height
width / height
(width + height) / 2
Similar Resources on Wayground
10 questions
Python file

Quiz
•
1st - 10th Grade
9 questions
Python Programming Basics

Quiz
•
6th - 12th Grade
11 questions
python basics

Quiz
•
9th - 12th Grade
10 questions
Quiz 140 - Comments in Python code

Quiz
•
9th Grade
6 questions
Python 1

Quiz
•
7th - 9th Grade
10 questions
Data structures, operators and variables

Quiz
•
9th - 12th Grade
10 questions
ADV CSS Ex3

Quiz
•
9th - 12th Grade
11 questions
Display, border, ul, ol, li, table, td, th, tr

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade