Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
Advertisements

Operating System Structures
Dr. Kalpakis CMSC 421, Operating Systems. Fall Introduction.
Adopted from and based on Textbook: Operating System Concepts – 8th Edition, by Silberschatz, Galvin and Gagne Updated and Modified by Dr. Abdullah Basuhail,
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 1: Introduction.
Operating Systems Chapter 1.
Chapter 1: Introduction
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
Chapter 1: Introduction
Chapter 1 Introduction to Operating System Bernard Chen Spring 2007.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts What is an Operating System? A program that acts as an intermediary.
Process Management A process is a program in execution. It is a unit of work within the system. Program is a passive entity, process is an active entity.
Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System Organization.
Chapter 1: Introduction
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Silberschatz, Galvin and Gagne ©2009 Edited by Khoury, 2015 Operating System Concepts – 9 th Edition, Chapter 1: Introduction.
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
SYSTEM SOFTWARE Prepared by: Mrs. Careene McCallum-Rodney.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Operating Systems CSCI 411.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Operating System Course Instructor: Rasool Jalili,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Chapter 1: Introduction
1 Chapter 1: Introduction. 2 What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System.
Company Confidential 1 Operating Systems. Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Caching Important principle, performed at many levels in a computer (in.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
Welcome to The University of Lahore Sargodha Campus.
Chapter 1. Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 12, 2005 Introduction Introduction What.
Operating Systems Introduction to Operating System (OS)
Chapter 1: Introduction. 1.2 What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction Revised and updated by David Sarne.
CSE Operating System Principles
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Chapter 1: Introduction Narzu Tarannum(NAT) Reff: BIS.
System Components Operating System Services System Calls.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives To provide a grand tour of the major operating.
Nadeem Majeed Choudhary
Unit 2 Computer Systems HND in Computing and Systems Development
Chapter 1: Introduction
Chapter 1: Introduction Lecture 1 Part 1
Chapter 1: Introduction
Chapter 1: Introduction
Operating System Structure
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1 Introduction to Operating System
Chapter 1: Introduction
Chapter 1: Introduction Lecture 1 Part 1
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 2: Operating-System Structures
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

Introduction to Operating System

1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides a basis for application programs and acts as an intermediary between the computer user and computer hardware.

Types of Operating System Single Program OS A Single program to execute at a time Concurrent OS More than one program concurrently Time Sharing OS Multiple Users can access a single Computer System Multiprocessing OS Multiple program executed by multiple processors Virtual Storage OS Secondary Storage device as an extension of primary storage Real Time OS Computer to control other machines or process

What do Operating System do? The computer system can be divided roughly into four components: 1. The hardware 2. The operating system 3. The application software 4. The Users

USER View of OS Ease to use (Home PCs) Efficient resource utilization (Work stations)

SYSTEM view of OS OS is a resource allocator Manages all resources (CPU time, memory space, storage space, I/O and so on) Decides between conflicting requests for efficient and fair resource use OS is a control program Controls execution of programs to prevent errors and improper use of the computer

Computer Startup Bootstrap program is loaded at power up or reboot Typically stored in ROM, generally known as firmware Initialize all aspects of system Loads operating system kernel and starts execution

Process management A process is a program in execution. It is a unit of work within the system. Process needs resources to accomplish its task CPU, Memory, files, I/O devices

Process management The operating system is responsible for the following activities in connection with process management: Creating and deleting both user and system processes Suspending and resuming processes Providing mechanisms for process synchronization Providing mechanisms for process communication Providing mechanisms for deadlock handling

Memory management activities Keeping track of which parts of memory are currently being used and by whom Deciding which processes and data to move into and out of memory Allocating and deallocating memory space as needed

Storage Management OS provides uniform, logical view of information storage file Each medium is controlled by device (i.e., disk drive, tape drive)

Storage Management File-System management Files usually organized into directories Access control on most systems to determine who can access what OS activities include 1. Creating and deleting files and directories 2. Primitives to manipulate files and dirs 3. Mapping files onto secondary storage 4. Backup files onto stable (non-volatile) storage media

Mass-Storage Management Usually disks used to store data that does not fit in main memory or data that must be kept for a “long” period of time. OS activities 1. Free-space management 2. Storage allocation 3. Disk scheduling 4. Tertiary storage includes optical storage, magnetic tape 5. Varies between WORM (write-once, read-many- times) and RW (read-write)

Protection and Security Protection–any mechanism for controlling access of processes or users to resources defined by the OS Security–defense of the system against internal and external attacks even when protection is activated (including denial-of-service, worms, viruses, identity theft, theft of service)

Protection and Security Systems generally first distinguish among users, to determine who can do what User identities (user IDs, security IDs) include name and associated number, one per user User ID then associated with all files, processes of that user to determine access control Group identifier (group ID) allows set of users to be defined and controls managed, then also associated with each process, file Privilege escalation allows user to change to effective ID with more rights

Operating System Services User interface Program execution File-system manipulation Communication Error detection Resource allocation Accounting Protection and security