Sitemap

Program Execution Phases

Feb 5, 2023

--

Three main phases of program execution:

    Get Hadi’s stories in your inbox

    Join Medium for free to get updates from this writer.

  1. Initialization: The program starts and memory is allocated for the variables, objects, and data structures used by the program.
  2. Processing: The program performs its intended functions, manipulates data, and interacts with the user or other systems.
  3. Termination: The program finishes its execution and frees up memory. This may involve closing files, releasing resources, and returning results.

--

--

Hadi
Hadi

Written by Hadi

Software engineering student skilled in Python. Passionate about AI/ML and determined to make a positive impact in tech.