adplus-dvertising
frame-decoration

Question

If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is

a.

16

b.

32

c.

64

d.

128

Posted under Operating System

Answer: (d).128

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is

Similar Questions

Discover Related MCQs

Q. Which of the following statements is false?

Q. The memory allocation scheme subject to "external" fragmentation is

Q. Fragmentation of the file system

Q. Thrashing can be avoided if

Q. Which of the following statements is false ?

Q. With …………………. A page is written out to secondary memory only when it has been selected for replacement.

Q. The ……………. Determines when a page should be brought into main memory.

Q. Recall that Belady’s anomaly is that the pages-fault rate may increase as the number of allocated frames increases. Now consider the following statements:
S1: Random page replacement algorithm (where
a page chosen at random is replaced)
suffers from Belady’s anomaly.

S2: LRU page replacement algorithm suffers
from Belady’s anomaly .
Which of the following is CORRECT?

Q. Page stealing

Q. Which amongst the following is not a valid page replacement policy ?

Q. ‘LRU’ page replacement policy is

Q. What is page cannibalizing?

Q. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process :
1, 2, 1, 3, 7, 4, 5, 6, 3, 1
If Optimal Page Replacement policy is used, _______ page faults will occur for the above reference string.

Q. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process :
1, 2, 1, 3, 7, 4, 5, 6, 3, 1
How many page faults will occur for the above reference string with the Least Recently Used(LRU) Page Replacement Policy in comparison to an Optimal Page Replacement policy?

Q. Which of the following statements is true for the dirty page in a page table?

Q. Which page is selected by the Optimal Page Replacement Algorithm?

Q. Match the following lists:

a. Gang scheduling ------------------------------- i. Guaranteed scheduling
b. Rate monotonic scheduling ------------------ ii. Real-time scheduling
c. Fair share scheduling ------------------------- iii. Thread scheduling

Q. A system that uses FIFO page replacement policy has 4 page frames with no pages loaded initially. 100 distinct pages are accessed by the system in some order and then the same 100 pages are accessed in the reverse order. How many page faults will occur?

Q. The average time of service a page fault is 10ms and the time taken to access the memory is 1µs. A 99.99% hit ratio results in average memory their access time is __________.

Q. When size of the memory is increased the page replacement policy that sometimes leads to more page faults is called _________ .