Lecture 16: Processes Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Processes James Harland

Slides:



Advertisements
Similar presentations
Process Description and Control
Advertisements

Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Lecture 9: Data Storage Devices Intro to IT COSC1078 Introduction to Information Technology Lecture 9 Data Storage Devices James Harland
Interactive lesson about operating system
O X Click on Number next to person for a question.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Lecture 6: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 6 Audio James Harland
Lecture 3: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 3 Images James Harland
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
COSC1078 Introduction to Information Technology Lecture 2 Overview
Lecture 19: Internet Intro to IT COSC1078 Introduction to Information Technology Lecture 19 Internet James Harland
Lecture 20: Internet Intro to IT COSC1078 Introduction to Information Technology Lecture 20 Internet James Harland
Processes Management.
O X Click on Number next to person for a question.
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
Day 08 Operating systems concepts and Processes. Functions of an OS.
CSC 501 Lecture 2: Processes. Von Neumann Model Both program and data reside in memory Execution stages in CPU: Fetch instruction Decode instruction Execute.
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
Lecture 1: IntroductionIntro to IT COSC1078 Introduction to Information Technology Lecture 1 Introduction James Harland
CSCI2413 Lecture 1 Operating Systems (OS) Introduction and Overview phones off (please)
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
Lecture 4: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 4 Images James Harland
1/23/2008CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating.
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 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
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
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
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
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
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Lecture 4: ImagesIntro to IT COSC1078 Introduction to Information Technology Lecture 4 Images James Harland
CSC 501 Lecture 2: Processes. Process Process is a running program a program in execution an “instantiation” of a program Program is a bunch of instructions.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment.
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
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
Lecture 18: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 18 Operating Systems James Harland
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
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.
Lecture 10: Binary Representation Intro to IT COSC1078 Introduction to Information Technology Lecture 10 Binary Representation James Harland
Lecture 16: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Operating Systems James Harland
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
Lecture 1: Review of Computer Organization
Chapter 2 Process Management. 2 Objectives After finish this chapter, you will understand: the concept of a process. the process life cycle. process states.
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.
Lecture 5: Audio Intro to IT COSC1078 Introduction to Information Technology Lecture 5 Audio James Harland
Chapter 1: Introduction
IS310 Hardware & Network Infrastructure Ronny L
Presentation transcript:

Lecture 16: Processes Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Processes James Harland

Lecture 15: BootingIntro to IT Introduction James Harland URL: Phone: Office: Consultation: Mon , Thu What colour is my office door? Carpet? Chair?

Lecture 16: ProcessesIntro to IT Introduction to IT 1 Introduction 2 Images 3 Audio 4 Video WebLearnTest 1 5 Binary Representation Assignment 1 6 Data Storage 7 Machine Processing 8 Operating Systems WebLearn Test 2 9 Processes Assignment 2 10 Internet 11 Internet Security WebLearn Test 3 12 Future of ITAssignment 3, Peer and Self Assessment

Lecture 16: ProcessesIntro to IT Overview  Questions?  Assignment 2  Assignment 3  Processes  Questions?

Lecture 16: ProcessesIntro to IT Processes

Lecture 16: ProcessesIntro 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 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register CC ROM RAM ProcessorMemory Disk 00 CC

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register DD ROM RAM ProcessorMemory Disk 00 CC DD

Lecture 16: ProcessesIntro to IT Processes Switching Ready Waiting Scheduler maintains process table

Lecture 16: ProcessesIntro to IT Processes Switching

Lecture 16: ProcessesIntro 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 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register 11 ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register FF ROM RAM Processor Memory Disk 00 FF

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register FF ROM RAM Processor Memory Disk 00 FF

Lecture 16: ProcessesIntro to IT Processes Executing in Context Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT ``Thomas, you wouldn’t! Naughty!’’ Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT ``Thomas, you wouldn’t! Naughty!’’ Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT ``Thomas, you wouldn’t! Naughty!’’ Program Counter Instruction Register BB ROM RAM Processor Memory Disk 00 BB

Lecture 16: ProcessesIntro to IT Software  `Programs should be able to do anything!’ (???)  Programs should be able to do anything reasonable  What is reasonable?  Not changing OS, not deleting other processes from memory, not playing with other people’s things, …

Lecture 16: ProcessesIntro 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 16: ProcessesIntro to IT Conclusion  Work on Assignment 2 (and 3?)  Web Quizzes and Web Test 2  Finish reading book!