Professional Documents
Culture Documents
Operating System
Dr. Anita Goel
University of Delhi
Contents
Objectives of OS
Types of OS
Functions of OS
Process Management: CPU scheduling, CPU scheduling
algorithms, process synchronization, deadlock
Memory Management: Multiple Partition Allocation,
Paging, Virtual Memory
File management
Device management : I/O services
Protection and Security
User Interface
Examples of OS: MS-DOS, Windows, Linux
Computer Fundamentals by Dr. Anita Goel Chapter-7: Operating System 2
Objectives of OS
Software that provides interface between computer
hardware, application programs and users
Hides working of hardware from user; makes it
convenient for user to use machine
User gives commands to perform the required actions
OS handles all operational steps
Supervises and manages hardware of computer
Uses hardware efficiently, handles details of
operations
Controls and coordinates use of hardware among
different application software and users
E.g. MS-DOS, Windows 7, Linux, UNIX, Mac OS X
Snow Leopard
Computer Fundamentals by Dr. Anita Goel Chapter-7: Operating System 3
Types of OS
Single user and single task
Used by single user for standalone computer, for
single task Which OS
runs in your
E.g. MS-DOS mobile
phone?
Single user and Multitasking
Allows execution of more than one task or process
concurrently. Uses time sharing
E.g. Windows 95 and later versions of Windows
Multiuser
Allows same data and applications to be accessed by
multiple users at same time
E.g. Linux, UNIX, Windows 7
Computer Fundamentals by Dr. Anita Goel Chapter-7: Operating System 4
Types of OS (contd..)
Multiprocessing
Have two or more processors for single running
process. Use parallel processing
E.g. Linux, UNIX, Windows 7
Real time
respond to event within predetermined time. Used to
control processes
E.g. LynxOS
Embedded
Embedded in device in ROM. Device specific. Used in
appliances like microwaves, washing machines etc.
User Interface
Process Protection
Management and Security
OS
Memory Device
Management Management
File
Management
Deadlock prevention
At least one necessary condition does not hold true
Deadlock avoidance
requires OS be given information in advance regarding
resources process will request & use