OPERATING SYSTEM (OS). OPERATING SYSTEM Software & systems The OS is software that controls the execution of computer programs and which may provide scheduling,

Slides:



Advertisements
Similar presentations
OPERATING SYSTEM INTRODUCTION
Advertisements

FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Operating System Structure
Operating-System Structures
CS 345 Computer System Overview
Lecture 1: History of Operating System
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Operating Systems BTEC IT Practitioners.
Chapter 11 Operating Systems
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Chapter 6: An Introduction to System Software and Virtual Machines
Types of Operating System
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
 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.
Software Software essential is coded programs that perform a serious of algorithms. Instructions loaded into primary memory (RAM) from secondary storage.
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.
Chapter 41 Processes Chapter 4. 2 Processes  Multiprogramming operating systems are built around the concept of process (also called task).  A process.
Operating Systems TexPREP Summer Camp Computer Science.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
A Level Computing for AQA Teacher’s Resource CD-ROM 42 CHAPTER: Operating systems Nick Sims Basic functions Classifying operating systems.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
Operating System Principles And Multitasking
February 02Page 1 Operating Systems Introduction.
CPSC 171 Introduction to Computer Science System Software and Virtual Machines.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Application Software System Software.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Operating Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Chapter 7 Operating Systems Foundations of Computer Science  Cengage Learning 1.
 PROCESS MANAGEMENT  A process is a program in execution: (A program is passive, a process active.)  A process has resources (CPU time, files) and.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
Systems Software / The Operating System CSC October 14, 2010.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
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.
Invitation to Computer Science 6th Edition
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 2: System Structures
Introduction to Operating System (OS)
TexPREP Summer Camp Computer Science
Virtual Memory Networks and Communication Department.
Chapter 4 The Power behind the Power
Chapter 2: System Structures
Chapter 4 The Power behind the Power
Ainsley Smith Tel: Ex
The Main Features of Operating Systems
Software - 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.
Lecture Topics: 11/1 Hand back midterms
Presentation transcript:

OPERATING SYSTEM (OS)

OPERATING SYSTEM Software & systems The OS is software that controls the execution of computer programs and which may provide scheduling, debugging,I/O- Control, Accounting, Compilation,Storage assignment, data management and related service. Defn:-

TYPE OF OPERATION SYSTEM WINDOWS Microsoft Windows: 95, 98, 98-Second-Edition Microsoft Windows: 2000( Professional & Edition) Microsoft Windows: Millennium (Me) Microsoft Windows:Network Server Microsoft Windows: XP(Professional & Edition); (XP-Service-Park I,II,III,IV) Microsoft Windows: XP-Vista/Microsoft-Vista LINUX Debian Red-Hat Ubuntu,Kubuntu,Xubuntu,edubuntu Fedora-Core

OPERATING SYSTEM Computer programs,procedures,rules and possibly associated documentation and data per pertaining to the operation of a computer system. Noted from Author Without software,a computer is basically a useless lump of metal,Silicon and Plastic. System Software Which manages the operation of the computer itself. Application program Which solve problems for their users.

APPLICATION SOFTWARE cont... May be mass produce for the consumer or business market or may be developed specifically to meet the need of a particular customer or set of user SYSTEM SOFTWARE The most fundamental of all the system programs is the OS.

SYSTEM SOFTWARE The most fundamental of all the system programs is the OS. The main roles of the OS are to: Hide the complexities of the hardware from the user Manager the hardware resources in order to provide for an orderly & controlled of the Processor,Memories and peripherals amongst the various application and system programs completing for them.

OTHER SYSTEM PROGRAM INCLUDE COMPILER translate the program that programmers write (source-code)into a code that the compiler understands (object-code). LINKER Which combine several components of object code to create a system from several programs. EDITOR Simple text editor that enable programmers to create and Edit their source code. INTERPRETER Operate to interpret commands from the keyboard,or other input device and instruct the computer to perform a specific function

OPERATING ENVIRONMENTS OS that does not focus on some form of desktop windows We can consider each of these development stages as providing an operating environment for business use. Some of these are now obsolete,but you should not automatically assume that an OS that does not focus on some many situations where such an approach is inappropriate. The environments we will consider are: Single-User,single process; Batch; Multi-programming; Interactive; Multi-access; Multi-access and batch; Multi-tasking and real-time Networked and client-server systems; Distributed computer systems multi-processing

SINGLE USER,SINGLE PROCESS The start-up and shut-down after Job major activity that was normally carried out by PC operation.  The program would then be started and would run until it was completed. The result of the run would typically be printing of a report.

BATCH To improve the efficiency of the computer a series of job could be set up one after another (Job Streaming)  A better approach was to read the punch cards onto magnetic tape & then load the tape containing perphaps hundreds of jobs onto the computer and run them one after another.

CONT..... Operator relieved from the constant loading and unloading of Jobs. The OS needs to after the transition between Jobs and ensuring that the result are separated for later printing. Business application that suitable for running in batch-code include payroll some intensive calculations data backup and archiving

MULTI-PROGRAMMING Is the apparently simultaneous execution of several programs all of which are held in memory. -A multi-programming OS balances the sharing of the processor among the application programs in order to achieve a good service to all. Include -minimise unused CPU time. -reduce the incidence of peripheral- bound operations. -Minimise total elapse time. -Prevent single programs from dominating the CPU.

INTERACTIVE An interactive or on-line system on the other hand,is one in which the user interacts directly with the system to supply commands and data as the application program undergoes execution and receive the results if processing immediately (Microsoft Os Ms-Dos)

MULTI-TASKING AND REAL-TIME May be applied to both Single and multi-user operating Systems. REAL-TIME Os are characterised by FOUR requirements -they have to support application programs which are nono- sequential in nature,i.e. they are continuous process and do not have a START-PROCESS-END Structure -They have to carry out processing and produce a response within a specified interval of time. -They may have to operate reliably in a fail-safe mode,if they are employed in safety critical application.

Main function of an OS Manager the computer resources for their optimal utilisation. Perform housekeeping operations.

STORAGE Memory management,to ensure that the processes that require memory can obtain it when they need it. PRIMARY FUNCTIONS OF AN OS PROCESSES process management, which supports scheduling of processing and interprocess communication and detection and prevention and prevention of deadlocks.

INPUT I/O management,to ensure that the system is not held up waiting unnecessarily for input and output to take place. DATA File management,to ensure effective control over secondary storage media, including space allocation and naming of files.

SECONDARY FUNCTIONS OF AN OS User Accounting In many OS it is possible to keep record of the usage that individuals have made of resources such as CPU,Disk Space,Printer pages.

LOGGING Memory The Os may keep comprehensive record of all the system action that relate to a particular program,or to all program. -Discovering the reason for failure and to predict future patterns of system utilisation.

UTILITY SOFTWARE Utility program of routines carry out certain well defined procedure that are common to virtually all application & installations. Her are some common UNIX examples: awk- pattern matching,data transforming,report generation cal-display calendars in various ways find-find a file and then carry out some action. Some of WINDOWS Notepad-Simple and change. Scan disk-Check disks for error.

OPERATIONG SYSTEM PROCESSES The concept of process is central to the study of OS's We saw earlier that it is a program in execution. It is necessary to distinguish between a program in execution. It is necessary to distinguish between a program and its execution in this way for three reasons. Several user may each have a copy of the same program running in memory at the same time;. a single program may be under execution multiple times simultaneously,E.G when users share copy of a complier;. when a program is loaded into main memory ready for execution its form changes;.

PROCESS MANAGEMENT Running (actually using the CPU) Runnable (able to run,but temporarily stopped by the OS to allow another process to run) suspended (unable to run until some external event occurs) RUNNING SUSPENDED RUNNABLE

PROCESS COMMUNICATION There TWO main method of process communication Sharing of common storage; message passing. I n some operating systems,processes that are working together may share some common memory that each one can read and write. The shared may be in RAM or it may be a shared file- the location of the shared memory does not change the nature of the communication

Various scheduling method are available to assist the scheduler in its task of selecting the next process. Some typical ones are: shortest Job first; shortest remaining time; Round-robin - in which the process that is at the top of the queue is run for a fixed period of time then put to the bottom of the queue. Each process gets an equal amount of time until it finished.

DEADLOCK Deadlock-Is a potential problem in any operating system. IT occurs when a group of processes each have granted exclusive access to some resources,and each one wants yet another resources that belongs to another process in the group. all of them are blocked and none will ever run again. U T B A

Figure above shows a deadlock situation Process A is waiting for resources T,which is currently held by process B; Process B is not about to release resource T because it is waiting for resource U, held by A; Both processes will wait forever. User Interfaces to the OS The user interfaces is that part of a computer through which a human user and the computer communicate.User interfaces can be classified as: Job Control Language (JCL) Command Line Interface (CLI) Graphical User Interface (GUI)