138k views
4 votes
Consider a Job of 715 bytes that arrives for processing using a page size of 126 bytes, how many bytes would be loaded onto the last page of this job, and what would the number of that page be?

User EML
by
5.6k points

1 Answer

2 votes

Answer:

Total 6 pages will be consumed and 85 bytes will be on the 6th page.

Explanation:

Let the number of pages used for the job = x

If the page size is 126 bytes.

Then total number of bytes used for the job = 126x

If these bytes are equal to 715 bytes then the equation will be

126x = 715

x =
(715)/(126)

= 5.674 pages

That means 6 pages will be consumed.

and consumed bytes in 5 pages will be = 5×126 = 630 bytes

So remaining bytes will be on sixth page and the number will be = 715 - 630 = 85 bytes.

User CalderBot
by
5.9k points