CS350 Study Guide - Midterm Guide: False Flag, Program Counter, Earthbound

49 views9 pages
8 Oct 2014
Course
Professor

Document Summary

Read all of the following information before starting the exam: please keep your written answers brief; be clear and to the point. You do not need to ll the whole space provided for answers: this test has 6 problems and 9 pages (including the cover and a blank page). Make sure that you have all of the pages: this is a closed book exam. No additional material is allowed: good luck! Answer: program code, global variables, heap, and any resources assigned by the os such as. Answer: cpu registers, program counter, stack pointer, and the stack (though see note above): (4 pts) Give two examples of how a thread can go directly from running state to ready state. Answer: time quantum expired, preempted by a higher priority process, calls thread yield. Answer: i mutual exclusion ii progress iii bounded waiting: (4 pts) Consider the following solution to the critical section problem involving only two threads.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers