
Subroutines - Comprehension
Authored by Mark Jones
Computers
9th - 10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a function and a procedure?
Answer explanation
Functions return values; procedures do not.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a benefit of using subroutines in a program?
Answer explanation
Subroutines help with readability, reuse, and maintenance.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about local variables?
Answer explanation
Local variables exist only during subroutine execution.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many parameters are passed into the subroutine giveChange?
Answer explanation
Only the result of the calculation is passed, so 1 parameter.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the subroutine?
Answer explanation
The name of the subroutine is the identifier after 'def'.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this subroutine, which of the following are the parameters?
Answer explanation
Parameters are listed in the subroutine definition.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an argument in the following subroutine call?
Answer explanation
Arguments are the actual values passed to the subroutine.
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
25 questions
After Effects March 18
Quiz
•
9th - 12th Grade
26 questions
Adobe Illustrator Review
Quiz
•
9th - 12th Grade
25 questions
Canva - 8th grade
Quiz
•
8th Grade - University
25 questions
Module 2-4:: Part 1 of 2
Quiz
•
9th - 12th Grade
27 questions
Graphs
Quiz
•
9th - 12th Grade
25 questions
Adobe Illustrator Tool Identification Quiz
Quiz
•
9th - 12th Grade
25 questions
HTML
Quiz
•
9th Grade
25 questions
Computer Grade 10 Satyawati
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade