Lecture 1  Operating System Basics
Upcoming SlideShare
Loading in...5

Lecture 1 Operating System Basics






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Lecture 1  Operating System Basics Lecture 1 Operating System Basics Presentation Transcript

    • Operating System 140702 Hemang Kothari Assistant Professor Computer Engineering Department MEFGI, Rajkot.Email: hemang.kothari@marwadieducation.edu.in Computer Engineering Department - MEFGI 1
    • Teaching Scheme• 140702 Operating System Reference Books: 1. Modern Operating Systems -By Andrew S.• Theory - 4 Tanenbaum (PHI) 2. Operating System – Internals & Design• Practical - 2 Principles -By William Stallings (PHI) 3. Operating Systems By D.M.Dhamdhare• Credit - 6 (TMH) 4. Unix System Concepts & Applications By• Final Exam - 70 Sumitabha Das (TMH)• Term work -30 5. Unix Shell Programming By Yashwant Kanitkar• Internal Practical - 50• Total – 150 Marks Computer Engineering Department - MEFGI 2
    • Expectation• Smiling Face• Attendance• Interactive Session• Enjoy the joy of learning Computer Engineering Department - MEFGI 3
    • Methodology• Why  Need to learn• What  Definition, Meaning, is all about• How  Performance, Implementation, Simulation, Development Do Not Worry, We have only 4 Assignment Computer Engineering Department - MEFGI 4
    • Operating System• Introduction to our day to day life• Introduction to system• Component of System• Working of system Computer Engineering Department - MEFGI 5
    • Ahh .. Lots of Work Computer Engineering Department - MEFGI 6
    • Solution• Better Management of Resources.• Enough Resources• Time Scheduling• Understand the priority of work• Proper Planning Computer Engineering Department - MEFGI 7
    • Module 1: Input Output Management• Principles Of Input / Output H/W• Principles Of Input / Output S/W• Device Independent I/O Software Disks Computer Engineering Department - MEFGI 8
    • I / O Devices Computer Engineering Department - MEFGI 9
    • How OS will be friend ?????• OS controls I/O devices => • Issue commands, • handles interrupts, • handles errors• Provide easy to use interface to devices • Hopefully device independent• First look at hardware, then software • Emphasize software • Software structured in layers • Look at disks Computer Engineering Department - MEFGI 10
    • Principles Of Input / Output H/W• Two types of I/O devices- block, character• Block- can read blocks independently of one another • Hard disks, CD-ROMs, USB sticks • 512-32,768 bytes• Character-accepts characters without regard to block structure • Printers, mice, network interfaces• Not everything fits, e.g. clocks don’t fit• Division allows OS to deal with devices in device independent manner • File system deals with blocks Computer Engineering Department - MEFGI 11
    • Device Controllers• I/O unit has 2 components-mechanical, electronic (controller)• Controller is a chip with a connector which plugs into cables to device• Disk • Disk might have 10,000 sectors of 512 bytes per track • Serial bit stream comes off drive • Has preamble, 4096 bits/sector, error correcting code • Preamble has sector number, cylinder number, sector size…. Computer Engineering Department - MEFGI 12
    • Example System Computer Engineering Department - MEFGI 13
    • Mange More DisksComputer Engineering Department - MEFGI 14
    • Continue .. Disk Controller• Controller assembles block from bit stream, does error correction, puts into buffer in controller• Blocks are what are sent from a disk• The controller’s job is to convert the serial bit stream into a block of bytes and perform any error correction necessary. The block of bytes is typically first assembled, bit by bit, in a buffer inside the controller. After its checksum has been verified and the block declared to be error free, it can then be copied to main memory. Computer Engineering Department - MEFGI 15
    • Actor(OS) and SupportingActor(Controller) How OS Deal with Controller ? Don’t Worry , Next time we will study Computer Engineering Department - MEFGI 16