In computer programming, a subroutine is a sequence of program instructions that perform a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed. Subprograms may be defined within programs, or separately in libraries that can be used by multiple programs. In different programmin... Found on http://en.wikipedia.org/wiki/Subroutine
an instruction sequence in a machine or assembly language program that can be prewritten and referred to as often as needed. Cf.(def. 4a). Found on https://www.infoplease.com/dictionary/subroutine