CPU Scheduling Algorithms Problems With Solutions

FCFS Scheduling Today we will practice problems on different types of CPU Scheduling Algorithms. We will see here that how CPU scheduler uses scheduling algorithms during execution of process. Let’s see. FCFS Example Consider the above set of processes that arrive at time zero. The length of the CPU burst time given in millisecond.Now we calculate the average waiting time, […]

Operating System as a Resource Manager | With Example

An Operating System is a collection of programs and utilities. It acts as an interface between user and computer. It creates the user-friendly environment. Another main operating system function is resource management. The operating system collects all the resources in the network environment and allocates the resources to requesting process in an efficient manner. Operating System Example A user wants […]

Evolution of Operating System

Evolution of Operating System Evolution of OS Evolution of OS since 1950 described in detail in this article. Here we will discuss six main operating system types evaluated over the past 70 years. Evolution of Operating System Serial Processing History of the operating system started in 1950. Before 1950, the programmers directly interact with the hardware there was no operating […]

Architecture of Unix | Design and Main Components with Diagram

Unix Architecture Unix Architecture The architecture of Unix operating system is divided by into four layers. These are the hardware, kernel, system call interface(shell), and application programs/ libraries. The following Unix architecture diagram is showing all the layers. Unix Architecture The Kernel The kernel is a part of the operating system. It interacts directly with the hardware of the computer […]

CPU Scheduling in OS | Scheduler and Dispatcher

CPU Scheduling CPU Scheduling in operating system is a fundamental function, almost all computer resources scheduled before use. The CPU is also one of the primary resources. So, CPU scheduling before use. The Scheduling Algorithms determine how the CPU will be allocated to the process. CPU Scheduling CPU Scheduling in Operating System CPU scheduling in the operating system is the […]

Characteristics of Modern Operating System

Modern Operating System Huge lines of code, a huge number of unnecessary features are not only good characteristics of a modern operating system. There are many features and functions of the operating system discussed below. Object-Oriented Design An object-oriented operating system is an operating system that uses object-oriented design principles. Multi-threading An application or program divided into the number of […]

Scheduling Algorithms in OS

Multilevel Queue Scheduling Scheduling Algorithms decide which of the process in the ready queue is to allocated to the CPU. There are many types of CPU scheduling algorithms. Main algorithms discussed here in detail. Let’s see. Out of these, the algorithm who maximizes the CPU utilization and throughput, and minimizes the turnaround time, waiting time and response time, are the […]

Process and Threads in Operating System

Process and Threads A process divided into a number of smaller tasks; each task is called a thread. A number of threads within a process executed at a time is called multithreading in OS. It divided into four categories described further. Multithreading Models Multithreading in an operating system divided into four categories. One Process, One Thread: In this traditional approach, […]

Threads in Operating System

Process and Threads What is Thread? A process divided into a number of lightweight processes, and each lightweight process is said to be a thread. The thread has a program counter that keeps the tracks of which instruction to execute next. It has registers, which hold current working variables. It has a stack, which contains the execution history. The number […]