Provide a general algorithm necessary to set up a real time task and provide function name (There…

Provide a general algorithm necessary to set up a real time task and provide function name (There are multiple steps involved in setting up a real time task).