subprogram
nounUK /ˈsʌbˌprəʊɡræm/
US /ˈsʌbˌproʊɡræm/
A subprogram is a small part of a bigger computer program that does one job.
The programmer wrote a subprogram to add up all the numbers.
RELATED WORDS
OTHER MEANINGS
2. A smaller program that is part of a larger program or system.
The main program calls a subprogram to print the report.
3. A routine that can be used many times in different places in a program.
She saved time by reusing the same subprogram in several projects.
4. A block of code that performs a specific task and returns a result.
The subprogram checks whether the password is correct.