
Python Quiz
Quiz
•
Instructional Technology
•
10th Grade
•
Easy
Heidi Holland
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A function that prints text
A way to store information
A type of loop
A way to start a program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to start a loop in Python?
for i to 10
loop i from 1 to 10
for i in range(10)
while i = 10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print function do in Python?
It adds two numbers
It prints a document
It displays text or variables on the screen
It starts a new line
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for comments in Python?
#
@
//
*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to define a function in Python?
function myFunction()
def myFunction:
define myFunction()
def myFunction():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variables can change their values during the execution of a program.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The if statement is used to make decisions in a program.
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Intro to CyberSecurity - Intro to Networking
Quiz
•
9th - 12th Grade
18 questions
LO13 Lesson 6
Quiz
•
10th Grade
16 questions
Intro to Coding Week 4
Quiz
•
9th - 12th Grade
20 questions
Project Management Terms
Quiz
•
9th - 12th Grade
25 questions
PB Week 1 2025
Quiz
•
6th Grade - University
22 questions
Functions in RobotC
Quiz
•
7th - 11th Grade
20 questions
Information Technology Semester Exam
Quiz
•
9th - 12th Grade
20 questions
Quiz
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
6 questions
Rule of Law
Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test
Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month
Quiz
•
KG - 12th Grade
10 questions
Would you rather...
Quiz
•
KG - University
