
Y10 subroutine
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
David Kang
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a subroutine in programming?
To define a variable
To repeat a set of statements indefinitely
to perform a specific task with an identifiable name
To terminate the program
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The values passed into a subroutine are called _______.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A subroutine is executed as soon as it is defined in the program.
True
False
4.
MATCH QUESTION
1 min • 1 pt
Match the terms to their definitions:
Values passed into a subroutine
Decomposition
Transfers program control to subroutine
Parameters
Breaking problems into smaller parts
Arguments
Values a subroutine receives
Control Flow
5.
REORDER QUESTION
1 min • 1 pt
Arrange the steps in the execution of a subroutine in order:
Call the subroutine
Define the subroutine
Return control to the main program
Execute the subroutine code
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Explain one advantage of using subroutines in a program.
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the code snippet:
What will the output be?
3 + 7
10
add(3, 7)
Error
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
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
10 questions
media transmisyjne
Quiz
•
9th Grade
15 questions
Databases
Quiz
•
11th Grade
10 questions
Programação Front End - CSS avançado
Quiz
•
11th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
