Basic Intuition on Operating System

For Complete YouTube Video: Click Here

This class will try to have Basic Intuition on Operating System.

The prerequisite for this course is computer organization.

The complete course in computer organization is available for free.

Basic Intuition on Operating System

To understand the basic intuition on operating system, we will consider the image below.

In the above image, we have three main components of the computer Hard disk (Secondary Memory), RAM ( Main Memory or Primary Memory), and CPU with general-purpose registers.

How does a program get executed on a computer?

Whenever we want to execute a program, the program stored on the hard disk will get shifted from the hard disk to RAM.

After transferring the program to RAM, the instructions in the program will get shifted to the CPU.

Instruction by instruction, the program’s instructions will be transferred to the CPU.

The CPU uses general-purpose registers to execute the instructions.

We have already discussed the execution of instructions in the computer organization course.

What is the role of the operating system?

The operating system’s role is to shift the program from the hard disk to the RAM and from the RAM to the CPU.

The above discussion is to have a basic intuition on operating system.