Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Advertisements

Operating System.
1. 2 The Evolution of Operating Systems : §The single processing machines of 1940’s and 1950’s were not very flexible or efficient. §The processing is.
Chapter 10 Operating Systems.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Chapter 11 Operating Systems
Computer Organization and Architecture
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Operating system Part three Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Chapter 3 Operating Systems. 2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems 3.2 Operating System Architecture 3.3 Coordinating the.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Part two. 3.2 operating system architecture  Software have two categories  Application software  System software  Application software: consists of.
CMSC 1041 Operating Systems I An Introduction to Operating System Concepts.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Introduction to Operating Systems
Week 6 Operating Systems.
Operating system Part two Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1 Sec (3.2) Operating System Architecture OS. 2 Software dividing into two categories: 1. Application software 2. System Software  Operating System 
Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 3: Operating Systems
Operating System Principles And Multitasking
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Chapter 11: Operating System Support Dr Mohamed Menacer Taibah University
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
Chapter 2 Process Management. 2 Objectives After finish this chapter, you will understand: the concept of a process. the process life cycle. process states.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
CT101: Computing Systems Introduction to Operating Systems.
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
Resource Management IB Computer Science.
Chapter 3: Operating Systems
Introduction to Operating System (OS)
Chapter 3: Operating Systems
KERNEL ARCHITECTURE.
Shell & Kernel Concepts in Operating System
Operating System Architecture OS
Chapter 15, Exploring the Digital Domain
OS Architecture.
Chapter 3 Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
CS149D Elements of Computer Science
Introduction to Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Chapter 2 Operating System Overview
Presentation transcript:

Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park

Outline  History of Operating Systems  Operating System Architecture  Coordinating the Machine’s Activities  Handling Competition Among Processes(skipped)  Security(skipped)

History of Operating Systems  An Operating System (OS) controls and coordinates usage of a machine’s __________ (CPU, memory, disks, …)  Single-processor machines in 1940s and 1950s  Significant preparation of mechanical equipment to run a program  Execution of a program → ____  Separation of users and equipments (introduction of computer operator concept)  Submit program to operator to run, along with any required ____ and special _________  Operator _____ program materials into machine’s mass storage  Batch processing – the execution of jobs by collecting them in a single _____, then executing them _______ further _________ with the user

Batch Processing  ___ interaction with the program once submitted

Interactive Processing  What happens when we have multiple users?  Time-_______ solution (time slices)  In single-user systems usually called ___________

Software Classification  Application: spreadsheets, games, program development software  Utility: utility to format a disk, copy a file, utility to handle network communication  Operating system

Operating System Components  Shell: ________ between users and operating systems  Modern computers have a _____ shell  Window manager: component within the GUI shell  Kernel: ______ part of an OS

OS Kernel Software Components  File manager  Coordinates use of machine’s mass _______  Device drivers  Controls operation of machine’s ________ devices (printer, monitor, …)  Memory manager  Coordinates machine’s use of main ________  Scheduler  Determines which ________ is executed ______  Dispatcher  Controls allocation of _____ slices to activities

Boot Strapping in OS

File Manager  Keep ________ of files stored in secondary storage  _________ of each file  Which users are allowed to access which files  _________ space in secondary storage  Group files into a bundle called a __________ or folder  A directory may contain other directories called ____________  A chain of directories within directories is called a directory _____  Provide means to access files (open and manipulate files)

Memory Manager  Charged with the task of coordinating the machine’s use of main memory  Such duties are minimal in ‘one task at a ____’ environment  The program for the current task is placed in main memory, executed, and then replaced by the program for the next task  The duties are extensive in _________ or multitasking environment  Many programs and blocks of data reside in main memory concurrently  Allocate areas of memory for each program  Fulfill memory requirements for programs  Keep track of memory areas no longer occupied

Virtual Memory  When total main memory required _______ actually available?  Memory manager creates _______ of additional memory space by ________ programs and data back and forth between main memory and secondary storage  Illusionary memory space is called _______ memory  Memory requirements are allocated in units called ______ (page size < 4KB)  When a main memory of 256MB is required, but only 128MB is actually available?  Memory manager _______ contents of pages in secondary storage  When a page in secondary storage is needed for access, _____ it in main memory  If no space in main memory, _____ some other page no longer required to secondary storage

Concept of a Process  Distinction between a program and the activity of executing a program  Program  static set of directions  Activity of executing a program  dynamic activity  known as a ________  Process state  Current ________ in the program being executed (value of PC)  _______ in other registers and associated memory cells  A single program can be associated with ___________ one process  In a time-sharing computer, processes _________ for time slices  It is the task of operating system to coordinate these processes

Process Administration (1/2)  The tasks associated with process coordination are handled by the _________ and _________ within OS kernel  Scheduler  Maintains a block of information in main memory called _____________  When a new task is assigned to machine, creates a process for that task by placing a new _____ in the process table  Memory area assigned to process (from memory manager)  Process priority  Process status (ready, waiting for some event (I/O for example))  Determines which activity is executed first  Dispatcher  Ensures that the scheduled processes are actually executed  Divides time into time slices (quantum)  Process __________

Process Administration (2/2) At interrupt  CPU completes current machine _____, _______ current process state, and transfers control to an _________ handler  Interrupt handler is part of dispatcher Dispatcher  Selects a _____ process from the process table (highest priority)  _______ time circuit for the next interrupt  Allow selected process to ______ execution Sometimes, the process time slice is terminated ______ the timer expires (for example when executing I/O)