Identify the first line of code and last line of code that define the subprogram.
Year 11 Taster - Subprograms Review

Quiz
•
Computers
•
10th Grade
•
Medium
P Bates
Used 3+ times
FREE Resource
7 questions
Show all answers
1.
HOTSPOT QUESTION
1 min • 2 pts
2.
HOTSPOT QUESTION
1 min • 2 pts
Identify the parameters.
3.
HOTSPOT QUESTION
1 min • 2 pts
Identify the arguments.
4.
HOTSPOT QUESTION
1 min • 1 pt
Identify the local variable.
5.
LABELLING QUESTION
1 min • 6 pts
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify which of the following identifiers is NOT a global variable
TotalArea
Area
Length
i
Answer explanation
The identifier 'Area' is not a global variable because it is likely defined within a specific scope, while 'TotalArea', 'Length', and 'i' are typically used as global variables in programming contexts.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The variable i is initialised (created) in line 17 of the program.
Identify the values the variable i will hold while the program is running.
1,2,3
2,4,5
0,1,2
7,6,5
Answer explanation
The variable i starts at 0 and increments by 1 in each iteration. Therefore, while the program runs, i will hold the values 0, 1, and 2 before it stops, making the correct choice 0,1,2.
Similar Resources on Quizizz
10 questions
KS3 GCSE Computer Science (Programming / Python)

Quiz
•
7th - 11th Grade
10 questions
WJEC 1.7 Software Engineering

Quiz
•
9th - 10th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
8 questions
KS3 Year 9 Python Quiz 02

Quiz
•
10th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
10 questions
Python Code Quiz

Quiz
•
10th Grade
10 questions
Python - Operators and Conditional Statement

Quiz
•
3rd - 10th 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
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
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

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

Quiz
•
9th - 12th Grade