Skip to main content

Posts

Showing posts with the label OperatingSystem

Operating System

The Operating System is system software that acts as an interface between the user and hardware, such as the CPU, memory, and I/P devices. It manages and controls the execution of programs or processes by allocating resources. It acts as the computer's backbone, allowing both software and hardware components to work together efficiently. Diagram of Operating System Diagram of Operating System To better understand the purpose of an operating system, consider how users and other applications interact with different hardware in a computer system. This diagram shows the user interacting with the system and application software, which then interacts with the operating system. The operating system then communicates with the hardware, managing resources and enabling task execution. Consequently, each component transmits and receives information in two-way transactions during the conversation. Types of Operating System Operating systems come in various types, each designed to cater to spec...

CPU Scheduling

CPU Scheduling is a crucial aspect of operating systems that determines how the CPU is allocated to different processes. Additionally, it involves efficiently managing tasks and determining the order in which the CPU executes them. Types of CPU Scheduling Operating systems consider CPU scheduling as an essential aspect. Furthermore, they categorize it into two main types: preemptive and non-preemptive scheduling. Both have their advantages and disadvantages, and the choice between them depends on the specific requirements of the system. 1) Preemptive CPU Scheduling Preemptive CPU scheduling is one of the types of CPU scheduling techniques used in operating systems. It allows the operating system to interrupt a running process and allocate the CPU to another process with higher priority. It ensures that the CPU can preempt a process and execute the most important process first on it. Real-time systems, where tasks have strict deadlines and require timely execution, particularly benefit...