Question: Q6 ) (Memory Organization) A computer provides each process with 65,536 bytes (2^16) of address space divided into pages of 4096 (2^12) bytes each. A

Q6 ) (Memory Organization) A computer provides each process with 65,536 bytes (2^16) of address space divided into pages of 4096 (2^12) bytes each.

  • A particular program has a text size of 32,768 (2^15)bytes
  •  a data size of 16,386 (2^14+2) bytes
  •  and a stack size of 15,870 (2^13+ 7678) bytes.

Will this program fit in the machine’s address space? Suppose that instead of 4096 (2^12) bytes, the page size were 512 (2^9) bytes, would it then fit? Each page must contain either text, data, or stack, not a mixture of two or three of them.

Step by Step Solution

3.47 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To determine if the program will fit in the address space lets break it down into steps and calculat... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!