Higher SDD - Subroutines

Quiz
•
Computers
•
10th Grade
•
Medium
Mr Fox
Used 19+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using subroutines in modular programming?
To make the program more complex
To make the program run faster
To increase the size of the program
To organize code into chunks that can be reused
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which subroutine returns a value?
Procedure
Function
Condition
Loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a function in Python?
define
function
func
def
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of formal parameters in subroutines?
They are the identifiers used to stand in for a value that will be passed when the subroutine is called
They are the actual values passed when the subroutine is called
They are the local scope variables
They are the global scope variables
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of using local scope variables in subroutines?
They can be changed accidentally
They are released from memory when no longer needed
They are visible to the entire program
They can interfere with other parts of the program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which subroutine does not return any data?
Condition
Loop
Procedure
Function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a procedure in Python?
def
procedure
function
proc
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Q3 M3 SetB

Quiz
•
10th Grade
15 questions
Flowchart Symbols and Programming Concepts

Quiz
•
10th Grade
10 questions
Arrays Javascript (CodeCademy)

Quiz
•
9th - 12th Grade
7 questions
Computer Science Essentials Vocabulary

Quiz
•
9th - 12th Grade
10 questions
Understanding Programming Constructs

Quiz
•
10th Grade - University
5 questions
Plenary -Subroutines and Functions in Python:

Quiz
•
10th Grade
9 questions
2.1.2 CSE Coding Fundamentals: Dead Reckoning

Quiz
•
9th - 12th Grade
10 questions
02 Algorithms Revision

Quiz
•
9th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade