CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts.

Slides:



Advertisements
Similar presentations
COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
Advertisements

OPERATING SYSTEM An operating system is a group of computer programs that coordinates all the activities among computer hardware devices. It is the first.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System.
1. 2 The Evolution of Operating Systems : §The single processing machines of 1940’s and 1950’s were not very flexible or efficient. §The processing is.
4 1 4 C H A P T E R Software: Systems and Application Software.
Chapter 3 Operating Systems. Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems 3.1 The Evolution of Operating Systems 3.2 Operating System.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
MCT260-Operating Systems I Operating Systems I Introduction to Operating Systems.
Operating Systems: Software in the Background
Operating Systems BTEC IT Practitioners.
Chapter 11 Operating Systems
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Part two. 3.2 operating system architecture  Software have two categories  Application software  System software  Application software: consists of.
CMSC 1041 Operating Systems I An Introduction to Operating System Concepts.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Introduction to Operating Systems
SOFTWARE.
Week 6 Operating Systems.
Operating system Part two Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
CMSC 104, L031 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
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.
 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.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating Systems JEOPARDY Computer Repair NetworkOS OS Tasks ConceptsComponentsMisc
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CMSC Operating Systems I An Introduction to Operating System Concepts.
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 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1 Sec (3.2) Operating System Architecture OS. 2 Software dividing into two categories: 1. Application software 2. System Software  Operating System 
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 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 3: Operating Systems
Operating System Principles And Multitasking
Copyright © Curt Hill Operating Systems An Introductory Overview.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Operating Systems.
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
CMSC 104, Section 301, Fall Lecture 03, 9/09/02 Operating Systems and Using Linux Topics Review Number Systems. Go over Homework 1 Solution. CSHC.
Computer Operating Systems And Software applications.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
Operating Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
CT101: Computing Systems Introduction to Operating Systems.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
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.
Introduction to Operating System (OS)
What is an Operating System?
Shell & Kernel Concepts in Operating System
Operating System Architecture OS
Chapter 3: Operating Systems
Chapter 3: Operating Systems
CS149D Elements of Computer Science
Introduction to Operating Systems
The Main Features of Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Software - Operating Systems
Presentation transcript:

CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts

CMSC 104, Lecture 032 What is an Operating System (OS)? A computer program Performs many operations, such as: Allows you to communicate with the computer (tell it what to do) Controls access (login) to the computer Keeps track of all processes currently running

CMSC 104, Lecture 033 How Do I Communicate With the Computer Using the OS? You communicate using the particular OS’s user interface. Graphical User Interface (GUI) - Windows Command-driven interface - DOS, UNIX, Linux We will be using the Linux operating system, which is very similar to UNIX.

CMSC 104, Lecture 034 How Do I Communicate With the Computer Using the OS? (con’t) When you log in to the Linux system here, a user prompt will be displayed: linux#[1]% _ where # is the number of the Linux server that you have connected to. You may use any of the Linux servers. The number in the brackets will change as you work It is the “number” of the command that you are about to type. If this prompt is not on the screen at any time, you are not communicating with the OS.

CMSC 104, Lecture 035 OS Introduction Computer applications today require a single machine to perform many operations and the applications may compete for the resources of the machine. This demands a high degree of coordination This coordination is handled by system software known as the operating system

CMSC 104, Lecture 036 Evolution of Operating System OS for batch jobs oProgram execution required significant preparation of equipment oProgram execution (job) oOS was a system to simplify program setup and simplify transition between jobs oPhysical separation of users and equipment led to computer operators

CMSC 104, Lecture 037 OS Evolution (cont’d) oUsers left jobs with the operator and came back the next day (batch jobs) oUsers had no interaction with computer during program execution. Maybe okay for some applications, but not for all.

CMSC 104, Lecture 038 OS Evolution OS for Interactive Processing oAllowed programs to carry on dialogue with user via remote terminals (workstations) oReal-time processing oUsers demand timely response oMachines too expensive to serve only one user oCommon for several users to want interactive services at the same time

CMSC 104, Lecture 039 OS Evolution (cont’d) OS for time-sharing oTo accommodate multiple real-time users, the OS rotates its various jobs in and out of execution via time-sharing oEach job gets a predetermined “time slice” oAt end of time slice current job is set aside and a new one starts oBy rapidly shuffling jobs, illusion of several jobs executing simultaneously is created

CMSC 104, Lecture 0310 OS Evolution (cont’d) oWithout time slicing, a computer spends most of its time waiting for peripheral devices or users oA collection of tasks can be completed in less time with time-sharing than when completed sequentially

CMSC 104, Lecture 0311 Different Operating Systems on the Same Machine ? It is possible to have more than one operating system available to be used on a machine. Only one operating system is run at a time, though. Examples: oVAX -- VMS or Ultrix oPCs -- DOS, Windows, or Linux

CMSC 104, Lecture 0312 Types of software Applications software o Performs tasks specific to the machine’s utilization. System Software o Performs tasks common to computer systems in general o Operating systems vary based on the hardware they’re used on

CMSC 104, Lecture 0313 Types of software (cont’d) Utility software oProvides fundamental activities, yet not included with OS o“Extends” the OS oDistinction between applications and utilities is often vague oDistinction between OS and utilities is also vague

CMSC 104, Lecture 0314 The OS Shell Defines interface between OS and users oWindows GUI oUNIX command line oUNIX users can choose among a variety of shells csh is the “C shell” tcsh is an enhanced “C shell”

CMSC 104, Lecture 0315 OS Shell interface O / S shell Users

CMSC 104, Lecture 0316 The OS Kernel The internal part of the OS is often called the kernel Kernel Components oFile Manager oDevice Drivers oMemory Manager oScheduler oDispatcher

CMSC 104, Lecture 0317 OS File Manager Maintains information about the files that are available on the system Where files are located in mass storage, their size and type and their protections, what part of mass storage is available Files usually allowed to be grouped in directories or folders. Allows hierarchical organization.

CMSC 104, Lecture 0318 OS Device Drivers Software to communicate with peripheral devices or controllers Each driver is unique Translates general requests into specific steps for that device

CMSC 104, Lecture 0319 OS Memory Manager Responsible for coordinating the use of the machine’s main memory Decides what area of memory is to be allocated for a program and its data Allocates and deallocates memory for different programs and always knows what areas are free

CMSC 104, Lecture 0320 OS Scheduler Maintains a record of processes that are present, adds new processes, removes completed processes omemory area(s) assigned opriority ostate of readiness to execute (ready/wait)

CMSC 104, Lecture 0321 OS Dispatcher Ensures that processes that are ready to run are actually executed Time is divided into small (50 ms) segments called a time slice When the time slice is over, the dispatcher allows scheduler to update process state for each process, then selects the next process to run

CMSC 104, Lecture 0322 OS Summary Shell -- interface to user File Manager -- manages mass memory Device Drivers -- communicate with peripherals Memory Manager -- manages main memory Scheduler & Dispatcher -- manage processes

CMSC 104, Lecture 0323 Utilities Operating systems usually come with some associated utility programs UNIX usually has the text editors xemacs/emacs and vi (and sometimes pico) UNIX has its own sort utility UNIX has its own mail utility