
Y10 subroutine
Authored by David Kang
Computers
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 a subroutine receives
Parameters
Breaking problems into smaller parts
Control Flow
Transfers program control to subroutine
Decomposition
Values passed into a subroutine
Arguments
5.
REORDER QUESTION
1 min • 1 pt
Arrange the steps in the execution of a subroutine in order:
Execute the subroutine code
Call the subroutine
Define the subroutine
Return control to the main program
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
15 questions
Cyber Security Homework 1
Quiz
•
7th - 9th Grade
10 questions
ICT Java programming workshop
Quiz
•
9th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
15 questions
Excel - basic
Quiz
•
9th Grade
13 questions
Networks
Quiz
•
7th - 9th Grade
10 questions
สอบย่อย ครั้งที่ 1 (BC.2/2)
Quiz
•
11th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade