Posts

Showing posts from June, 2022

Operating System Unit 2

Image
  Que.1 Explain different states of a process with a suitable diagram Ans:-        New This is the state when the process has just been created. It is the initial state in the process life cycle. Ready In the ready state, the process is waiting to be assigned the processor by the short term scheduler, so it can run. This state is immediately after the new state for the process. Ready Suspended The processes in ready suspended state are in secondary memory. They were initially in the ready state in main memory but lack of memory forced them to be suspended and gets placed in the secondary memory. Running The process is said to be in running state when the process instructions are being executed by the processor. This is done once the process is assigned to the processor using the short-term scheduler. Blocked The process is in blocked state if it is waiting for some event to occur. This event may be I/O as the I/O events are executed in the main memory and d...

Operating System Unit 1

Image
Que.1      What is Operating System? explain any one types of operating system Operating System –  Definition:    An operating system is a program that controls the execution of application programs and acts as an interface between the user of a computer and the computer hardware. A more common definition is that the operating system is the one program running at all times on the computer (usually called the kernel), with all else being application programs. Types Of O.S:- 1 Batch Operating System . This type of operating system does not interact with the computer directly. ... 2 Time-Sharing Operating Systems . Each task is given some time to execute so that all the tasks work smoothly.  3 Distributed Operating System .  4 Network Operating System . 5 Real-Time Operating System . Time-Sharing Operating Systems –   Each task is given some time to execute so that all the tasks work smoothly. Each user gets the time of CPU as they use a single ...