An Introduction to Operating Systems

Slides:



Advertisements
Similar presentations
COURSE: COMPUTER PLATFORMS
Advertisements

MCT260-Operating Systems I Operating Systems I Introduction to Operating Systems.
Operating Systems: Software in the Background
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
The Operating System and the User Interface
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Operating System.
SOFTWARE.
Week 6 Operating Systems.
Computer for Health Sciences
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
System software operating system 1.
Chapter 4 System Software.
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
Operating Systems.
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
Intro to Computers Computer Apps 1.
Operating Systems JEOPARDY Computer Repair NetworkOS OS Tasks ConceptsComponentsMisc
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai
Foundation year Lec.3: Computer SoftwareLec.3: Computer Software Lecturer: Dalia Mirghani Year: 2014/2015.
Operating Systems Lesson Objective: Understanding the functions of an operating system. Learning Outcome: Answer some basic questions on operating systems.
Parts of the Computer System
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Lecture 1: Network Operating Systems (NOS) An Introduction.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Graphical User Interfaces (GUI’s ). & Command-Line Interfaces.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Operating Systems. Operating System Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
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.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
System SOFTWARE.
Computer Organisation
Introduction to Computing Systems
Section 2.1 Section 2.2 Identify hardware
Operating Systems & System Software
Resource Management IB Computer Science.
An Overview of the Computer System
2. OPERATING SYSTEM 2.1 Operating System Function
Operating System.
Computer Fundamentals 1
HARDWARE The hardware is the part you can see the computer, ie all components of their physical structure. The screen, keyboard, and mouse tower of the.
Tech Guide B: The Details of Software
Chapter 5: Using System Software
Network Operating Systems (NOS)
Operating System.
Computer Software.
Chapter 2: System Structures
Introduction to Operating System (OS)
Operating Systems What are they and why do we need them?
Chapter 1: Introduction
Looking Inside the machine (Types of hardware, CPU, Memory)
John Carelli, Instructor Kutztown University
An Overview of the Computer System
OPERATING SYSTEMS.
Common computer terminology
IT Infrastructure: Software
What is Concurrent Programming?
Operating System Introduction.
The Main Features of Operating Systems
Software - Operating Systems
TOPIC: HARDWARE AND SOFTWARE
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.
Introduction to Operating Systems
Overview of Computer system
Introduction to Computers
Presentation transcript:

An Introduction to Operating Systems

Definition An Operating System, or OS, is software that enables a user and application software to interact with a computer’s hardware and the data and other programs stored on the computer. An OS performs basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as printers.

Need for an OS: The primary need for the OS arises from the fact that user needs to be provided with services and OS ought to facilitate the provisioning of these services. The central part of a computer system is a processing engine called CPU. A system should make it possible for a user’s application to use the processing unit. A user application would need to store information. The OS makes memory available to an application when required. Similarly, user applications need use of input facility to communicate with the application. This is often in the form of a key board, or a mouse or even a joy stick (if the application is a game for instance).

The output usually provided by a video monitor or a printer as some times the user may wish to generate an output in the form of a printed document. Output may be available in some other forms. For example it may be a video or an audio file. Let us consider few applications. • Document Design • Accounting • E-mail • Image processing • Games We notice that each of the above application requires resources for • Processing information • Storage of Information • Mechanism to inputting information • Provision for outputting information These service facilities are provided by an operating system regardless of the nature of application.

The OS offers generic services to support all the above operations The OS offers generic services to support all the above operations. These operations in turn facilitate the applications. To that extent an OS operation is application neutral and service specific.

Other Services Program Execution OS provides an environment where the user can conveniently run programs. The user does not have to worry about memory allocation or CPU scheduling.  I/O Operations Each program requires input and produces output. The OS hides some of the details of the underlying hardware for such I/O. All the user sees is that the I/O has been performed, without those details.   Communications There are instances where processes need to communicate with each other to exchange information. It may be between processes running on the same computer or running on different computers. The OS provides these services to application programs, making inter-process communication possible, and relieving the user of having to worry about how this accomplished.

Application programs and OS Operating systems provide a software platform on top of which other programs, called application programs, can run. The choice of operating system, therefore, determines to a great extent the applications a user can run. For example, the DOS operating system contains commands such as COPY and RENAME for copying files and changing the names of files, respectively. The commands are accepted and executed by a part of the operating system. Similarly, the UNIX operating system has commands like CP and MV to copy and rename.

User and System View: From the user point of view the primary consideration is always the convenience. It should be easy to use an application. In launching an application, it helps to have an icon which gives a clue which application it is. We have seen some helpful clues for launching a browser, e-mail or even a document preparation application. In other words, the human computer interface which helps to identify an application and its launch is very useful. This hides a lot of details of the more elementary instructions that help in selecting the application. Similarly, if we examine the programs that help us in using input devices like a key board – all the complex details of character reading program are hidden from the user. The same is true when we write a program. For instance, when we use a programming language like C, a printf command helps to generate the desired form of output. The following figure essentially depicts the basic schema of the use of OS from a user stand point.

when it comes to the view point of a system, the OS needs to ensure that all the system users and applications get to use the facilities that they need. Also, OS needs to ensure that system resources are utilized efficiently. For instance, there may be many service requests on a Web server. Each user request need to be serviced. Similarly, there may be many programs residing in the main memory. The system need to determine which programs are active and which need to await some form of input or output. Those that need to wait can be suspended temporarily from engaging the processor. This strategy alone enhances the processor throughput. In other words, it is important for an operating system to have a control policy and algorithm to allocate the system resources.

UNIX UNIX was one of the first operating systems to be written, in 1971. Advantages of UNIX are… Multitasking – multiple programs can run at one time. Multi-user – allows more than a single user to work at any given time. This is accomplished by sharing processing time between each user. Safe – prevents one program from accessing memory or storage space allocated to another program, and enables file protection, requiring users to have permission to perform certain functions, such as accessing a directory, file, or disk drive.

Thanks