routine
US /ruːˈtiːn/
UK /ruːˈtiːn/

1.
2.
a set of instructions that a computer follows to perform a particular task
:
•
The software includes a routine for data backup.
•
The programmer wrote a new routine to handle errors.
a set of instructions that a computer follows to perform a particular task