A program that is used by other routines to accomplish a particular task, is…
2023
A program that is used by other routines to accomplish a particular task, is called :
- A.
Micro program
- B.
Micro operation
- C.
Routine
- D.
Subroutine
Attempted by 88 students.
Show answer & explanation
Correct answer: D
Answer: Subroutine
Definition: A subroutine is a self-contained sequence of instructions that performs a specific task and can be invoked (called) by other routines. Subroutines support code reuse, modularity, and can accept parameters and return values.
Why this is correct: A subroutine is specifically intended to be used by other parts of a program to perform a particular task, matching the wording in the question.
Why the other choices are incorrect: A microprogram is a low-level control program in CPU microarchitecture used to sequence micro-operations, not a general callable program for reuse.
A micro operation is a basic hardware operation (for example, a register transfer), not a program.
A routine is a general term for a sequence of instructions; the more precise term for a callable unit intended to be used by other routines is 'subroutine'.