What is a subprogram?

CT18 Revision

Quiz
•
Computers
•
9th Grade
•
Medium
Dominica-Clemente Cascarino
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A type of Python module
A loop that executes a set of statements
A block of code that runs when it is called
A type of variable used to store data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a parameter?
A type of error within the code
A variable defined within the subprogram
A type of subprogram
A piece of data passed to a subprogram
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array?
A collection of elements that are all numbers
A collection of elements that are all the same data type
A decimal value, such as 25.0
A list that contains another list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you add new items to the end of a list?
list.append()
list.add()
list.get()
list.modify()
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
This piece of code works by searching for the first element in a list that has a specific value and then taking it away.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
for i in range(3):
print(i)
What would this code output?
1, 2, 3
0, 1, 2, 3
0, 1, 2
i
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable defined within a subprogram, that cannot be used outside of it:
Local
Global
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
GCSE Computing - Subprograms

Quiz
•
9th - 10th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th Grade
15 questions
soal sumatif 3 kelas 9

Quiz
•
9th Grade
20 questions
Python turtle year 8 assessment

Quiz
•
7th - 9th Grade
15 questions
10 min test 18

Quiz
•
9th - 12th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
15 questions
GCSE - 2.3 Producing Robust Programs

Quiz
•
9th - 11th Grade
20 questions
SST Yr8 - NCCE - Algorithmic Thinking

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade