OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?

Slides:



Advertisements
Similar presentations
What is an Operating System?
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
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.
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
The Operating System. What is an Operating System? The program that is loaded first and manages the hardware resources like main memory, backing storage.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Operating-System Structures
Introduction CSCI 444/544 Operating Systems Fall 2008.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Figure 1.1 Interaction between applications and the operating system.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Standard 1 - Objective 2: Understand, evaluate, and use computer software.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Lesson 4 Computer Software
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
Introduction by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
Lecture 14: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Operating Systems James Harland
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Operating systems CHAPTER 7.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Software GCSE COMPUTING.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
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.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Operating Systems TexPREP Summer Camp Computer Science.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Basic Systems and Software. Were we left off Computers are programmable (formal) machines. Digital information is stored as a series of two states (1.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
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.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Linux & UNIX OS Overview Fort Collins, CO Copyright © XTR Systems, LLC Overview of the Linux & UNIX Operating Systems Instructor: Joseph DiVerdi, Ph.D.,
CHAPTER 1 INTRODUCTION TO OPERATING SYSTEMS
Introduction to Operating Systems Concepts
Computer Organisation
Operating System & Application Software
Operating Systems & System Software
Chapter Objectives In this chapter, you will learn:
Operating System.
Chapter 2: Operating-System Structures
Operating System Structure
Chapter 2: System Structures
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
TexPREP Summer Camp Computer Science
IB Computer Science Topic 2.1.1
What is an Operating System?
Operating Systems Lecture 3.
Outline Chapter 2 (cont) OS Design OS structure
Outline Operating System Organization Operating System Examples
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.
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Presentation transcript:

OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?

Need for an OS Adding two numbers 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 ;

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 We considered memory locations and used our hardware knowledge of the system. Need for an OS

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. Need for an OS

Operating Systems A simple program segment with no hardware consideration A more sophisticated program segment with hardware consideration Hardware response OS Machine Language

Operating Systems 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.

What is an Operating System? A modern computer consists of: One or more processors Main memory Disks Printers Various input/output devices. Managing all these varied components requires a layer of software – the Operating System (OS).

A good OS should be easily usable by everyone

What’s in an OS? Machine Dependent Services Interrupts, Cache, Physical Memory, TLB, Hardware Devices Generic I/O File System Memory Management Process Management Virtual Memory Networking NamingAccess Control Windowing & graphics Windowing & Gfx Machine Independent Services SYSTEM CALL API MD API Device Drivers ShellsSystem Utils QuakeSql Server Logical OS Structure

provides supports for other programs. It is responsible for loading other programs into memory for execution. However, the operating system itself is a program that needs to be loaded into the memory and be run. How is this dilemma solved? Operating Systems

Bootstrap process The solution is a two-stage process. A very small section of memory is made of ROM and holds a small program called the bootstrap program. When the computer is turned on, the CPU counter is set to the first instruction of this bootstrap program and executes the instructions in this program. When loading is done, the program counter is set to the first instruction of the operating system in RAM.

What is an Operating System? An operating system (OS) is: –a software layer to abstract away and manage details of hardware resources –a set of utilities to simplify application development –“all the code you didn’t write” in order to implement your application Applications OS Hardware

OS-Making the Computer Work for You Operating Systems –A collection of programs that manage and control all operations and coordinate all hardware components of the computer. –Some functions include: Controlling the mouse pointer. Sending data to the printer and screen. Managing files. Formatting disks. –Popular Operating Systems include Windows, Unix, MacOS, VMS, Linux, OS/2.

Operating System A program that controls the execution of application programs An interface between applications and hardware

Operating System Objectives Convenience Efficiency Ability to evolve

Layers and Views

OS-Making the Computer Work for You Utilities –Help to keep the computer running properly by: Making adjustments in efficiency. –Faster operation. –More efficient memory and hard disk use. –Better communication connections. Making repairs to damaged disks and files. Identifying and eliminating viruses.

20 Operating System Views Resource allocation to allocate resources (software and hardware) of the computer system and manage them efficiently. Control program Controls execution of user programs and operation of I/O devices. Kernel The program that executes forever (everything else is an application with respect to the kernel).

21 Abstract View of System System and Application Programs Operating System Computer Hardware Computer Hardware User 1 User 1 User 2 User 2 User 3 User 3 User n User n compilerassembler Text editor Database system...

OPERATING SYSTEM OVERVIEW The Layers Of A System Program Interface Humans User Programs O.S. Interface O.S. Hardware Interface/ Privileged Instructions Disk/Tape/Memory

Software layers ROM Hardware Operating System User Interface Software Files CPU, RAM, HD, DVD Word, scripts, mail, web browser… Data (.doc,.mp3) BIOS Linux CLI, X-Windows Windows MacOSX Firmware Quartz