CY2003 Computer Operating Systems Lecture 01 Introduction Abir Hussain (JPB6.33,

Slides:



Advertisements
Similar presentations
OPERATING SYSTEMS Lecturer: Szabolcs Mikulas Office: B38B
Advertisements

CSC 360- Instructor: K. Wu Overview of Operating Systems.
Operating System.
Processes Management.
Introduction CSCI 444/544 Operating Systems Fall 2008.
CS 345 Computer System Overview
Enrique Blanco García © 2004 Introduction to the UNIX environment Enrique Blanco Cover from the book Modern operating systems. A. Tanenbaum.
Winter 2005 CMPE 151: Network Administration Lecture 2.
Lecture 1: History of Operating System
Operating System - Overview Lecture 2. OPERATING SYSTEM STRUCTURES Main componants of an O/S Process Management Main Memory Management File Management.
Operating Systems: Software in the Background
1 Introduction Chapter What is an operating system 1.2 History of operating systems 1.3 The operating system zoo 1.4 Computer hardware review 1.5.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Operating Systems Concepts Professor Rick Han Department of Computer Science University of Colorado at Boulder.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
1 Introduction Chapter What is an operating system 1.2 History of operating systems 1.3 The operating system zoo 1.4 Computer hardware review 1.5.
A. Frank - P. Weisberg Operating Systems Evolution of Operating Systems.
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
Chapter 1 Introduction 1.1 What is an operating system
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
CE Operating Systems Lecture 5 Processes. Overview of lecture In this lecture we will be looking at What is a process? Structure of a process Process.
Slide 1 System Software Software The term that we use for all the programs and data that we use with a computer system. Two types of software: Program.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
CE Operating Systems Lecture 1 Introduction to the module, definition and historical development of operating systems.
 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.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL Yan hao (Wilson) Wu University of the Western.
Implementing Processes and Process Management Brian Bershad.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Chapter 1 Introduction 1.1 What is an operating system
1 Instructor :Erdal Kose Office hours: Tuesday 9:00-9:30 pm. Mail box : 2109 Ingersoll Hall (Erdal ) Web site :
1 Introduction Chapter What is an operating system 1.2 History of operating systems 1.3 The operating system zoo 1.4 Computer hardware review 1.5.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
CE Operating Systems Lecture 3 Overview of OS functions and structure.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
1 Operating Systems: Principles and Practice Cpr E 308.
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
Application Software System Software.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Copyright ©: Nahrstedt, Angrave, Abdelzaher1 Operating System Overview Tarek Abdelzaher Lawrence Angrave Vikram Adve.
Operating Systems.
Chapter 1 Introduction  What is an operating system  History of operating systems  The operating system zoo  Computer hardware review  Operating system.
Midterm OPERATING SYSTEM. Objectives At the end of the course, the student should be able to: Define the operating system; Demonstrate the abstract view.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Copyright Prentice Hall, Inc. 1 Operating System Overview.
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
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.
Introduction to Operating Systems Concepts
Operating System Overview
Operating System.
Evolution of Operating Systems
Java programming lecture one
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Lecture Topics: 11/1 General Operating System Concepts Processes
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Presentation transcript:

CY2003 Computer Operating Systems Lecture 01 Introduction Abir Hussain (JPB6.33,

© JMU, 2004CY Introduction Teaching by lectures, laboratories and tutorials. –the material is mainly theoretical –the analysis is mainly informal –reinforced by practical labs under LINUX

© JMU, 2004CY Module Assessment The module will be assessed by –written exam:2 hours(75%) –coursework(25%) programming assignment

© JMU, 2004CY Recommended Texts Recommended module texts –1. A. Tanenbaum “Modern Operating Systems” Prentice- Hall, 2001, ISBN –2. G. Nutt “Operating Systems- A modern Perspective”, Addition-Wesley, 1997, ISBN –3. C. Ritchie, “Operating Systems incorporating UNIX and Windows” 3 rd edition, Letts Education Publication, 1997, ISBN

© JMU, 2004CY Syllabus

What is an Operating System?

© JMU, 2004CY Operating Systems In the early days of computing (1950’s and 60’s) the operator had to know how the system worked –the users programmed the machine code via paper tape –the computers performed one program at a time –all resources were available to the program any resource not in use was idle (i.e. wasted) –e.g. the CPU was idle while the tape was being read –system was idle while the user programmed a new task The process is wasteful, inefficient, and impossible to manage as computers got bigger and better

© JMU, 2004CY user operating environment application programs operating system hardware What is an Operating System? An operating system is a suite of programs that relieves the user from the tedious chores of having to deal with the hardware directly An operating system has three main functions –to manage hardware –to support applications –to establish a user interface

© JMU, 2004CY Two Views of an Operating System Operating systems can be thought of in two ways –virtual machine viewpoint the operating system deals with the hardware devices directly and provides the user with a set of device independent, simple and logical set of services –the resulting ‘virtual machine’ is easier to program –resource manager viewpoint a computer consists of many resources such as processor(s), memory, disks, screens, printers and interface cards, etc the operating system shares these resources (fairly) between different users or different programs that are running –imagine two programs trying to print at the same time without an operating system making sure they don’t interfere with each other!

A Brief History of Operating Systems

© JMU, 2004CY The First Generation Early computers were specially built machines that filled entire rooms –dedicated users would sign up for blocks of time They were programmed one step at a time by switches, paper tape or, later, punched cards –tape/card had to be loaded into the computer, run and when finished the operator could inspect the output As more complex hardware, such as printers, came along they had to be programmed each time –software libraries of useful functions were developed –these could be loaded from tapes or cards if required

© JMU, 2004CY The Second Generation The introduction of the transistor in mid-1950’s meant commercial computer systems to do work –big corporations, government agencies or universities To run a job (one or more programs) –program written out on cards, cards submitted, program read in, data read in, job run, collect output –special employees who were practiced operators High level languages such as COBOL and FORTRAN were developed to make writing programs easier –the compiler must be loaded from tape prior to job –jobs batched up (submitted in groups) to save time

© JMU, 2004CY The Third Generation With automated job control it was realised that much CPU time was wasted ‘waiting’ for peripherals (input / output devices) –one solution was to allow several programs to be read into main memory and to switch jobs automatically multiprogramming –another solution was to read input or write output onto hard disk (which was quicker) until the input / output device was free, so that the job could continue spooling: simultaneous peripheral operation on-line These required more complex operating systems

© JMU, 2004CY The Fourth Generation As technology improved (more and more rapidly) and prices tumbled the idea of personal computers became more popular –each user has her/his complete computer system with input / output devices keyboard, mouse, display screen, printer With plentiful resources and only one user, do we still need operating systems? –Yes! increased demand for ‘user-friendliness’: i.e. abstraction demand for flexibility: i.e. job control, virtual memory

Operating System Concepts

© JMU, 2004CY What is a Process? A process is an instance of a program that is being executed –a program which is loaded into memory and is running A process is an active entity –a program is passive: instructions that may be run

© JMU, 2004CY A Process Tree Processes may create other processes –the creator is referred to as the parent process –the created is referred to as the child process A DEF BC Process A created two child processes: B and C –process B created three child processes: D, E and F

© JMU, 2004CY Files A file is a collection of related information –all modern operating systems provide services to allow flexible files of variable size –allows data to be stored together, while hiding the details of the actual hardware device from the user All operating systems now support the concept of the directory or folder –a file of special significance to the operating system holds the names of other files, to group them together Directories can be placed in other directories to form a tree structure (which may be very ‘deep’)

Operating System Structures

© JMU, 2004CY System Calls System calls provide the interface between a process and the operating system –the virtual machine layer visible to the user –the control mechanism that connects a user process (user mode) to the operating system (privileged mode) They typically provide services such as –process control: create, terminate, wait –file manipulation: create, delete, open, close, read, write –device manipulation: allocate, deallocate, read, write –information maintenance: set/get date/time, user info –communications: create/delete connection, send, receive

© JMU, 2004CY The Unstructured Approach The ‘big mess’ –the structure is that there is no structure! –MS-DOS is a ‘good’ example of this approach application programs (users) have direct access to devices device drivers MS-DOS device driversresident system programapplication program

© JMU, 2004CY Layers A structured approach is found in the layer model –operating system comprises a number of layers, each of which can only invoke operations on lower layers A typical (abstract) layer structure may be layer 0:hardware layer 1:CPU scheduling layer 2:memory management layer 3:device drivers layer 4:buffering for input / output devices layer 5:user programs

© JMU, 2004CY Summary Module Overview –Syllabus –assessment outline What is an Operating System? –purpose and functions A Brief History –five generations of computing