Exam Review Andy Wang Operating Systems COP 4610 / CGS 5765.

Slides:



Advertisements
Similar presentations
CAS3SH3 Midterm Review. The midterm 50 min, Friday, Feb 27 th Materials through CPU scheduling closed book, closed note Types of questions: True & False,
Advertisements

Cpr E 308 Spring 2004 Recap for Midterm Introductory Material What belongs in the OS, what doesn’t? Basic Understanding of Hardware, Memory Hierarchy.
Chapter 5 CPU Scheduling. CPU Scheduling Topics: Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Processes and Their Scheduling.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
1 Threads CSCE 351: Operating System Kernels Witawas Srisa-an Chapter 4-5.
Chapter 2: Processes Topics –Processes –Threads –Process Scheduling –Inter Process Communication (IPC) Reference: Operating Systems Design and Implementation.
CS 311 – Lecture 23 Outline Kernel – Process subsystem Process scheduling Scheduling algorithms User mode and kernel mode Lecture 231CS Operating.
Scheduling in Batch Systems
Avishai Wool lecture Priority Scheduling Idea: Jobs are assigned priorities. Always, the job with the highest priority runs. Note: All scheduling.
Chapter 5-CPU Scheduling
Process Concept An operating system executes a variety of programs
General What is an OS? What do you get when you buy an OS? What does the OS do? What are the parts of an OS? What is the kernel? What is a device.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Basic Concepts Maximum CPU utilization.
Chapter 6: CPU Scheduling
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
CSC 360- Instructor: K. Wu CPU Scheduling. CSC 360- Instructor: K. Wu Agenda 1.What is CPU scheduling? 2.CPU burst distribution 3.CPU scheduler and dispatcher.
CS 153 Design of Operating Systems Spring 2015 Midterm Review.
Semaphores and Bounded Buffer Andy Wang Operating Systems COP 4610 / CGS 5765.
Concurrency: Threads, Address Spaces, and Processes Andy Wang Operating Systems COP 4610 / CGS 5765.
ICS Principles of Operating Systems Lecture 5 - CPU Scheduling Prof. Nalini Venkatasubramanian
Cpr E 308 Spring 2004 Real-time Scheduling Provide time guarantees Upper bound on response times –Programmer’s job! –Every level of the system Soft versus.
Chapter 1 Computer System Overview Sections 1.1 to 1.6 Instruction exe cution Interrupt Memory hierarchy Cache memory Locality: spatial and temporal Problem.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Chapter 5 Processor Scheduling Introduction Processor (CPU) scheduling is the sharing of the processor(s) among the processes in the ready queue.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria.
1 11/29/2015 Chapter 6: CPU Scheduling l Basic Concepts l Scheduling Criteria l Scheduling Algorithms l Multiple-Processor Scheduling l Real-Time Scheduling.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
Silberschatz and Galvin  Chapter 3:Processes Processes –State of a process, process control block, –Scheduling of processes  Long term scheduler,
6.1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
CSE 153 Design of Operating Systems Winter 2015 Midterm Review.
1/31/20161 Final Exam Dec 10. Monday. 4-7pm. Phelp 1160 Similar to midterm The exam is closed book. You can bring 2 page of notes (double sided) Nachos.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Exam Review Andy Wang Operating Systems COP 4610 / CGS 5675.
1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
CE Operating Systems Lecture 8 Process Scheduling continued and an introduction to process synchronisation.
CMPT 300: Operating Systems Course Summary THIS SUMMARY SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Implementing Mutual Exclusion Andy Wang Operating Systems COP 4610 / CGS 5765.
1 Lecture 5: CPU Scheduling Operating System Fall 2006.
1 Chapter 5: CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms.
CPU Scheduling Andy Wang Operating Systems COP 4610 / CGS 5765.
1 Module 3: Processes Reading: Chapter Next Module: –Inter-process Communication –Process Scheduling –Reading: Chapter 4.5, 6.1 – 6.3.
Process Synchronization. Concurrency Definition: Two or more processes execute concurrently when they execute different activities on different devices.
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
Sarah Diesburg Operating Systems COP 4610
Processes and Threads Processes and their scheduling
Section 10: Last section! Final review.
Concurrency: Threads, Address Spaces, and Processes
Chapter 6: CPU Scheduling
Andy Wang Operating Systems COP 4610 / CGS 5765
Concurrency: Threads, Address Spaces, and Processes
Andy Wang Operating Systems COP 4610 / CGS 5675
COMS Prelim 1 Review Session
Exam Review Mark Stanovich Operating Systems COP
Chapter 5: CPU Scheduling
Operating Systems Lecture 1.
Andy Wang Operating Systems COP 4610 / CGS 5675
Major Topics in Operating Systems
Implementing Mutual Exclusion
February 5, 2004 Adrienne Noble
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
CSE 153 Design of Operating Systems Winter 2019
Andy Wang Operating Systems COP 4610 / CGS 5765
EECE.4810/EECE.5730 Operating Systems
Sarah Diesburg Operating Systems COP 4610
Andy Wang Operating Systems COP 4610 / CGS 5675
Concurrency: Threads, Address Spaces, and Processes
CPU Scheduling: Basic Concepts
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

Exam Review Andy Wang Operating Systems COP 4610 / CGS 5765

Coverage Total: 50 points; 1 min / point 42 points based on lectures 1-13, assignments 1-4, and project 1 8 points based on your ability to apply various principles learned in the class

Introduction and History Definitions  Operating system  Job  Batch system  Timesharing

Introduction and History Short answers  Four phases of OS history OS design goals

Concurrency: Threads, Address Spaces, and Processes Definitions  Thread  Address space  Process  Context switch

Concurrency: Threads, Address Spaces, and Processes Definitions  Uniprogramming  Multiprogramming  Multithreading  Multiprocessing  Multitasking

Concurrency: Threads, Address Spaces, and Processes Short answers  Benefits of concurrency  Program vs. process  Dispatching loop  Thread state diagram  Amdahl’s law

Genesis: From Raw Hardware to Processes Definitions  Master boot record  System call  User mode  Kernel mode

Genesis: From Raw Hardware to Processes Short answers  Booting sequence  System call sequence  Process creation

CPU Scheduling Definitions  Starvation

CPU Scheduling Short answers  Preemptive vs. nonpreemptive scheduling  FIFO  RR  SJN  SRTF  Multilevel feedback queues  Lottery scheduling

Cooperating Threads Definitions  Atomic operation  Race condition

Cooperating Threads Short answers  Independent threads  Cooperating threads  Decision tree

Synchronization Definitions  Mutual exclusion  Critical section

Synchronization Short answers  Code verification

Implementing Mutual Exclusion Definitions  Busy waiting

Implementing Mutual Exclusion Short answers  Ways to implement locks

Semaphores and Bounded Buffer Definitions  Semaphore

Semaphores and Bounded Buffer Short answers  Semaphores vs. integers  Two uses of semaphores  Code verification (producer/consumer)

More on Semaphores Definitions  Safety  Liveness  Fairness

Project 1 shell Write a C program