Maninder Kaur professormaninder@gmail.com OPERATING SYSTEM Maninder Kaur professormaninder@gmail.com www.eazynotes.com 11 Oct 2010.

Slides:



Advertisements
Similar presentations
Introduction CSCI 444/544 Operating Systems Fall 2008.
Advertisements

Operating Systems * Section A: Introduction * Section B: The importance of the operating system * Section C: Types of operating systems * Section D: Operating.
CS 345 Computer System Overview
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
Chapter 1: Introduction
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Operating Systems BTEC IT Practitioners.
Silberschatz, Galvin and Gagne  Operating System Concepts Bare Machine (early 1950s) Structure  Large machines run from console  Single user.
A. Frank - P. Weisberg Operating Systems Evolution of Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Operating systems CHAPTER 7.
SOFTWARE.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Introduction Operating Systems. No. 2 Contents Definition of an Operating System (OS) Role of an Operating System History of Operating Systems Classification.
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Ms Manpreet Kaur, Assistant Professor, DIAS
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
B USINESS C OMPUTER A PPLICATION Eyad M. AlMassri BGMS4101 Introduction 1 Business Computer Application.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
February 02Page 1 Operating Systems Introduction.
An operating system is the software that makes everything in the computer work together smoothly and efficiently. What is an Operating System?
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Operating Systems.
Operating Systems By-Anoushka Puri. What is an Operating System An operating system is an interface between the user and the computer hardware. It is.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Evolution of Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Operating System Concepts
Chapter 1: Introduction
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Chapter 1 Introduction to Operating System Part 2
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
Operating System Overview
Process Management -Compiled for CSIT
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

Maninder Kaur professormaninder@gmail.com OPERATING SYSTEM Maninder Kaur professormaninder@gmail.com www.eazynotes.com 11 Oct 2010

What is an Operating System? Operating System is a software, which makes a computer to actually work. It is the software the enables all the programs we use. The OS organizes and controls the hardware. OS acts as an interface between the application programs and the machine hardware. Examples: Windows, Linux, Unix and Mac OS, etc. www.eazynotes.com 11 Oct 2010

What OS does? Controlling and allocating memory Prioritizing system requests Controlling input and output devices Facilitating networking Managing file systems www.eazynotes.com 11 Oct 2010

Operating System Objectives Convenience Makes the computer more convenient to use Efficiency Allows computer system resources to be used in an efficient manner Ability to Evolve Permit effective development, testing, and introduction of new system functions without interfering with service www.eazynotes.com 11 Oct 2010

Layers of Computer System www.eazynotes.com 11 Oct 2010

Structure of Operating System The structure of OS consists of 4 layers: Hardware Hardware consists of CPU, Main memory, I/O Devices, etc. Software (Operating System) Software includes process management routines, memory management routines, I/O control routines, file management routines. www.eazynotes.com 11 Oct 2010

Structure of Operating System System programs This layer consists of compilers, Assemblers, linker etc. Application programs This is dependent on users need. E.g.: Railway reservation system, Bank database management etc. www.eazynotes.com 11 Oct 2010

Functions of Operating System Process Management Memory Management File Management Device Management Command Interpretation Security www.eazynotes.com 11 Oct 2010

Types of Operating Systems Batch Operating System Multiprogramming Multiprocessing Timesharing / Multitasking Single User Operating System Multiuser Operating System Real Time Operating System www.eazynotes.com 11 Oct 2010

Batch Operating System In Batch processing, same type of jobs batch together and execute at a time. The OS was simple, its major task was to transfer control from one job to the next. The job was submitted to the computer operator in form of punch cards. The monitor is system software that is responsible for interpreting and carrying out the instructions in the batch jobs. When the monitor starts a job, the entire computer is dedicated to the job, which then controls the computer until it finishes. The OS was always resident in memory. Common Input devices were card readers and tape drives. www.eazynotes.com 11 Oct 2010

