
Understanding Subprograms and Subroutines
Authored by Mrs Milliner
Computers
10th - 12th Grade
Used 8+ 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 another term for sub-programs?
Subfields
Subsections
Subclasses
Subroutines
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a sub-program or subroutine do?
Creates new variables
Deletes data
Starts the program
Performs a specific task
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How often can sub-programs be used in a program?
Repeatedly
A limited number of times
Twice
Only once
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using sub-routines in programming?
They make programs run faster
They reduce the size of the code
They can be reused
They are only used in large programs
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you define a subroutine called Add in Python ?
def add():
def add()
Def Add()
def Add():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are parameters used for?
To run a subroutine
To define a subroutine
The number of lines of code in a subroutine
To pass data to a subroutine
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Data can be passed out of a subroutine by using the following command
pass
return
export
output
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
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
15 questions
Adivina quien?
Quiz
•
1st - 10th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
15 questions
KD 3.1_Aplikasi Pengolah Angka / Spreadsheet
Quiz
•
10th Grade
10 questions
Microcontroller
Quiz
•
11th Grade - University
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