
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
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
10 questions
Quiz Informatica Jornadas Orientación Asunción
Quiz
•
12th Grade - University
10 questions
10mo Evaluación
Quiz
•
10th Grade
15 questions
Databases
Quiz
•
11th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
10 questions
Espacio Opcional 3er Año Pío XII
Quiz
•
10th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th 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
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