
GCSE Computing - Subprograms
Authored by Jon Bridgeman
Computers
9th - 10th Grade
Used 156+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
10 questions
Validación de Datos
Quiz
•
10th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Tin học 9 Bài 7: Phần mềm trình chiếu
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade