Question: a) If a program has 354 bytes and will be loaded into page frames of 100 bytes each, and the instruction to be used is

 a) If a program has 354 bytes and will be loaded

a) If a program has 354 bytes and will be loaded into page frames of 100 bytes each, and the instruction to be used is at byte 56 , answer the following questions: i. How many pages are needed to store the entire job? ii. Compute the page number and exact displacement for each of the byte addresses where the data is stored. (Remember that page numbering starts at zero). ( 5 marks) b) Let's say a program has 510 bytes and will be loaded into page frames of 256 bytes each, and the instruction to be used is at byte 377 , answer the following questions: i. How many pages are needed to store the entire job? ii. Compute the page number and exact displacement for each of the byte addresses where the data is stored

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!