Hung_Nguyen_HA3

docx

School

George Mason University *

*We aren’t endorsed by this school

Course

342

Subject

Information Systems

Date

Feb 20, 2024

Type

docx

Pages

1

Uploaded by hungnguyen090600

Report
Hung Nguyen IT 342 HW 3 1. What is this significant difference between the five-state and seven-state model? The significant difference between the five-state and seven model is that the seven-state model has the suspended state which allows the operating system to swap processes out of memory. Moreover, the five-state model has 5 states (running, waiting/blocked, ready, new, terminated/exit). On the other hand, the seven-state model has 7 states (new, ready, running, blocked, blocked suspended, ready suspended, exit) 2. What occurs during the new state? What happens during the new state is that the operating system allocates for resources and creates the necessary data structures to manage the process. For instance, things such as assign a unique identifier, allocate space, initialize the PCB, set up pointers, and create data structure. 3. What occurs during the exit state? What happens during the exit state is that the operating system removes the data structure and deallocates the resources. For instance, things such as remove data structure, clear pointers, deallocate space, place the identifier on the unused pile. 4. How is the PCB different between two processes? How are they the same? Process Control Block (PCB) has the same form across specific operating system. However, the data is different being specific to owning process. 5. How can an instruction trace be used? For each process, instruction trace can be used to track the progression of the process to make sure that it is operating as it was originally designed. Moreover, for Central Processing Unit, it can be used to track down coordination issues as each process moves in and out of the CPU. 6. List three general categories of information in a PCB. The general categories of information in a PCB are memory pointers, accounting information, I/O status information, and resource information.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help