CHAPTER 1 INTRODUCTION TO OPERATING SYSTEMS. 1.1 General Definition  An OS is a program which acts as an interface between computer system users and.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

1.2 History of Operating Systems
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
4/23/2015Engineering Problem Solving with C++ second edition, J. ingber 1 Engineering Problem Solving with C++, Etter/Ingber Chapter 1.
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Introduction CSCI 444/544 Operating Systems Fall 2008.
CS 345 Computer System Overview
Chapter Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing Describe.
1: Operating Systems Overview
OPERATING SYSTEM OVERVIEW
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Chapter 6: An Introduction to System Software and Virtual Machines
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
1 The development of modern computer systems Early electronic computers Mainframes Time sharing Microcomputers Networked computing.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Chapter 1 The Big Picture Chapter Goals Describe the layers of a computer system Describe the concept of abstraction and its relationship to computing.
Chapter 01 Nell Dale & John Lewis.
Principles of Programming Chapter 1: Introduction  In this chapter you will learn about:  Overview of Computer Component  Overview of Programming 
Operating systems CHAPTER 7.
Topics Introduction Hardware and Software How Computers Store Data
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
 What is an operating system? What is an operating system?  Where does the OS fit in? Where does the OS fit in?  Services provided by an OS Services.
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
 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.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Chapter 1 The Big Picture.
Understanding Operating Systems Flynn & McHoes
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Chapter 1 Computer Systems. Why study Computer Architecture? Examples Web Browsing - how does the browser access pages from a server? How can we create.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
Chapter 1 Introduction to Operating System Part 1
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
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.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
Midterm OPERATING SYSTEM. Objectives At the end of the course, the student should be able to: Define the operating system; Demonstrate the abstract view.
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.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Computer A Computer may be defined as an electronic device that operates upon data. So, a computer can store, process and retrieve data as and when desired.
1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
CHAPTER 1 INTRODUCTION TO OPERATING SYSTEMS
Applied Operating System Concepts
Chapter 1 The Big Picture
Operating System Structure
The Operating System Nick Sims.
Operating System Structure
Java programming lecture one
Computer Science I CSC 135.
Topics Introduction Hardware and Software How Computers Store Data
Operating System Concepts
Outline Chapter 2 (cont) OS Design OS structure
Ainsley Smith Tel: Ex
Introduction to Computer Programming
Java Programming Introduction
The Main Features of Operating Systems
System calls….. C-program->POSIX call
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.
Operating System Overview
Operating System Concepts
Function of Operating Systems
Presentation transcript:

CHAPTER 1 INTRODUCTION TO OPERATING SYSTEMS

1.1 General Definition  An OS is a program which acts as an interface between computer system users and the computer hardware.  It provides a user-friendly environment in which a user may easily develop and execute programs.  Otherwise, hardware knowledge would be mandatory for computer programming.  So, it can be said that an OS hides the complexity of hardware from uninterested users.

1.1 General Definition  In general, a computer system has some resources which may be utilized to solve a problem. They are  Memory  Processor(s)  I/O  File System  etc.

1.1 General Definition Mainboard

1.1 General Definition

mainboard

1.1 General Definition processor

1.1 General Definition RAM

1.1 General Definition The OS manages these resources and allocates them to specific programs and users. With the management of the OS, a programmer is rid of difficult hardware considerations. An OS provides services for Processor Management Memory Management File Management Device Management Concurrency Control

1.1 General Definition  Another aspect for the usage of OS is that; it is used as a predefined library for hardware-software interaction.  This is why, system programs apply to the installed OS since they cannot reach hardware directly. Application Programs System Programs Operating System Machine Language HARDWARE

1.1 General Definition  Since we have an already written library, namely the OS, to add two numbers we simply write the following line to our program: c = a + b ;

1.1 General Definition in a system where there is no OS installed, we should consider some hardware work as: (Assuming an MC 6800 computer hardware) LDAA $80  Loading the number at memory location 80 LDAB $81  Loading the number at memory location 81 ADDB  Adding these two numbers STAA $55  Storing the sum to memory location 55 As seen, we considered memory locations and used our hardware knowledge of the system.

1.1 General Definition  In an OS installed machine, since we have an intermediate layer, our programs obtain some advantage of mobility by not dealing with hardware.  For example, the above program segment would not work for an 8086 machine, where as the “c = a + b ;” syntax will be suitable for both.

1.1 General Definition A simple program segment with no hardware consideration A more sophisticated program segment with hardware consideration Hardware response OS Machine Language

1.1 General Definition  With the advantage of easier programming provided by the OS, the hardware, its machine language and the OS constitutes a new combination called as a virtual (extended) machine. Machine Language Hardware Machine Language Hardware Operating System Machine Virtual (Extended) Machine

1.1 General Definition  In a more simplistic approach, in fact, OS itself is a program.  But it has a priority which application programs don’t have.  OS uses the kernel mode of the microprocessor, whereas other programs use the user mode.  The difference between two is that; all hardware instructions are valid in kernel mode, where some of them cannot be used in the user mode.

1.2 History of Operating Systems  It all started with computer hardware in about 1940s. ENIAC 1943

1.2 History of Operating Systems  ENIAC (Electronic Numerical Integrator and Computer), at the U.S. Army's Aberdeen Proving Ground in Maryland.  built in the 1940s,  weighed 30 tons,  was eight feet high, three feet deep, and 100 feet long  contained over 18,000 vacuum tubes that were cooled by 80 air blowers.

1.2 History of Operating Systems  Computers were using vacuum tube technology. ENIAC’s vacuum tubes

1.2 History of Operating Systems ENIAC’s backside

1.2 History of Operating Systems Programs were loaded into memory manually using switches, punched cards, or paper tapes. ENIAC : coding by cable connections

1.2 History of Operating Systems punch card

1.2 History of Operating Systems

Paper tape

1.2 History of Operating Systems

Babbage’s analytical engine (designed in 1840’s by Charles Babbage, but cold not be constructed by him. An earlier and simpler version is constructed in 2002, in London )

1.2 History of Operating Systems  Ada Lovalence (at time of Charles Babbage) wrote code for analytical engine to compute Bernulli Numbers

1.2 History of Operating Systems  As time went on, card readers, printers, and magnetic tape units were developed as additional hardware elements.  Assemblers, loaders and simple utility libraries were developed as software tools.  Later, off-line spooling and channel program methods were developed sequentially.

1.2 History of Operating Systems Commodore PET, 1977

1.2 History of Operating Systems  Finally, the idea of multiprogramming came.  Multiprogramming means sharing of resources between more than one processes.  By multiprogramming the CPU time is not wasted, because, while one process moves on some I/O work, the OS picks another process to execute till the current one passes to I/O operation.

1.2 History of Operating Systems  With the development of interactive computation in 1970s, time-sharing systems emerged.  In these systems, multiple users have terminals (not computers) connected to a main computer and execute her task in the main computer.

1.2 History of Operating Systems Terminals are connected to the main computer and used for input and output. No processing is made. They do not have CPUs. Main computer; having a CPU executing processes by utilization of the OS, (e.g. UNIX).

1.2 History of Operating Systems  Another computer system is the multiprocessor system having multiple processors sharing memory and peripheral devices.  With this configuration, they have greater computing power and higher reliability.

1.2 History of Operating Systems  Multiprocessor systems are classified into two as tightly-coupled and loosely-coupled (distributed).  In the tightly-coupled one, each processor is assigned a specific duty but processors work in close association, possibly sharing the same memory.  In the loosely coupled one, each processor has its own memory and copy of the OS.

1.2 History of Operating Systems  Use of the networks required OSs appropriate for them.  In network systems, each process runs in its own machine but the OS have access to other machines.  By this way, file sharing, messaging, etc. became possible.  In networks, users are aware of the fact that s/he is working in a network and when information is exchanged. The user explicitly handles the transfer of information.

1.2 History of Operating Systems Each is a computer having its own CPU, RAM, etc. An OS supporting networks is installed on them.

1.2 History of Operating Systems  Distributed systems are similar to networks. However in such systems, there is no need to exchange information explicitly, it is handled by the OS itself whenever necessary.  With continuing innovations, new architectures and compatible OSs are developed. But their details are not in the scope of this text since the objective here is to give only a general view about developments in OS concept.

GNU Website: