Quiz Complete, well Done!
What is the main benefit of using subprograms?
Readability
The
statement is used to return a value from a subprogram.
Testing
Modularity
A well-designed subprogram can allow for easier
since each part can be tested independently.
Efficiency
Return statement
The inputs given to a subprogram are called
.
The code inside a subprogram is executed when it is
.
Subprograms can help reduce code
, making programs easier to maintain.
What is a subprogram?
What is the main purpose of using subprograms?
What is a subroutine?
A subprogram is also known as a
.
Subprogram
Which of the following is true about subprograms?
The process of calling a subprogram is known as
.
What is the advantage of using subprograms?