subroutine

 
Pronunciation: /ˈsʌbruːtiːn/

noun

Computing
  • a set of instructions designed to perform a frequently used operation within a program.