Chapter 3: Operating Systems



Similar documents
Operating Systems 4 th Class

Chapter 3. Operating Systems

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

Introduction. What is an Operating System?

Operating Systems. Notice that, before you can run programs that you write in JavaScript, you need to jump through a few hoops first

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

Chapter 2: OS Overview

CHAPTER 15: Operating Systems: An Overview

How To Understand The History Of An Operating System

Operating Systems: Basic Concepts and History

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Chapter 2 System Structures

Chapter 1: Introduction. What is an Operating System?

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

Operating Systems Overview

Introduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu

ELEC 377. Operating Systems. Week 1 Class 3

Types Of Operating Systems

Operating System Today s Operating Systems File Basics File Management Application Software

Lecture 1 Operating System Overview

System Structures. Services Interface Structure

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Overview of Operating Systems Instructor: Dr. Tongping Liu

theguard! ApplicationManager System Windows Data Collector

Chapter 3: Operating-System Structures. Common System Components

Computers: Tools for an Information Age

Operating System Structures

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

OPERATING SYSTEMS STRUCTURES

Example of Standard API

Operating System Tutorial

Chapter 3 Operating-System Structures

Weighted Total Mark. Weighted Exam Mark

Security Overview of the Integrity Virtual Machines Architecture

Outline: Operating Systems

Windows8 Internals, Sixth Edition, Part 1

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Components of a Computer System

Undergraduate Course Syllabus

OPERATING SYSTEM SERVICES

Chapter 12 File Management

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Contents. Chapter 1. Introduction

Operating System Installation Guide

KVM: A Hypervisor for All Seasons. Avi Kivity avi@qumranet.com

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems

Principles of Operating Systems CS 446/646

Operating system Dr. Shroouq J.

Learning Objectives. Chapter 1: Networking with Microsoft Windows 2000 Server. Basic Network Concepts. Learning Objectives (continued)

Windows Security Environment

This tutorial will take you through step by step approach while learning Operating System concepts.

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Review from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

Trustworthy Computing

OPERATING SYSTEMS SCHEDULING

Chapter 6: Programming Languages

File Management. Chapter 12

Gildart Haase School of Computer Sciences and Engineering

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts

Chapter 4. System Software. What You Will Learn... Computers Are Your Future. System Software. What You Will Learn... Starting the Computer

Operating System Components and Services

Operating System Components

Pharos Control User Guide

Providing a jump start to EFI application development and a uniform pre-boot environment

(Advanced Topics in) Operating Systems

Chapter 6, The Operating System Machine Level

Chapter 14 MS-DOS Operating System

Operating Systems Prof. Ashok K Agrawala

Chapter 1 FUNDAMENTALS OF OPERATING SYSTEM

How To Write A Computer System Design Assignment

Security Technology for Smartphones

The PC Boot Process - Windows XP.

Far-western University Central Office, Mahendranagar Operating System

EECS 678: Introduction to Operating Systems

Operating Systems. Lecture 03. February 11, 2013

EXPLORING LINUX KERNEL: THE EASY WAY!

Operating Systems. Module Descriptor

Computer Organisation Operating Systems

HP Operations Orchestration Software

Prisma II Software Upgrade Program (SOUP) Installation Guide

Chapter 1: Introduction. Chapter 1: Introduction. Operating System Concepts, 7th Edition. Objectives

Informatica Corporation Proactive Monitoring for PowerCenter Operations Version 3.0 Release Notes May 2014

EUCIP IT Administrator - Module 2 Operating Systems Syllabus Version 3.0

Operating Systems Principles

OPERATING SYSTEM OVERVIEW

CS3600 SYSTEMS AND NETWORKS

Programming for GCSE Topic H: Operating Systems

Computer Science 4302 Operating Systems. Student Learning Outcomes

Operating System Structures

Chapter 11 I/O Management and Disk Scheduling

A single user ran a single program ran on a single computer there was no need for Page 1 of 6 Copyright Virtual University of Pakistan

Access Control. ITS335: IT Security. Sirindhorn International Institute of Technology Thammasat University ITS335. Access Control.

An Implementation Of Multiprocessor Linux

Operating System Fundamentals Robert Power & Robert Ford

The BackTrack Successor

A LECTURE NOTE ON CSC 322 OPERATING SYSTEM I DR. S. A. SODIYA

Transcription:

Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Copyright 2012 Pearson Education, Inc. Chapter 3: Operating Systems 3.1 The History of Operating Systems 3.2 Operating System Architecture 3.3 Coordinating the Machine s Activities 3.4 Handling Competition Among Processes 3.5 Security Copyright 2012 Pearson Education, Inc. 0-2 1

Functions of Operating Systems Oversee operation of computer Store and retrieve files Schedule programs for execution Coordinate the execution of programs Copyright 2012 Pearson Education, Inc. 0-3 Evolution of Shared Computing Batch processing Interactive processing Requires real-time processing Time-sharing/Multitasking Implemented by Multiprogramming Multiprocessor machines Copyright 2012 Pearson Education, Inc. 0-4 2

Figure 3.1 Batch processing Copyright 2012 Pearson Education, Inc. 0-5 Figure 3.2 Interactive processing Copyright 2012 Pearson Education, Inc. 0-6 3

Types of Software Application software Performs specific tasks for users System software Provides infrastructure for application software Consists of operating system and utility software Copyright 2012 Pearson Education, Inc. 0-7 Figure 3.3 Software classification Copyright 2012 Pearson Education, Inc. 0-8 4

Operating System Components User Interface: Communicates with users Text based (Shell) Graphical user interface (GUI) Kernel: Performs basic required functions File manager Device drivers Memory manager Scheduler and dispatcher Copyright 2012 Pearson Education, Inc. 0-9 Figure 3.4 The user interface act as an intermediary between users and the operating system kernel Copyright 2012 Pearson Education, Inc. 0-10 5

File Manager Directory (or Folder): A user-created bundle of files and other directories i (subdirectories) Directory Path: A sequence of directories within directories Copyright 2012 Pearson Education, Inc. 0-11 Memory Manager Allocates space in main memory May create the illusion that the machine has more memory than it actually does (virtual memory) by playing a shell game in which blocks of data (pages) are shifted back and forth between main memory and mass storage Copyright 2012 Pearson Education, Inc. 0-12 6

Getting it Started (Bootstrapping) Boot loader: Program in ROM (example of firmware) Run by the CPU when power is turned on Transfers operating system from mass storage to main memory Executes jump to operating system Copyright 2012 Pearson Education, Inc. 0-13 Figure 3.5 The booting process Copyright 2012 Pearson Education, Inc. 0-14 7

Processes Process: The activity of executing a program Process State: Current status of the activity Program counter General purpose registers Related portion of main memory Copyright 2012 Pearson Education, Inc. 0-15 Process Administration Scheduler: Adds new processes to the process table and removes completed processes from the process table Dispatcher: Controls the allocation of time slices to the processes in the process table The end of a time slice is signaled by an interrupt. Copyright 2012 Pearson Education, Inc. 0-16 8

Figure 3.6 Time-sharing between process A and process B Copyright 2012 Pearson Education, Inc. 0-17 Handling Competition for Resources Semaphore: A control flag Critical Region: A group of instructions that should be executed by only one process at a time Mutual exclusion: Requirement for proper implementation of a critical region Copyright 2012 Pearson Education, Inc. 0-18 9

Deadlock Processes block each other from continuing i Conditions required for deadlock 1. Competition for non-sharable resources 2. Resources requested on a partial basis 3. An allocated resource can not be forcibly retrieved Copyright 2012 Pearson Education, Inc. 0-19 Figure 3.7 A deadlock resulting from competition for nonshareable railroad intersections Copyright 2012 Pearson Education, Inc. 0-20 10

Security Attacks from outside Problems Insecure passwords Sniffing software Counter measures Auditing software Copyright 2012 Pearson Education, Inc. 0-21 Security (continued) Attacks from within Problem: Unruly processes Counter measures: Control process activities via privileged modes and privileged instructions Copyright 2012 Pearson Education, Inc. 0-22 11