Академический Документы
Профессиональный Документы
Культура Документы
Contents
• Objectives of OS
• Types of OS
• Functions of OS
• Process Management
• Memory Management
• File management
• Device management : I/O services
• Protection and Security
• User Interface
• Examples of OS: MS-DOS, Windows, Linux
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 8, Linux, UNIX, Mac OS X Snow
Leopard
3
Which OS
Types of OS runs in your
mobile
phone?
Single user and single task
Used by single user for standalone computer, for single task
E.g. MS-DOS
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
Allowssame data and applications to be accessed by multiple users
at same time
E.g. Linux, UNIX, Windows 7
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.
5
Can you
recognise
these
Logos?
6
Can you name
the devices
which use
Android?
MAC OS
Mac Snow
Leopard
7
Functions of OS
User Interface
OS
Memory Device
Management Management
File
Management
8
Process Management
Process - Program in state of execution. Unit of work for OS. Can be
created, executed, stopped.
Handles resource allocation to processes efficiently
States changes during execution
New • A new state when process is created
1
0
Virtual Memory
Needed because: for some applications, large memory
is required to run applications & whole program
cannot be loaded into memory
Allows execution of processes not completely in
memory
Implemented by demand paging (paging with
swapping)
Processes reside in on-line secondary memory. When a
page is required, it is swapped-in into memory
Swapping: transferring of block of data from on-line
secondary storage to memory and vice versa
1
1
File Management
Handles file system. Two parts: files & directory
structure
File: collection of related information
Smallest named unit written to secondary storage device
Attributes: name, location, size, type, time, date etc.
Access: sequential access and direct access
Directory structure
Storesfile information on secondary storage
Contains name, location, size, type of all files
System calls: interface between process and OS
Operations on directory: search, create, delete and
rename file, list directory, traverse file system
1
2
Device Management
Manages and controls devices attached to computer
Handles devices by both hardware and software
techniques
I/O hardware: Ports, buses, device controllers for devices
Software:Device driver. OS communicates with I/O
hardware via device driver of device
Device Controller
Operates port, bus, device. Bridge between device and
OS
Complexity of handling devices is abstracted and hidden
in device drivers of device
1
3
Protection and Security
Protection mechanism: Access of programs,
processes, users to resources defined by computer
Ensures resources used in consistent way
Security mechanism: prevents unauthorized access to
computer. Includes, security of software, security of
data and security of computer’s physical resources
In PC, security ensured using
User accounts, user authentication, access rights
Data encryption, data backup
Common security threats due to hacking, viruses etc.
1
4
User Interface
Four kinds of interfaces:
1. CLI: User interacts with OS
in form of text keyed in
from keyboard
E.g. MS-DOS and Linux
shell
2. Menu Driven Interface
1
5
Examples of OS
MS-DOS
Windows family of operating systems
Unix OS
Linux OS
Mac OS X
1
6
MS-DOS
First widely-installed OS for PCs
Easy to load and install
Neither requires much memory nor a very powerful
computer to run on
CLI user interface
Single-user and single-tasking OS for PC
16-bit OS - can send or receive 16 bits of data at a time
and can process 16 bits of data
User must know where programs and data are stored
and how to interact with it
1
7
Windows Family of OS
Personal computer OS from Microsoft
Includes: Windows 9x family (Windows 95, Windows
98, Windows 2000), Windows XP, Windows Vista,
Windows 8
GUI-based OS
Support multi-tasking
Contains built-in networking; allows users to share
files and applications with each other when connected
to network
Windows 8 comes in three editions: Windows 8,
Windows 8 Pro, Windows 8 Enterprise
1
8
Linux OS
Unix-like OS. Developed by Linus Torvalds
User interface called shell
Kernel : interface for programs to interact with hardware. Provides
services like process management
Shell interacts with kernel through system calls
Free OS. Copyright under GNU Public License. Constantly
upgraded by programmers
CLI interface.
Multi-tasking, reliable, secure OS
Linux with add-on features and capabilities
Redhat Linux ver.9, Mandrake, Debian (Ubuntu, Kubuntu, Edubuntu),
Novell
1
9
Thank You!
2
0