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
20 questions
Python turtle year 8 assessment

Quiz
•
7th - 9th Grade
20 questions
GCSE Computer Science: Programming (Data Structures)

Quiz
•
9th - 10th Grade
19 questions
Programming Recap

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

Quiz
•
9th - 11th Grade
20 questions
Python Next Steps Homework Quiz

Quiz
•
8th - 10th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
21 questions
CSS Basics

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

Quiz
•
9th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade