Python Revision

Quiz
•
Computers
•
10th Grade
•
Hard
Christopher Maguire
Used 7+ 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
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
12 questions
Python Loops

Quiz
•
9th - 11th Grade
19 questions
Python Year 9 Quiz

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

Quiz
•
10th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
15 questions
Python Basics Quiz 1

Quiz
•
8th Grade - University
20 questions
AQA GCSE Computer Science - 3.2.11 Structured programming

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade