
Understanding Subprograms and Subroutines

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Mrs Milliner
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
2.2.1 Variables and Functions

Quiz
•
12th Grade
10 questions
Programming Concepts: Subroutines

Quiz
•
10th Grade
8 questions
Python functions and procedures

Quiz
•
10th - 11th Grade
10 questions
Understanding Decomposition in Computing

Quiz
•
10th Grade - University
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
15 questions
09-Subroutines-GCSE-Python

Quiz
•
11th Grade
10 questions
Higher SDD - Subroutines

Quiz
•
10th Grade
10 questions
48. Programming 1 : Intro to Subroutines

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade