Lecture 18: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Operating Systems James Harland

Slides:



Advertisements
Similar presentations
Lecture 6: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 6 Audio James Harland
Advertisements

Lecture 16: Processes Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Processes James Harland
James Harland COSC1078 Introduction to Information Technology Lecture 12 System Fundamentals James Harland
Lecture 12: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 12 Machine Processing James Harland
Lecture 7: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Lecture 19: Internet Intro to IT COSC1078 Introduction to Information Technology Lecture 19 Internet James Harland
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 2 Overview James Harland
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Lecture 23: Future of IT Intro to IT COSC1078 Introduction to Information Technology Lecture 23 Future of IT James Harland
Lecture 10: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 10 System Fundamentals James Harland
Lecture 14: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Revision and Review James Harland
Lecture 6: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 6 Audio James Harland
IT Systems Operating System EN230-1 Justin Champion C208 –
Lecture 22: Internet Security Intro to IT COSC1078 Introduction to Information Technology Lecture 22 Internet Security James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Lecture 21: Internet Security Intro to IT COSC1078 Introduction to Information Technology Lecture 21 Internet Security James Harland
Lecture 3: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 3 Images James Harland
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
Lecture 7: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
Operating system Part three Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Lecture 14: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 15 Operating Systems James Harland
Lecture 9: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 9 System Fundamentals James Harland
Lecture 24: Review Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Review James Harland
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Lecture 4: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 4 Images James Harland
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Lecture 14: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Operating Systems James Harland
Lecture 24: Future of IT Intro to IT COSC1078 Introduction to Information Technology Lecture 24 Future of IT James Harland
Lecture 11: Machine Processing Intro to IT COSC1078 Introduction to Information Technology Lecture 11 Machine Processing James Harland
Lecture 18: Reflect and Research Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Reflect and Research James Harland
Lecture 17: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 17 Memory and Deadlock James Harland
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Lecture 8: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 8 Video James Harland
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Lecture 7: Video Intro to IT COSC1078 Introduction to Information Technology Lecture 7 Video James Harland
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
SWE202 Review. Processes Process State As a process executes, it changes state – new: The process is being created – running: Instructions are being.
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Revision Lecture Intro to IT COSC1078 Introduction to Information Technology Extra Lecture Review James Harland
Lecture 11: System Fundamentals Intro to IT COSC1078 Introduction to Information Technology Lecture 11 System Fundamentals James Harland
Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 3: Operating Systems
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Computer Science/Ch.3 Data Manipulation 3-1 Chapter 3 Data Manipulation.
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 2 How Hardware and Software Work Together.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
CT101: Computing Systems Introduction to Operating Systems.
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
CS149D Elements of Computer Science
Introduction to Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Presentation transcript:

Lecture 18: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Operating Systems James Harland

Lecture 18: Operating SystemsIntro to IT Introduction to IT 1-4 Introduction, Images, Audio, Video 5-6 Computer Fundamentals Assignment 1, WebLearn Test 1 7 Review 8 Operating Systems WebLearn Test 2 9 Operating Systems Assignment 2 10 Internet 11 Internet Security WebLearn Test 3 12 Future of ITAssignment 3, Peer and Self Assessment

Lecture 18: Operating SystemsIntro to IT Overview  Questions?  Assignment 2  Operating Systems  Questions?

Lecture 18: Operating SystemsIntro to IT Assignment 2  Now in the Learning Hub  Assumes you are using Audacity  If not, please see me asap  Seems a lot, but shouldn’t be too hard once you have Audacity and your files  CD task requires CD reading software Windows: ImgBurn Mac: Burn, Toast Linux: ImgBurn via Wine, or K3B, Brasero, Nero, …

Lecture 18: Operating SystemsIntro to IT Processes

Lecture 18: Operating SystemsIntro to IT Processes A program is a static set of instructions A processes is the execution of a program, which changes state over time.

Lecture 18: Operating SystemsIntro to IT Processes Switching Ready Waiting Scheduler maintains process table

Lecture 18: Operating SystemsIntro to IT Processes Switching

Lecture 18: Operating SystemsIntro to IT Interrupts  Signals to the CPU  Often generated by timing circuits  CPU reacts by jumping to appropriate memory location  Dispatcher  selects a ready process  resets timing circuit  starts process  CPUs often designed to switch process states efficiently

Lecture 18: Operating SystemsIntro to IT Interrupts  Provide mechanism to switch processes  CPU doesn’t have to wait for I/O transfers  Switching leads to faster throughput  `Save document’ means CPU does something else while the save takes place

Lecture 18: Operating SystemsIntro to IT Memory Management Memory Disk Mine! STOP IT!

Lecture 18: Operating SystemsIntro to IT Virtual Memory What if memory requirements exceed memory size?  Pretend we have more!  Shuffle required parts (pages) between disk and memory  Not every memory cell is needed all the time…

Lecture 18: Operating SystemsIntro to IT Virtual Memory DiskPhysical Memory ProcesssorProcesssor

Lecture 18: Operating SystemsIntro to IT Co-ordination and locking MINE! Works fine for one resource …

Lecture 18: Operating SystemsIntro to IT Deadlock Deadlock: neither can get both resources

Lecture 18: Operating SystemsIntro to IT Deadlock requirements Deadlock requires: 1.Competition for nonshareable resources 2.Processes request multiple resources sequentially 3.Resources cannot be forcibly retrieved Avoid deadlock by preventing 1 or 2 Detect and correct deadlock by falsifying 3

Lecture 18: Operating SystemsIntro to IT Deadlock avoidance Spooling makes nonshareable resources look like shareable ones …

Lecture 18: Operating SystemsIntro to IT Operating Systems  Highly complex software systems  million lines of code  Lots of processes associated with them  Probably most sophisticated software ever written  Not many of them around …

Lecture 18: Operating SystemsIntro to IT Operating Systems

Lecture 18: Operating SystemsIntro to IT Conclusion  Work on Assignment 2  Web Quizzes and Web Test 2  Finish reading book!