subprogram
subprogram - noun
a set sequence of steps, part of larger computer program
subprogram - thesaurus
function
procedure
routine
subroutine