4a29DLJ RP Fundamental of Computers

Embed Size (px)

Citation preview

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    1/41

    Operating Systems

    By

    Rajesh Purohit

    Associate Professor, Dept of CSE,

    MBM Engg College, JNV University,

    Jodhpur

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    2/41

    2

    Computer is :

    A Perfect Slave

    No Intelligence

    Only Memory

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    3/41

    3

    Computer: Who Computes

    Computation v/s Calculation

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    4/41

    4

    Example

    5 + 4 X 2 = ?

    18 or 13

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    5/41

    5

    Example Cont

    5 + 8

    = 13

    If do on calculator

    5 + 4 gives 9 * 2 gives 18 i.e. wrong

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    6/41

    6

    Computation

    Arithmetic Calculation and Logical Decision

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    7/41

    Computer

    7

    A computer is a device that accepts input,processes data, and produces an outputaccording to a series of stored instructions.

    Computers are made of 2 main parts hardwareand software. Hardware is the physical pieces of a computer

    Software is a program or operating system that an beinstalled on a computer

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    8/41

    Block Diagram

    8

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    9/41

    Computer System Components

    9

    Hardware:

    microprocessormicroprocessor

    Peripheral devices:

    input and outputinput and output

    Software:programsprograms

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    10/41

    10

    Components

    Hardware

    Software

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    11/41

    Hardware v/s Software

    System Implementation

    Using Only Hardware

    Using Software over Hardware

    Exp.

    Hardware Software

    11

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    12/41

    Example Contd

    QUEUEPLEASE

    12

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    13/41

    Software

    The programs or instructions used to tell

    the computer hardware what to do.

    System software allows a computer to

    operate and run application software.

    Application softwareperforms specific

    tasks or applications.

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    14/41

    System v/s Application Software

    14

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    15/41

    Type of Software

    Operating System

    Language Processor

    Utility Program

    Application Programs

    Personal Computing Software

    15

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    16/41

    16

    Memory

    A place where information is stored in such

    a way that it can be retrieved back

    whenever required.

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    17/41

    17

    Memory Classification

    CPU Connected : Primary, Secondary

    Write Permission : ROM, RWM

    Access Method : Random,Sequential,DirectTechnology Based: Semiconductor, Optical,

    Magnetic

    Ext Power to Retain: Volatile, Nonvolatile

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    18/41

    18

    Booting

    When the computer is switched on, it

    contains no Information, and to bring that

    information from secondaryNONVOLATILE memory to Primary

    Memory, a process is executed called

    BOOTING.

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    19/41

    19

    Operating System

    It is the Resource Manager of whole computer

    system and responsible for User interface

    and security.e.g. Process, Memory, IO, Information

    Example

    DOS, Windows95, Windows98, Windows XP

    LINUX, UNIX.

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    20/41

    Files and Software

    20

    Types of files data files store information,

    executable files do something

    Types of software system software includes O/S and other utilities

    application software includes applications likeoffice, and browser

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    21/41

    21

    Data v/s Information

    Data = raw, unorganized facts. Can be in the form oftext, graphics, audio, or

    video.

    Information = data that has been processed

    into a useful form.

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    22/41

    22

    Program

    A Method to solve given problem

    Once the method is known it is reused with

    varying data.

    e.g. To calculate Average Formula is

    ( A + B ) / 2

    it can be used to calculated

    average for different values of A and B

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    23/41

    Role of Operating System

    23

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    24/41

    Classification

    Number of Users Single User, Multi User

    User Interface Character Interface, Graphical Interface, Voice

    Application Based:

    Real-Time, Desktop, Embedded, Network

    24

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    25/41

    Popular Operating System

    OS/360

    CP/M

    DOSMacintosh

    Windows

    UnixLinux

    Minix

    Plan 9 25

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    26/41

    Common Features

    Process Management

    Memory Management

    File Management

    Device Management

    Security

    26

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    27/41

    User Level Operations

    File Operations Create; Delete; Copy; Move; Rename; Print

    Folder Operations Create; Remove; Traverse;

    Execution of Applications

    Spreadsheet; Word Processor; Database; BackupSystem Control Operations Shutdown, Logoff, Restart, Hybernate, Standby

    27

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    28/41

    Windows Operating System

    Microsoft Product

    Features

    Desktop

    Graphical User Interface

    Multitasking

    Secured from other user sessions Plug and Play

    28

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    29/41

    Mouse Nomenclature

    29

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    30/41

    Login Operation

    30

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    31/41

    Control Panel

    31

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    32/41

    Desktop

    32

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    33/41

    33

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    34/41

    UNIX/LINUX Operating System

    MULTICS developed by MIT,AT&T,GE

    (1960s)

    UNIX developed by AT&T Researchers(1969) Rework on Multics

    LINUX developed by CommunityMethodology Kernel by Linus Torvald

    (1991) Rework on UNIX

    34

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    35/41

    Variants of UNIX

    35

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    36/41

    Features

    MutiUser System

    Command User Interface

    Developed for Programmers

    Time Sharing

    Secured

    Portable

    Hierarchical File System

    36

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    37/41

    Commands

    FILE OPERATION

    ls : To list all available files and directories

    cp : To copy a file to another file

    mv: To rename/move at other location

    Rm : To delete a file

    cat : create, display, append,

    cat>my; cat my; cat ab>>pq

    37

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    38/41

    Commands contd..

    Directory Operations

    mkdir : Create new directory

    rmdir : Delete a directory

    cd : Change directory, cd ..; cd ;

    Authorization Operation

    chmod: Change mode of file/directory

    38

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    39/41

    Windows and UNIX Architecture

    39

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    40/41

    40

    Popular Terms

    Virus

    Worm

    Format

    Backup

  • 8/4/2019 4a29DLJ RP Fundamental of Computers

    41/41

    Thank You

    [email protected]

    41