Explain the steps involved in the execution of a program?

Asked 12-May-2022
Viewed 481 times

1 Answer


0

  • The following steps are involved in programme execution:
  • Fetch: An order is provided to the control unit.
  • Decode: After that, the control unit decodes the newly received command.
  • Execute: During the execution, the Control unit first instructs the appropriate piece of hardware to act. Once this is discovered, control is passed to the hardware. The assignment has now been completed.
  • Save: After the task is successfully saved, the end result is saved.
  • When the cycle is over, the Control unit takes over control.


Read More: Which is the fastest kind of memory for the CPU to access?