Batch Operating System Common output devices were line printers, tape drives, and card punches. Users did not interact directly with the computer systems, but he prepared a job (comprising of the program, the data & some control information). OS User program area www.eazynotes.com 11 Oct 2010

Multiprogramming Multiprogramming is a technique to execute number of programs simultaneously by a single processor. In Multiprogramming, number of processes reside in main memory at a time. The OS picks and begins to execute one of the jobs in the main memory. If any I/O wait happened in a process, then CPU switches from that job to another job. Hence CPU in not idle at any time. www.eazynotes.com 11 Oct 2010

Multiprogramming OS Job 1 Figure depicts the layout of multiprogramming system. The main memory consists of 5 jobs at a time, the CPU executes one by one. Advantages: Efficient memory utilization Throughput increases CPU is never idle, so performance increases. OS Job 1 Job 2 Job 3 Job 4 Job 5 www.eazynotes.com 11 Oct 2010

Multiprogramming www.eazynotes.com 11 Oct 2010

Timesharing Simultaneous interactive use of a computer system by many users in such a way that each one feels that he/she is the sole user of he system. Multiple jobs are executed by switching the CPU between them. In this, the CPU time is shared by different processes, so it is called as “Time sharing Systems”. Time slice is defined by the OS, for sharing CPU time between processes. CPU is taken away from a running process when the allotted time slice expires. Examples: Multics, Unix, etc. www.eazynotes.com 11 Oct 2010

Advantages of Timesharing Reduces CPU Idle time. Provides advantages of quick response time. Offers good computing facility to small users. www.eazynotes.com 11 Oct 2010

Multiprocessing Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system. The term also refers to the ability of a system to support more than one processor and the ability to allocate tasks between them. An operating system capable of supporting and utilizing more than one computer processor. Below are some examples of multiprocessing operating systems. Linux Unix Windows 2000 www.eazynotes.com 11 Oct 2010

Multiprocessing Systems that treat all CPUs equally are called symmetric multiprocessing (SMP) systems. If all CPUs are not equal, system resources may be divided in a number of ways, including asymmetric multiprocessing (ASMP), www.eazynotes.com 11 Oct 2010

Multiprocessing www.eazynotes.com 11 Oct 2010

Single User Operating System Provides a platform for only one user at a time. Single-User, Single Tasking As the name implies, this operating system is designed to manage the computer so that one user can effectively do one thing at a time. The Palm OS for Palm handheld computers is a good example of a modern single-user, single-task operating system. Single-User, Multi-Tasking This is the type of operating system most people use on their desktop and laptop computers today. Example Microsoft's Windows, it's entirely possible for a Windows user to be writing a note in a word processor while downloading a file from the Internet while printing the text of an e-mail message. www.eazynotes.com 11 Oct 2010

Multi-User Operating System Provides regulated access for a number of users by maintaining a database of known users. Refers to computer systems that support two or more simultaneous users. Another term for multi-user is time sharing. E.g.: All mainframes  are multi-user systems. www.eazynotes.com 11 Oct 2010

Real Time Operating System Real-time operating systems are used to control machinery, scientific instruments and industrial systems. A system is said to be Real Time if it is required to complete it’s work & deliver it’s services on time. Example – Food Processing System, Flight Control System All tasks in that system must execute on time. www.eazynotes.com 11 Oct 2010

Types of RTOS Soft Real Time System Hard Real Time System In Soft Real Time System, tasks are completed as fast as possible without having to be completed within a specified timeframe. Hard Real Time System In Hard Real Time System however, not only must tasks be completed within a specified timeframe, but they must also be completed correctly. www.eazynotes.com 11 Oct 2010

The Operating System: What It Does Task Management No. of Users No. of Processors Order of Processing Multi-tasking One Concurrently Multiprogramming Multiple Timesharing Round Robin Multiprocessing One or more Two or more Simultaneously www.eazynotes.com 11 Oct 2010

Thanks a Lot www.eazynotes.com 11 Oct 2010