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
The definition of a subprogram is...
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 Wayground
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
9 questions
Block Coding

Quiz
•
3rd - 9th Grade
12 questions
Python Programming - Iteration

Quiz
•
9th Grade
15 questions
Coding Pre-quiz

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

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

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade