
Higher SDD - Subroutines
Authored by Mr Fox
Computers
10th Grade
Used 20+ times

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 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
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
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
11 questions
Access
Quiz
•
10th Grade - University
10 questions
Emerging technologies
Quiz
•
6th Grade - University
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
9 questions
Internet Protocols
Quiz
•
10th - 11th Grade
10 questions
Go Beyond the Sales LAP Quiz
Quiz
•
9th - 12th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade