Python Revision

Quiz
•
Computers
•
10th Grade
•
Hard
Christopher Maguire
Used 6+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of variables in a program?
To store data that can be used and changed later
To make the program run faster
To display output on the screen
To store only numbers
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Identify the variables and their data types in the following Python code: name = "Alice" age = 25 is_student = True
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare and assign a value to a variable in Python? Provide an example.
var x = 10
int x = 10
x = 10
declare x = 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? x = 5 y = "5" print(x + y)
10
55
TypeError
5 + 5
5.
OPEN ENDED QUESTION
3 mins • 1 pt
How can you receive user input in Python? Provide an example.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Explain why variable naming conventions are important in Python.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a program that asks the user for their age and then prints whether they are an adult (18 or older) or a minor.
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
20 questions
Python while loops

Quiz
•
12th Grade
15 questions
Input Commands Quiz

Quiz
•
10th Grade
12 questions
Python Loops

Quiz
•
9th - 11th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
15 questions
Python introduction

Quiz
•
University
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
14 questions
New year 10 Python Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade