What is a subroutine?
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
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 Quizizz
15 questions
Programming terminology

Quiz
•
9th Grade
15 questions
Subroutine

Quiz
•
10th Grade
10 questions
Understanding Decomposition in Computing

Quiz
•
10th Grade - University
11 questions
2.1.3. Thinking Procedurally

Quiz
•
12th Grade
10 questions
21-22 Algorithms KS3

Quiz
•
9th Grade
13 questions
A words - GCSE Computer Science

Quiz
•
1st - 10th Grade
10 questions
Thinking Ahead

Quiz
•
12th Grade
12 questions
HIGHER Python Subroutines Quiz

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade