Soft preparing for test

Operating system using a storage management page, the page table structure is given in FIG processes A and B, respectively. If the physical page size is 512 bytes, then the process variables A logical address 1111 (decimal) number stored in (1) physical memory pages. Suppose logical page logical page Process A 4 and the process B of 5 to shared physical page 8, it should be respectively filled in the process A page table logical pages 4 and process B page table logical page physical page at the corresponding 5 (2) .

A.9

B.2

C.4

D.6


The correct answer: C
decimal number 1111 into a binary number: 10001010111. The physical page size is 512 bytes, indicating that the page address is 9 bits, the logical address A in the process, the right side is 9-page address, the page number is left 2, namely: 10001010111. Page number is binary 10, i.e., decimal 2, the corresponding physical page number is four. A page table if the logical page 4 and page table B Process logical page 5 8 shared physical page, then the corresponding physical page 8 of them, are so filled 8.

Published 11 original articles · won praise 11 · views 10000 +

Guess you like

Origin blog.csdn.net/zh554275855/article/details/79859918