The definition of a subprogram is...
GCSE Computing - Subprograms

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
Jon Bridgeman
Used 151+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program which returns a value at the end
A piece of code that repeats
A program within a program
A program that allows data to be both input and output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The program shown here runs, with the user typing in "5" as their guess. What happens next?
Nothing
The computer prints "Well Done" if they guess right
The computer prints "Bad Luck!" if they guess wrong
A syntax error is generated
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct term for word shown in brackets?
Argument
Function
Variable
Parameter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct term for the word in brackets shown in line 12?
Argument
Function
Variable
Parameter
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about the program shown here, is true?
This program uses a subroutine
This program uses a function
This program uses parameters
This program uses arguments
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output of this program be, if the user enters a 6 when the program is run?
12
8
24
14
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following ARE advantages of using subprograms?
(Select all that apply)
They make code easier to read
They make code easier to debug
Reduces duplicate code within a program
Allows code to be "reused" by different programmers
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Subroutines

Quiz
•
9th - 11th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
15 questions
Pseudocode

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

Quiz
•
9th - 10th Grade
10 questions
Python Boolean and If

Quiz
•
9th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

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

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University