Main Memory (MM) and Central Processing Unit are important resources of the computer system that must be carefully managed. The part of Operating System (OS) that manages the memory is called Memory Manager. 'Partition' is a memory management scheme, which allocates processes in MM into a unique fixed-size partition; each partition contains exactly one process. When a partition is free, the OS selects a process from the input queue and loads it into the free partition; when the process terminates, the partition becomes available; a free partition is called 'hole'. Please, reply to the following questions by giving your own ORIGINAL and UNIQUE answers:

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 3VE
icon
Related questions
Question

Main Memory (MM) and Central Processing Unit are important resources of the computer system that must be carefully managed.

The part of Operating System (OS) that manages the memory is called Memory Manager. 'Partition' is a memory management scheme, which allocates processes in MM into a unique fixed-size partition; each partition contains exactly one process. When a partition is free, the OS selects a process from the input queue and loads it into the free partition; when the process terminates, the partition becomes available; a free partition is called 'hole'. Please, reply to the following questions by giving your own ORIGINAL and UNIQUE answers:

a) Draw a picture of the Main Memory (MM) divided into A 'assigned partitions' and B 'holes': fix your values for A and B1, and draw the corresponding MM layout. In the following, Pi, Pj and Pk are three processes residing in MM

b) Considering the 7 states diagram, answer to the following questions:

1) Can Pi be in the 'New' state? Why?

2) Can Pj be in the 'Running' state? Why?

3) Can Pk be in the 'Ready Suspended' state? Why?

4) Can Pi be in the 'Waiting Suspended' state? Why?

5) Can Pj be in the 'Terminate' state? Why?

c) Knowing that at time t, processes Pi, and Pj are in the ready state, and process Pk is waiting for the magnetic tape to complete its service; use process control blocks (PCB) and queue structures to draw the interesting queues of the system at time 't', and at time 't+1', when the request of process Pk is completed.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Time complexity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning