A program that is used by other routines to accomplish a particular task is called:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Subroutine
Explanation
A subroutine is, by definition, a self-contained block of code written to perform one specific task and designed to be called (invoked) by other parts of a program whenever that task is needed, which exactly matches the question's description. A microprogram is the lowest-level sequence of micro-instructions implementing a CPU instruction, and a micro-operation is a single register-transfer-level step within one instruction cycle — both belong to the hardware/control-unit level, not to being 'called by other routines'. A plain 'routine' is too generic a term and is not the standard name for a sub-task called by other code. Hence option (iv) Subroutine is correct.More Computer System Architecture questions
- A system bus in which each data item is transferred during a time slice known in advance to both the source and destination units is called:
- The average time required to reach a storage location in memory and obtain its contents is called:
- The interface(s) that provide I/O transfer of data directly to and from the memory unit and a peripheral is/are termed: (A) DMA (Direct Mem…
- Which of the following is/are main memory? (A) Virtual memory (B) Cache memory (C) RAM (D) SSD Choose the correct answer from the options g…
- Which of the following statements is/are NOT CORRECT about NUMA? (A) LOAD and STORE instructions are used to access remote memory. (B) Ther…
- Match List I with List II (basic computer instructions)List I List II (a) SZA (I) Increment M and skip if zero (b) SKI (II) Skip if AC is n…