48. Programming 1 : Intro to Subroutines

Passage
•
Computers
•
9th - 12th Grade
•
Hard
Andy Workman
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a subroutine?
A unique type of variable
A block of code with a unique identifiable name
A special kind of loop
A programming language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are subroutines used?
To increase the size of the program
To make the program run faster
To break down a big problem into manageable parts
To make the program more complex
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the benefits of using subroutines?
Makes it easier to code, test, and debug
Makes the code harder to debug
Increases the need to duplicate code
Decreases code reusability
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you identify a subroutine in a program?
By the file size
By the number of lines in the code
By the color of the text
By the use of keywords 'procedure' or 'function'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the typical structure of a program using subroutines?
Main program at the top, subroutines at the bottom
Random placement of subroutines and main program
Subroutines in the middle, main program at the top
Subroutines at the top, main program towards the end
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a subroutine is called in a program?
The program jumps to the subroutine, executes it, then returns
The subroutine is deleted
The program stops
The program skips the subroutine
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a procedure and a function?
A procedure returns a value
There is no difference
A function cannot take parameters
A function should always return a value
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should a subroutine be designed to do?
Perform multiple tasks
Perform one task or action
Connect to the internet
Store data
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does using subroutines affect program development?
Allows different parts to be worked on simultaneously
Slows down development
Makes no difference
Prevents testing until completion
Similar Resources on Wayground
13 questions
9G4 CS Python Programming Sequence and Vocabs

Quiz
•
9th Grade
10 questions
12_CS_EM_U1_C1_FUNCTION

Quiz
•
12th Grade
8 questions
Functions

Quiz
•
10th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
10 questions
Flowchart

Quiz
•
1st - 9th Grade
10 questions
SLR 9 - Advanced Programming Techniques - Part Two

Quiz
•
10th Grade
13 questions
S:R3 Structured Approach to Program Design and Construction Quiz

Quiz
•
11th Grade
10 questions
Classification of programming languages

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade