
48. Programming 1 : Intro to Subroutines
Authored by Andy Workman
Computers
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
15 questions
Parcial - Módulo IV
Quiz
•
1st Grade - University
10 questions
QUIZ 2 KLS 9
Quiz
•
9th Grade
15 questions
Getting Started With PowerPoint
Quiz
•
9th Grade
10 questions
Tipos de bases de datos
Quiz
•
10th Grade - University
13 questions
EXAMEN-2°AÑO-INFORMATICA P3-2021
Quiz
•
1st - 9th Grade
10 questions
Hệ Điều Hành Của Máy Tính
Quiz
•
10th Grade - University
10 questions
SISTEM KOMPUTER KLS 9
Quiz
•
9th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade