CST 334 - Module 2
Week 2 This week's topic is more centered around the idea of processes, which is essentially a program that is running instead of sitting in storage. However, it doesn't end there. The OS sets an environment and tools for the user program to use (also known as context). Additionally, if the pc runs multiple programs at once, the OS must be able to run them all at the same time (i.e. run one program for a time, then stop it, switch to the next program, and so on) all without forgetting each programs data/instruction. Remember, time is important when trying to complete many tasks. There are many ways the programs can share the CPU, first in last out, round robin, shortest job first, etc. These are essentially ways the scheduler can assign which order of process to run, resulting in faster response times or turnaround time (time = process finished - process arrived). But this is started to get more into scheduling than processes so let's take a step back. The process is comp...