7 Operating system Foundations of Computer Science ã Cengage Learning.

Slides:



Advertisements
Similar presentations
CSC 360- Instructor: K. Wu Overview of Operating Systems.
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System.
7 Operating Systems Foundations of Computer Science ã Cengage Learning.
Operating Systems An operating system is a set of programs that controls how the hardware of a computer works. An operating system provides a means of.
Chapter 6 Review System Software: Operating Systems and Utilities.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Operating Systems: Software in the Background
©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Operating systems CHAPTER 7.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
 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.
The Operating Systems Layer
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Chapter 3: Operating Systems
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.
CPSC 171 Introduction to Computer Science System Software and Virtual Machines.
7.1 7 Operating Systems Foundations of Computer Science  Cengage Learning.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 OS 1.
Operating Systems.
©Brooks/Cole, 2003 Chapter 7 Operating Systems 作業系統 ( 電腦的管家婆 )
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
Chapter 7 Operating Systems Foundations of Computer Science  Cengage Learning 1.
7.1 Operating Systems. 7.2 A computer is a system composed of two major components: hardware and software. Computer hardware is the physical equipment.
©Brooks/Cole, 2003 Chapter 7 Operating Systems. ©Brooks/Cole, 2003 Define the purpose and functions of an operating system. Understand the components.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
Operating Systems p.describe the characteristics of knowledge-based systems; q.describe the purpose of operating systems; r.describe the characteristics.
CPIT 201 King AbdulAziz University Faculty of Computing & Information Technology Information Technology Department CH (7) Operating System CPIT 201 Introduction.
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.
Operating Systems What an Operating System is.
Chapter 7 Operating Systems.
Applied Operating System Concepts
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 3: Operating Systems
Chapter 4 – Introduction to Operating System Concepts
Linux Operating System Architecture
Where are being used the OS?
Virtual Memory Networks and Communication Department.
TYPES OFF OPERATING SYSTEM
What is an Operating System?
Operating systems Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department.
Operating Systems.
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Lecture 3: Main Memory.
Chapter 3: Operating Systems
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.
Chapter 3: Processes Process Concept Process Scheduling
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Function of Operating Systems
Presentation transcript:

7 Operating system Foundations of Computer Science ã Cengage Learning

OBJECTIVES After reading this chapter, the reader should be able to: Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the concept of virtual memory. Understand the concept of deadlock and starvation. List some of the popular operating systems such as Windows 2000, UNIX, and Linux.

Computer System

7-1 operating system An operating system is an interface between the hardware of a computer and the user (program or human) that facilitates the execution of the other programs and the access to hardware and software resources.

Batch systems Time – sharing systems Personal systems Parallel systems 7-2 Evolution Batch systems Time – sharing systems Personal systems Parallel systems Distributed systems Real –time systems

7-3 Components of an operating system

User interface: User interface is a program that accepts requests from users(processes) and interprets them for the rest of the operating system. A user interface in some operating systems, such as UNIX is called shell. In others, it is called window (GUI) .

Memory manager: Monoprogramming Multiprogramming

Monoprogramming Multiprogramming

Categories of multiprogramming

Categories of multiprogramming Nonswapping category: means that the program remains in memory for the duration of execution. Swapping category: means that during execution , the program can be swaped between memory and disk one or more times.

Partitioning CPU switched between programs.

Paging

Virtual memory

Process manager A program is a non active set of instructions stored on a disk. A program becomes a job from the moment it is selected for execution until it has finished running and becomes a program again. A process is a program in execution. In other words, a process is a job that is being run in memory.

State diagram with the boundaries between a program, a job, and a process

Job scheduler

Process scheduler

Queues for process management

Deadlock

Deadlock on a bridge

Note: Deadlock occurs when the operating system does not put resource restrictions on processes.

Starvation

Dining philosophers

Device manager Device manager (input /output manager) is responsible for access to input/output devices

File manager File manager used to control access to files.

7-4 POPULAR OPERATING SYSTEMS UNIX Linux Windows NT/2000/XP