JOB 1 is divided into three pages: P0,P1,P2 AND 1K EACH( remember that 1k = 1024
ID: 3737887 • Letter: J
Question
JOB 1 is divided into three pages: P0,P1,P2 AND 1K EACH( remember that 1k = 1024)
^^ this is what top cut off portion says
OPERATING SYSTEMS
Explanation / Answer
Ans (6)
Since the instruction starts at 637 bytes of Job1 it must reside in Page P0. Because 637 is smaller than 1024 for it to go on next page. Hence the option is 1
Ans(7)
since Page P0 is the first page of Job1 and 637 is lesser than 1024 the offset will be 637 itself. Hence option 1 is answer
Ans(8)
Since the instruction is in Page P0 and at offset 637. Memory location of P0 is F2. Thus we have F1 and F0 which are 1024 bytes each before F2. So the F0 + F1 will be 2048 and plus the offset we need to add as we are considering memory segment F2 completely. Thus 2048 + 637 = 2685 Hence option 2 is answer
Ans(9)
1238 is greater than 1024 that is greater page size. Thus it will be in page P1. But we need to subtract the bytes equivalent of size of page P0. Thus we have 1238 - 1024 = 14 bytest offset in page P1. as page P1 resides at memory location F6 the correct option is option 5
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.