IT - Ch# 2 & 3

Embed Size (px)

Citation preview

  • 7/29/2019 IT - Ch# 2 & 3

    1/18

    By:RahmaAlhajri

    I.TChapter #2 & #3

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    2/18

    Operating System

    Operating System: a Master Set of programs whichperform certain functions/operations.

    e.g. O.S depends upon the nature & configuration ofcomputing devices.

    { Macintosh, Windows, Cos, Unicos, Linux, Unix ..etc}

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    3/18

    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.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    4/18

    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 memorytakes place. {KERNAL}=Main component of O.S

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    5/18

    2. User Interface

    User interactive medium through which usercommunicate with O.S

    Main Types:1. Command driven interface.

    2. Menu driven interface.3. Graphical User interface. (GUI)

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    6/18

    1) Command driven interface: (main core)

    -User use command to perform any action.

    e.g. C:\>dir\p (command in DOS/ disk operating system)

    --This command is telling the O.S to open all directions page-wise.

    e.g. C:\>copy*.* -- to copy everything in C.

    drive Systemprompt

    command

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    7/18

    2) Menu driven interface:

    -In this type of interface the commands are givenin the form of Menu so that user can choose thecommand for any action.

    e.g.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    8/18

    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)

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    9/18

    KERNAL:is the main program of O.S which manage allthe processes related to CPU. its a resident program whichstays in M.M.

    =>

    it acts like a traffic police officer which manages & organize the

    process & coordinate with CPU.

    Swapping:The exchanging of data or programs amonghard-disk & Main-memory.

    O.S divides M.M into 2 parts:

    1. Foreground Memory:- contains programs of high-priority.

    2.Background Memory:- contains programs of less-priority.

    3. Memory Management

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    10/18

    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 amemory known as buffer in a queue, Thisprocess is known as Spooling

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    11/18

    5. Input & Output

    management

    All the input & output devices are managed byoperating system, some operating system useplug & play routine for installing new devices.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    12/18

    Task ManagementUser can perform many tasks at the same time, O.S handles thesetasks 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 oneprogram at the same time on one CPU.its event driven, where interrupt is generated by, for the event & cpu returns tothe program.

    3.Time Sharing: one or more than one user perform one or more than oneprogram 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 morethan one program. -The program is split into Chunks & CPUs are processing these chunks separately.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    13/18

    What is the difference between:

    1. Main-Memory 2. Secondary-Memory 3. Register

    e.g. RAM

    on Motherboard

    e.g. Hard-disk, CD

    on Separate Memory

    e.g. Cache Memory

    located on cpu chip

    Volatile Non-Volatile Volatile

    Size: Bigger Size: Biggest Size: Smaller

    Faster Fast Fastest

    Expensive Less Expensive Most Expensive

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    14/18

    Networking

    A communication system between computingdevices 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.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    15/18

    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.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    16/18

    Networking

    Medium of Transmission:

    1) Twisted pair. e.g Phone Wire. -The copper wires are twisted among each other make it flexible for

    transmission as which is used for phone lines.

    2) Coaxial cable. e.g cable used for satellite T.V cable.-The hard copper wire mazed over the strips of wires, the middle

    hard wire is detected for video & the wire is detected for sound.And the wires around it is used for video.

    3) Fiber optic.-Its thin like a human hair & hollow from the middle, the inside

    inner layer is mirrored, so that the light is reflected to the other end.It is the Fastest medium of transmission.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    17/18

    Networking

    4) Microwave/ Frequency wave transmission (Wireless medium).e.g Wifi, bluetooth, infrared, wireless phones.

    -The data is travelled in a form of frequency wave from one end tothe other without using any wire.

    5) Satellite transmission.-The communication among countries take place through

    satellites, the data is transmitted to the satellite in the skies & direct

    that data to another particular place, its used for long distances.

    Monday, December 3, 12

  • 7/29/2019 IT - Ch# 2 & 3

    18/18

    Protocols

    The Rules regulation through which nodes in anetwork communicates.

    e.g. TCP (Transmission Control Protocol)IP (Internet Protocol)

    These are the protocols used for access/communicating on internet.