noun
- a self-contained section of code within a larger computer program that performs a specific task
Usage: computing
Examples
- The programmer wrote a subprogram to calculate the square root.
- Each subprogram can be called multiple times from the main program.
- The sorting subprogram made the code more organized and reusable.
- She debugged the subprogram that handles user input validation.
- The graphics subprogram renders all the visual elements on screen.
- Breaking the project into subprograms made it easier to test each part.