



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




An Operating System (OS) is system software that serves as an interface between the user and the computer hardware. It manages hardware and software resources, provides a user interface, and allows execution of programs. Examples: Windows, Linux, Android, macOS
Batch OS: Executes batches of jobs with minimal user interaction. Time-Sharing OS: Allows multiple users to access the system simultaneously. Distributed OS: Manages multiple systems connected in a network. Real-Time OS: Used in embedded systems with strict timing. Network OS: Enables resource sharing over a network.
A process is a running instance of a program. Process States: New - > Ready - > Running - > Waiting - > Terminated Scheduling Algorithms:
An Operating System is made up of several core components, each with a specific role:
Q1. What is an Operating System? Ans : A system software that manages hardware resources and provides services to software. Q2. Name four types of OS. Ans : Batch OS, Time-Sharing OS, Real-Time OS, Distributed OS.
Q3. What is Virtual Memory? Ans : A memory management technique that uses part of the hard drive as RAM. Q4. What are the states of a process? Ans : New, Ready, Running, Waiting, Terminated. Q5. Explain Banker's Algorithm. Ans : A deadlock avoidance algorithm that checks safe resource allocation before executing a process. Q6. What is a Kernel? Ans: The kernel is the core part of the OS that manages system resources like CPU, memory, and devices. It operates in a privileged mode and communicates between hardware and software. Q 7. What is the function of Device Management in an OS? Ans: It controls all input/output devices through drivers, managing communication between devices and system components. Q 8. What is a deadlock, and how can it be avoided? Ans: