
Python Quiz
Authored by Heidi Holland
Instructional Technology
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
15 questions
Avaliação2 - 1ºano 2ºtri
Quiz
•
10th Grade
15 questions
PEC's
Quiz
•
9th - 10th Grade
20 questions
1 er parcial de Aplicaciones computacionales web y móviles
Quiz
•
10th Grade
18 questions
U1 Parte 4
Quiz
•
10th Grade
15 questions
Digital Citizenship
Quiz
•
5th - 12th Grade
16 questions
¿Qué tan conect@dos estamos?
Quiz
•
10th Grade
20 questions
MOODLE LMS
Quiz
•
10th Grade - Professi...
15 questions
PEOPLE MEDIA_SOCRATES
Quiz
•
7th Grade - University
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 Instructional Technology
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade