Operating Systems. Overview What is an Operating System (OS) What is an Operating System (OS) What Operating Systems do. What Operating Systems do. Operating.

Slides:



Advertisements
Similar presentations
Drives, Directories and Files. A computer file is a block of arbitrary information, or resource for storing information. Computer files can be considered.
Advertisements

Computer Components.
IT Systems Operating System EN230-1 Justin Champion C208 –
Operating Systems. What is an Operating System? A layer of software between users/applications and the hardware. The first program loaded onto a computer.
Operating Systems BTEC IT Practitioners.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
The Operating System and the User Interface
Operating Systems.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Chapter 3  Manage the computer’s resources ◦ CPU ◦ Memory ◦ Disk drives ◦ Printers  Establish a user interface  Execute and provide services for applications.
Week 6 Operating Systems.
Operating Systems Basic PC Maintenance, Upgrade and Repair Mods 1 & 2.
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.
Operating Systems Who’s in charge in there?. Types of Software Application Software : Does things we want to do System Software : Does things we need.
How Hardware and Software Work Together
Chapter 4: What is an operating system?. What is an operating system? A program or collection of programs that coordinate computer usage among users and.
UNIX Unbounded 5 th Edition Amir Afzal Chapter 1 First Things First.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
Chapter 4: operating systems. What is an operating system? A program or collection of programs that coordinate computer usage among users and handle common.
Operating Systems.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Operating Systems Advanced OS - E. OS Advanced Evaluating an Operating System.
Computer and Information Science Computer Software Computer Software Chapter 1.2.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
Lecture 2 “Structure of computer” Informatics. Computer is  general purpose device that can be programmed to carry out a set of arithmetic or logical.
How Hardware and Software Work Together
IST 222 Introduction to Operating Systems Fall, 2004.
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Chapter 3 Installing Windows XP Professional. Preparing for installation Pre-installation requirement; ◦ Hardware requirements ◦ Hardware compatibility.
Disk Fragmentation 1. Contents What is Disk Fragmentation Solution For Disk Fragmentation Key features of NTFS Comparing Between NTFS and FAT 2.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Processes and OS basics. RHS – SOC 2 OS Basics An Operating System (OS) is essentially an abstraction of a computer As a user or programmer, I do not.
Working with Windows 2000 What it is: The system inside your computer that enables it to run software Uses icons (pictures) to access and work within programs.
Operating System Basics section 6A. This lesson includes the following sections: Running Programs Managing Files Managing Hardware Utility Software.
INFO 320 Server Technology I Week 1 Server operating system and hardware concepts 1INFO 320 week 1.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 1 Introduction to Operating Systems.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
The Operating System ICS3M.  The operating system (OS) provides a consistent environment for other software programs to execute commands.  It gives.
Computer Systems Mrs. Butera. Computer Systems Hardware Software.
Operating Systems Lesson Objective: Understanding the functions of an operating system. Learning Outcome: Answer some basic questions on operating systems.
IST 222 Day 3. Homework for Today Take up homework and go over Go to Microsoft website and check out their hardware compatibility list.
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.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 2 How Hardware and Software Work Together.
Memory Management OS Fazal Rehman Shamil. swapping Swapping concept comes in terms of process scheduling. Swapping is basically implemented by Medium.
Match the following Operating System concepts with definition A to E.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
OPERATING SYSTEMS DO YOU REQUIRE AN OPERATING SYSTEM IN YOUR SYSTEM?
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
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.
Introduction to Operating Systems Concepts
Operating System & Application Software
Chapter Objectives In this chapter, you will learn:
Computer Fundamentals 1
Operating System.
Introduction to Operating Systems
What is an Operating System?
Systems Software Keywords Operating Systems
OPERATING SYSTEMS.
Computer Science I CSC 135.
O.S Lecture 13 Virtual Memory.
Intro. To Operating Systems
Software - Operating Systems
What is an operating system An operating system is the most important software that runs on a computer. It manages the computer's memory and processes,
Presentation transcript:

Operating Systems

Overview What is an Operating System (OS) What is an Operating System (OS) What Operating Systems do. What Operating Systems do. Operating system issues Operating system issues Kinds of Operating Systems Kinds of Operating Systems

What is an OS? “An operating system is a layer of software which takes care of technical aspects of a computer's operation. It shields the user of the machine from the low-level details of the machine's operation and provides frequently needed facilities” Taken from

What is an OS? An Operating System makes the computing power available to users by controlling the hardware An Operating System makes the computing power available to users by controlling the hardware Without an OS, computers would only be able to run one program at a time Without an OS, computers would only be able to run one program at a time Programs must run according to the rules of the OS Programs must run according to the rules of the OS

What Operating Systems do: 1. Provide software for driving the hardware of the computer 2. Implement a file system which provides a way of organizing files logically 3. Distribute computer resources between applications

1. Software that Runs Hardware A driver is software that designed to run a piece of hardware A driver is software that designed to run a piece of hardware Ex: Printer, fancy keyboard, scanner Ex: Printer, fancy keyboard, scanner New drivers are built into the OS. This is why it is often necessary to restart your computer when a driver is added New drivers are built into the OS. This is why it is often necessary to restart your computer when a driver is added

2. File System The OS must save files in a logical efficient way The OS must save files in a logical efficient way Hard drive, floppy disk Hard drive, floppy disk Through FAT (File Allocation Table) Through FAT (File Allocation Table) Recall, FAT32 vs FAT16 Recall, FAT32 vs FAT16 32 bit addressing means each section of memory is broken up into 2^32 individual addressing locations 32 bit addressing means each section of memory is broken up into 2^32 individual addressing locations Much faster to find a file! Much faster to find a file!

File Systems: NTFS NTFS is the “NT File System” developed by Microsoft NTFS is the “NT File System” developed by Microsoft Faster and more efficient. Faster and more efficient. XP and Vista would use NTFS XP and Vista would use NTFS

RAM OS is also responsible for memory allocation in RAM OS is also responsible for memory allocation in RAM The OS itself stays in RAM while the computer is on The OS itself stays in RAM while the computer is on OS controls what is moved into and out of RAM OS controls what is moved into and out of RAM

Virtual Memory Several programs can’t fit in main memory so what happens? Several programs can’t fit in main memory so what happens? Virtual memory is parts of active programs stored on the hard drive. Virtual memory is parts of active programs stored on the hard drive. EX: I’ve got Windows XP running, MS Word, 3 Explorer Windows one being active EX: I’ve got Windows XP running, MS Word, 3 Explorer Windows one being active Rather then not letting you open more programs the OS will run them using Virtual Memory Rather then not letting you open more programs the OS will run them using Virtual Memory

3. Distributing Computer Resources The CPU can only do one thing at a time. Fortunately it can do billions of things per second… The CPU can only do one thing at a time. Fortunately it can do billions of things per second… The OS is responsible for giving CPU time to currently running applications. The OS is responsible for giving CPU time to currently running applications. The OS also makes sure two applications don’t try accessing the same piece of hardware at the same time. The OS also makes sure two applications don’t try accessing the same piece of hardware at the same time.

2 OS Issues Concurrency control (multi-tasking) Concurrency control (multi-tasking) Deadlock Deadlock

Concurrency Control Several programs running at a time Several programs running at a time Means Sharing CPU time Means Sharing CPU time While a program waits for an I/O operation another program can use the CPU While a program waits for an I/O operation another program can use the CPU

Deadlock Program A wants to copy from disk1 to disk2 and takes control of disk1 Program A wants to copy from disk1 to disk2 and takes control of disk1 Program B wants to copy from disk2 to disk1 and takes control of disk2 Program B wants to copy from disk2 to disk1 and takes control of disk2 Program A must wait until program B releases disk2 and program B must wait until program A releases disk1 Program A must wait until program B releases disk2 and program B must wait until program A releases disk1 Programs A and B will wait forever! Programs A and B will wait forever!

Deadlock Prevention OS must have a systematic way of controlling program execution OS must have a systematic way of controlling program execution This is a very complex problem This is a very complex problem One simple not very efficient solution is to have programs “timeout”, in our example program A would timeout first and release disk 1 and try again shortly One simple not very efficient solution is to have programs “timeout”, in our example program A would timeout first and release disk 1 and try again shortly

Kinds of Operating Systems What’s the best? What’s the best? Windows=Microsoft =monopoly!!! Windows=Microsoft =monopoly!!! Success due to??? Success due to??? Other alternatives: Other alternatives: Mac- I’ve never met a sad Mac user Mac- I’ve never met a sad Mac user Linux/Unix- Small very efficient, maybe less intuitive Linux/Unix- Small very efficient, maybe less intuitive

Work on OS Assignment