Reverse Python quiz

Quiz
•
Computers
•
8th - 9th Grade
•
Hard
Anna Król-Lewczuk
Used 10+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0.
What is a variable?
What will this line introduce?
def something(value):
If you’re counting in Python, what number do you start with?
What does it mean if your Python interpreter gives you a ‘syntax error’?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It will display the value of the ‘something’ variable.
What will this line do?
something = input(‘Why did the chicken cross the road?’)
What is a subroutine (function) in programming?
What does it mean if your Python interpreter gives you a ‘syntax error’?
What will this line do?
print(something)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s a set of instructions within a program to carry out a specific task.
What is selection in programming?
What is a variable?
What is a subroutine (function) in programming?
What is iteration in programming?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s a named list that can contain values.
What is iteration in programming?
What is selection in programming?
What is a variable?
What is an array in Python?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s a set of instructions designed to be repeated a number of times.
What is iteration in programming?
What is selection in programming?
What is an array in Python?
What will this line do?
print(‘something’)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It’s a named space reserved in a program that can store a value.
What is an array in Python?
What is selection in programming?
What is a variable?
What will this line introduce?
def something(value):
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It will define a subroutine (function) called ‘something’.
What will this line do?
something = input(‘Why did the chicken cross the road?’)
What will this line do?
print(‘something’)
What will this line introduce?
def something(value):
Why does a value returning function need the ‘return’ statement?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
AQA GCSE Computer Science - 3.2.11 Structured programming

Quiz
•
8th - 10th Grade
24 questions
Variables

Quiz
•
9th Grade
16 questions
Quizz

Quiz
•
1st - 12th Grade
21 questions
Programming - Python (year 12)

Quiz
•
9th - 12th Grade
16 questions
Hardware and Software

Quiz
•
8th Grade
18 questions
Coding Terminology

Quiz
•
3rd - 12th Grade
17 questions
Year 8 Python EOT 3 test

Quiz
•
8th Grade
17 questions
Programming Languages

Quiz
•
9th - 12th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade