web analytics

Operating System Concepts

C++ Program (Source Code) for Priority Scheduling CPU Scheduling Algorithm

Priority Scheduling: In operating systems, tasks that are queued to be processed go through different scheduling algorithms in different operating systems. Priority Scheduling is one of them. Priority scheduling is like shortest job first except that the next job to process is selected not by the amount of time it will take, but by the …

C++ Program (Source Code) for Priority Scheduling CPU Scheduling Algorithm Read More »

C++ Program (Source Code) for Round Robin (RR) CPU Scheduling Algorithm

Round Robin (RR): In operating systems, tasks that are queued to be processed go through different scheduling algorithms in different operating systems. Round Robing or RR is one of them. In round robin, like first come first served, the job or task that comes first, gets processed first, but not fully. Rather in round robin, …

C++ Program (Source Code) for Round Robin (RR) CPU Scheduling Algorithm Read More »

C++ Program (Source Code) for Preemptive Shortest Job First (SJF) CPU Scheduling Algorithm

Shortest Job First: In operating systems, tasks that are queued to be processed go through different scheduling algorithms in different operating systems. Shortest Job First or SJF is one of them. In shortest job first, literary, the smallest task among all the remaining tasks will get processed first. However, I explained Shortest Job First (SJF) …

C++ Program (Source Code) for Preemptive Shortest Job First (SJF) CPU Scheduling Algorithm Read More »

C++ Program (Source Code) for First Come First Served (FCFS) CPU Scheduling Algorithm

First Come First Served (FCFS):  In operating systems, tasks that are queued to be processed go through different scheduling algorithms in different operating systems. First Come First Served or FCFS is one of them. In first come first served, literary, the task that comes first to be processed gets processed first, then the next one …

C++ Program (Source Code) for First Come First Served (FCFS) CPU Scheduling Algorithm Read More »

3 Differences between time sharing and real time systems

Q. What are time sharing and real time systems? What are the differences between time sharing and real time systems? Time-Sharing Systems: Time sharing operating systems are extension of multi-programmed batched operating system and the extension is that here the user can interact with the program running. The CPU scheduling algorithm and allocate small amount …

3 Differences between time sharing and real time systems Read More »

2 differences between time sharing and multi-programmed batched systems?

Q. What are time sharing and multi-programmed batched systems? What are the differences between time sharing and multi-programmed batched systems? Time-Sharing Systems: Time sharing operating systems are extension of multi-programmed batched operating system and the extension is that here the user can interact with the program running. The CPU scheduling algorithm and allocate small amount …

2 differences between time sharing and multi-programmed batched systems? Read More »

2 Differences between parallel and multi-programmed batched systems

Q. What are parallel and multi-programmed batched systems? What are the differences between parallel and multi-programmed batched systems? Multi-programmed Batched Systems: In multi-programmed batched operating systems, the operating system reads jobs from disk drives where a list of jobs are already being stored through card readers. The operating system then pull and store as much …

2 Differences between parallel and multi-programmed batched systems Read More »

4 Differences between simple batch and multi-programmed batched operating systems

Q. What are simple batch and multi-programmed batched operating systems? What are differences between simple batch and multi-programmed batched operating systems? Simple Batch Systems: Early computers used to take one job at a time, no input in the middle of the process and also no output either. The jobs were prepared commands for the computer to …

4 Differences between simple batch and multi-programmed batched operating systems Read More »

5 Key Functions of Operating System

Q. What are the functions of operating system? Functions of Operating Systems:  Operating system’s size, organization and scope of operating vastly depends on the size, organization and use of various computer system. Obviously not all operating systems can be used on all systems. Functions of an operating system are always targeted to meet the needs. …

5 Key Functions of Operating System Read More »

What are the conditions for deadlock situation to occur?

Deadlock In a system, deadlock situations are moments when processes never finish executing and system resources are tied up, which ultimately prevents other processes from ever starting. Dead lock situations are obviously undesirable, however they occur in systems while the following conditions take place simultaneously. These conditions are not completely independent, that is, all four …

What are the conditions for deadlock situation to occur? Read More »

RSS
Follow by Email
Scroll to Top