We'll continue with the topic of operating systems. Previous article on OS can be found at
Operaing Systems- Part 1. Use comments section for queries, clarifications!

Graphical User Interface
Microsoft Disk Operating System (MS DOS)
- Its a non graphical commands line OS.
- It was originally written by Tim Paterson and introduced by MS in 1981.
- DOS has character user interface i.e communication between a computer and the user can be done by using characters.
- Prompt is the place where commands are issued. It looks like C:\> or C:\Windows\>
Processes in OS
- Program Code - text
- Program Counter - contains address of next instruction
- Stack -contains temporary data like return address and local variables
- Heap - contains memory dynamically allocated during run time
- Data Section - contains global variables
Process State
- New - Process is being created.
- Ready - Process is waiting to be assigned to the processor.
- Running - When instructions related to that process are executed by CPU
- Waiting - Process is waiting for a resource to become available or for some event to occur.
- Terminated - Process has finished execution and released resources that it was using.
Process Control Block
- Process State - waiting, ready, running etc.
- Process ID and Parent Process ID.
- CPU Registers - contents of all process-centric registers
- Program Counter. PC holds the address of next instruction to be executed.
- CPU Scheduling Information - priorities and scheduling queue pointers
- Memory Management Information - memory allocated to processes via page tables
- Accounting Information - clock time, time limits, number of accounts.
- I/O Status Information - I/O devices allocated to process and list of open files to be read/written to.
