0% found this document useful (0 votes)
6 views3 pages

Unit1 Operating System Notes

An Operating System (OS) is system software that serves as an intermediary between users and computer hardware, managing resources and providing an efficient environment for program execution. Key functions of an OS include process, memory, file, device management, security, user interface, and networking, with various types such as batch, multiprogramming, and real-time systems. The OS architecture can be monolithic, layered, microkernel, or modular, and it utilizes system calls for programs to request services.

Uploaded by

shital
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Unit1 Operating System Notes

An Operating System (OS) is system software that serves as an intermediary between users and computer hardware, managing resources and providing an efficient environment for program execution. Key functions of an OS include process, memory, file, device management, security, user interface, and networking, with various types such as batch, multiprogramming, and real-time systems. The OS architecture can be monolithic, layered, microkernel, or modular, and it utilizes system calls for programs to request services.

Uploaded by

shital
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit 1: Operating System Concepts & Functions

1.1 Operating System: Concept


Definition
An Operating System (OS) is a system software that acts as an intermediary between a user and
the computer hardware. It provides a convenient and efficient environment for executing programs
and managing hardware resources.
Without an OS, users would need to communicate directly with hardware in binary machine
language, which is extremely complex and error-prone.

Characteristics of an OS
- Resource Manager: Efficiently manages CPU, memory, I/O devices, and storage.
- Convenience: Provides user-friendly interface via CLI or GUI.
- Efficiency: Ensures optimal use of hardware resources.
- Evolvability: Modern OS can be updated or extended without redesigning the whole system.

Real-World Analogy
Think of an OS as a hotel manager:
- Hotel building = hardware
- Guests = users/programs
- Hotel staff = OS services managing food, cleaning, etc.
Without the manager, guests would need to run the hotel themselves—chaotic and inefficient!

Diagram – OS as an Interface
(User / Apps) → (Operating System) → (Hardware)
■ Summary:
OS = interface between user and hardware. Ensures convenience, efficiency, and resource
management.

1.2 Functions of Operating System


A) Process Management
Definition: A process is a program in execution.
Handles creation, scheduling, execution, and termination of processes.
- Process Creation and Termination
- Process States: New, Ready, Running, Waiting, Terminated
- Scheduling: FCFS, SJF, Priority, Round Robin
- Context Switching
- Inter-Process Communication (IPC)
- Deadlock Handling
■ Advantages: Efficient CPU use, multitasking
■ Disadvantages: Complex, overhead due to context switching

B) Memory Management
Allocates and deallocates memory efficiently.
Techniques:
- Contiguous Allocation
- Paging
- Segmentation
- Virtual Memory
■ Advantages: Efficient RAM use, isolation
■ Disadvantages: Overhead, fragmentation

C) File Management
Organizes, stores, retrieves, and protects data.
Functions: Create, delete, read/write files, directories, access control, backup.

D) Device Management
Controls I/O devices via drivers. Supports buffering, spooling.

E) Security & Protection


Authentication, access control, encryption, firewalls.

F) User Interface (UI)


- CLI: Commands
- GUI: Windows, icons

G) Networking & Communication


Protocols: TCP/IP, FTP, HTTP
Resource sharing: printers, files, Internet

1.3 Types of OS
- Batch OS
- Multiprogramming OS
- Time-Sharing OS
- Real-Time OS
- Distributed OS

1.4 OS Services & Components


Services: Program execution, I/O, file, communication, error detection
Components: Kernel, Shell, File System, Device Drivers

1.5 System Calls


API used by programs to request OS services.

1.6 OS Architecture
- Monolithic
- Layered
- Microkernel
- Modular

Unit 1 Summary
- OS = interface between user & hardware
- Functions: Process, Memory, File, Device Management, Security, UI, Networking
- Types: Batch, Multiprogramming, Time-sharing, Real-time, Distributed
- Services: Program execution, I/O, file, communication, error detection
- System Calls: Interface for programs to request OS services
- Architecture: Monolithic, Layered, Microkernel, Modular

You might also like