Computer AwarenessVery hardIBPS SO IT · IBPS PO Mains
In a virtual memory system, a 'page fault' occurs when a program refers to a page that:
- A. is not present in the cache memory
- B. has no entry in the translation lookaside buffer (TLB)
- C. belongs to the address space of another process
- D. is not currently loaded in main memory
Correct answer: D. is not currently loaded in main memory
A page fault means the page is on disk, not in RAM, so the OS must load it. A TLB miss only means the translation must be read from the page table; the page may well be in RAM.
हिंदी में
वर्चुअल मेमोरी प्रणाली में ‘पेज फ़ॉल्ट’ तब होता है जब कोई प्रोग्राम ऐसे पेज का संदर्भ देता है जो:
- A. कैश मेमोरी में उपस्थित नहीं है
- B. जिसकी ट्रांसलेशन लुकसाइड बफ़र (TLB) में कोई प्रविष्टि नहीं है
- C. किसी अन्य प्रक्रिया के एड्रेस स्पेस का है
- D. वर्तमान में मुख्य मेमोरी में लोड नहीं है
उत्तर: D. पेज फ़ॉल्ट का अर्थ है कि पेज डिस्क पर है, RAM में नहीं, इसलिए OS को उसे लोड करना पड़ता है। TLB मिस का अर्थ केवल इतना है कि अनुवाद पेज टेबल से पढ़ना होगा; पेज RAM में हो भी सकता है।
More Computer Awareness questions
- A program reads the elements of a large array one after another: a[0], a[1], a[2] and so on. Which property does the cache exploit to…
- Under a write-back cache policy, when is a modified cache block written to main memory?
- How many of these statements about the system bus are correct? I. The address bus carries addresses from the CPU to memory, so it is…
- Convert (563)₈ directly into hexadecimal.
- The decimal number 156 is stored once in pure binary and once in 8421 BCD. How many more bits does the BCD form need?
- What is the largest unsigned number that 12 bits can hold, written in octal?