T
Chapter #2
By: R ahm a Alh a jr i
Operating System
Operating System: a Master Set of programs which perform certain functions/operations. e.g. O.S depends upon the nature & configuration of computing devices. { Macintosh, Windows, Cos, Unicos, Linux, Unix ..etc}
Functions of O.S
Functions of Operating System: 1. Booting. 2.User Interface. 3.Memory Management. 4.Resource Management. 5.Input/Output Management. 6.Task Management.
1. Booting
.It refers to Starting of Computer Booting: is Loading of operating system into Mainmemory. {From Hard-disk into RAM}. its done by 2 processes: 1.Diagnostic Routine. -In this routine the devices/memory are checked for errors. 2.Boot Strapping. -After D.R the loading of operating system into memory takes place. {KERNAL}=Main component of O.S
2. User Interface
User interactive medium through which user communicate with O.S Main Types: 1. Command driven interface. 2. Menu driven interface. 3. Graphical User interface. (GUI)
1) Command driven interface: (main core) -User use command to perform any action.
e.g. C:\>dir\p (command in DOS/ disk operating system)
drive System prompt command
2) Menu driven interface: -In this type of interface the commands are given in the form of Menu so that user can choose the command for any action.
e.g.
3) GUI :
Desktop. (main screen in rectangular form having graphics/colors, icons..etc) Icons. (pictorial form of any command) Menus. (List of commands) Colors. Graphics. Animation User Friendly. (Easy to use)
Sunday, November 25, 12
3. Memory Management
KERNAL: is the main program of O.S which manage all the processes related to CPU. its a resident program which stays in M.M.
=> it acts like a traffic police officer which manages & organize the process & coordinate with CPU.
4. Resource Management
The operating system manages all the internal & external resources of computer. e.g. Spooling: it refers to printing. -if there is a printer on a network & many users want to print, all the requests will be stored in a memory known as buffer in a queue, This process is known as Spooling
All the input & output devices are managed by operating system, some operating system use plug & play routine for installing new devices.
Task Management
User can perform many tasks at the same time, O.S handles these tasks by certain methodologies. i.e.:
1.Multi Tasking: one user can perform many tasks on one CPU at the same time. 2.Multi programing: one or more than one user perform one or more than one program at the same time on one CPU. its event driven, where interrupt is generated by, for the event & cpu returns to the program. 3.Time Sharing: one or more than one user perform one or more than one program at the same time on one CPU. its Time driven, where all programs are given time-slice.
(its used for tele-communication servers)
4.Multi Processing: one or more than one user use many cpus for one or more than one program. -The program is split into Chunks & CPUs are processing these chunks separately.
2. Secondary-Memory
e.g. Hard-disk, CD
on Separate Memory
Net working
A communication system between computing devices in order to share data & resources.
Types of Networks: 1) LAN. (Local Area Network). -can be among several devices in the same place. 2) MAN. (Metropolitan Area Network). -Among computing devices within a city. 3) WAN. (Wide Area Network). -A network of networks globally. e.g. internet.
Modes of Transmission
1. Simplex.
-Sender sends data & Receiver receives data only.
-e.g. { T.V & Radio }.
2. Half-duplex.
-Sender sends data & Receiver receives data, also & receiver can send the data & Sender can receive the data. But one at a time. -e.g. { Walke-Talke & Fax }
3. Full-duplex.
-Sender can send & receive data, Receiver can also send & receive data. Both at the same time.