1 Operating Systems: Principles and Practice Cpr E 308.

Slides:



Advertisements
Similar presentations
Introduction to Operating Systems
Advertisements

OPERATING SYSTEMS Lecturer: Szabolcs Mikulas Office: B38B
Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Winter 2005 CMPE 151: Network Administration Lecture 2.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Tuesday, June 06, 2006 I hear and I forget, I see and I remember, I do and I understand. -Chinese Proverb.
Introduction to Computer Systems and Operating Systems
IT Systems Operating System EN230-1 Justin Champion C208 –
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.
© 2004, D. J. Foreman 1 CS350 Operating Systems. © 2004, D. J. Foreman 2 Administrivia  Assignments ■ Homework on most chapters ■ Approximately 8 lab.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
Operating Systems - Introduction S H Srinivasan
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.
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
Chapter 1 Introduction 1.1 What is an operating system
1 What is an operating system? CSC330Patricia Van Hise.
Operating Systems ECE344 A brief history of OS Ding Yuan ECE Dept., University of Toronto
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Operating System.
Lesson 4 Computer Software
Lecture 2 History of Operating Systems. Early History: The 1940s and 1950s Operating systems evolved through several phases. 1940s: Early computers did.
Operating Systems Who’s in charge in there?. Types of Software Application Software : Does things we want to do System Software : Does things we need.
CS 6560 Operating System Design Lecture 1. Overview 1.1 What is an operating system 1.2 History of operating systems 1.3 The operating system zoo 1.4.
Operating systems CHAPTER 7.
Introduction What is an Operating System? r System programs: m Generally execute in user mode. m Command interpreter (shell), compilers, editors, …..
By Tanner And Whitney.  The CPU of a computer does most of the work.  It changes information it takes out of the RAM  Uses input and output devices.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL Yan hao (Wilson) Wu University of the Western.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Chapter 1 Introduction 1.1 What is an operating system
ITEC 502 컴퓨터 시스템 및 실습 Chapter 1: Introduction. ITEC 502 컴퓨터 시스템 및 실습 Chapter 1: Introduction Mi-Jung Choi DPNM Lab. Dept. of CSE,
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:
1 Introduction. 2 A computer system consists of –hardware –system programs –application programs.
MODERN OPERATING SYSTEMS Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
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.
History of UNIX a short version CSCI 333 August 31, 2011.
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
MODERN OPERATING SYSTEMS Chapter 1 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.
Slide 6-1 Chapter 6 System Software Considerations Introduction to Information Systems Judith C. Simon.
Chapter 1 Introduction  What is an operating system  History of operating systems  The operating system zoo  Computer hardware review  Operating system.
操作系统原理 OPERATING SYSTEM Chapter 1 Introduction 概 述.
Generations of Computing. The Computer Era Begins: The First Generation  1950s: First Generation for hardware and software Vacuum tubes worked as memory.
Lab #1: UNIX crash course Introduction: History of Operating Systems Lesson #1: Navigating directories Lesson #2: Creating and editing files with emacs.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
WHAT IS HARDWARE ? Computer hardware is the collection of physical elements that comprise a COMPUTER SYSTEM LIKE A MOUSE, MONITOR, KEYBOARD, SPEAKER MICROPHONE,
Operating System Overview
Lecture 3: Basic OS Concepts
Operating Systems Introduction ENCE 360.
Operating Systems: Principles and Practice Cpr E 308
Lecture 2: Hardware Review
Computer Science I CSC 135.
Operating Systems CISC 3595.
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Lecture 2: Hardware Review
Lecture 3: Basic OS Concepts
Operating Systems: Principles and Practice Cpr E 308
Operating System Introduction
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.
Introduction and History
Operating System Introduction
Presentation transcript:

1 Operating Systems: Principles and Practice Cpr E 308

2 What is an Operating System? It is the code that {Linux, Sun, Microsoft} provide The code which makes the computer crash ….. Copyright © 2002 Thomas W. Doeppner. All rights reserved.

3 Introduction A computer system consists of –hardware –system programs –application programs

4 What is an Operating System? It is an extended machine –Hides the messy details which must be performed –Presents user with a virtual machine, easy to use abstractions It is a resource manager –Each program gets time with the resource –Each program gets space on the resource

5 Hardware Resources

6 Floppy Disk I/O Anybody who directly communicates with the floppy disk controller must deal with: Physical address on disk (disk block) The data recording format Turn on/off the motor Error detection/correction

7 Abstractions Hardware –Disks –Processors –Network –Monitor –Keyboard –Mouse Operating System –Files –Threads of control –Communication –Windows, graphics –Input (files) –Locator Copyright © 2002 Thomas W. Doeppner. All rights reserved.

8 Program vs Process A process is a program in execution –Program is a piece of code –Process has “state” (what could this state be?) There could be multiple processes all simultaneously executing the same program

9 Multiple Processes Coordinate accesses and sharing of resources Sharing in time – CPU cycles Sharing in space – Memory

10 Memory Sharing Process 1 Process 2 Operating System Process 3 Physical memory

11 Single Processor Sharing Each process gets a “virtual processor” Virtual processor Real processor Copyright © 2002 Thomas W. Doeppner. All rights reserved.

12 Multi Processor Systems Virtual processor Copyright © 2002 Thomas W. Doeppner. All rights reserved.

13 Deadlocks (a) A potential deadlock. (b) an actual deadlock.

14 What is an Operating System? It is an extended machine –Hides the messy details which must be performed –Presents user with a virtual machine, easier to use It is a resource manager –Each program gets time with the resource –Each program gets space on the resource

15 History of Computer Hardware First generation –vacuum tubes, plug boards Second generation –transistors, batch systems Third generation 1965 – 1980 –ICs and multiprogramming Fourth generation 1980 – present –personal computers

16 History of Operating systems (1) Vacuum Tubes –No operating system –Programmers supplied all the code –All programs in machine language

17 History of Operating Systems (2) Early batch system –bring cards to 1401 –read cards to tape –put tape on 7094 which does computing –put tape on 1401 which prints output –Use of high level languages

18 History of Operating Systems (3) Third Generation Computers Multiprogramming system

19 History of Operating Systems(4) Third Generation –Multics (GE, Bell Labs, MIT) –OS/360 (IBM) –Unix (Thompson and Ritchie, Bell Labs) Originally written for DEC PDP-11 Source code released to universities “Portable” Enhanced by Berkeley (BSD)

20 PC/Workstation Operating Systems Apple Macintosh (GUIs) Microsoft DOS, Windows Sun OS, Solaris (Unix based) 1987: Tanenbaum writes OS text and toy OS “Minix” 1992: Linus Torvalds releases Linux 0.12 (building on Minix) 2001: Windows XP

21 Course Info Text: “Modern Operating Systems” by Andrew S. Tanenbaum, 2 nd edition Website WebCT to handle grades, discussions

22 Labs Weekly labs Check your section Labs begin next week

23 The Workload Programming Labs – 30% 2 Projects – 15% 3-4 home works Quizzes based on homeworks – 10% Two exams (mid-term 15% and final 30%)

24 Collaboration Labs should be done individually (unless otherwise specified) –Not allowed to use work done by other students –Not allowed to get answers directly in any form (ex: from the web) Cases of cheating will be dealt with severely