Filters
Question type

Consider paging address translation by direct mapping. Given the base address, a, in the page table origin register, virtual address v = (p, d) and an entry p' (in the page table starting at address a) for the page frame corresponding to virtual page p, what is the real address corresponding to v?


A) p' * d
B) p' concatenated with d
C) (a + p) * d
D) (a + p) concatenated with d

Correct Answer

verifed

verified

In a combined segmentation/paging system, ________.


A) all the pages of a segment must be in main memory at once
B) virtual memory pages that are contiguous in virtual memory must be contiguous in main memory
C) segments typically are arranged across multiple pages
D) all of the above

Correct Answer

verifed

verified

In a block mapping system, suppose that a is a base address stored in the block map table origin register and that the block map table for the process with base address a contains the real address b' for the start of virtual block b in main memory and the real address d' for the start of virtual block d in main memory. What is the real address of virtual address v = (b, d) ?


A) b' + d
B) d' + b
C) a + b'
D) a + d'

Correct Answer

verifed

verified

A

Using copy-on-write to ensure that two processes do not interfere with each other when modifying pages ________.


A) slows down process creation
B) improves performance when processes modify a significant amount of shared data during execution
C) both a and b
D) none of the above

Correct Answer

verifed

verified

A process given append-only access to a segment may __________.


A) read information from the segment
B) write information to the segment
C) pass program control to instructions in that segment for execution on a processor
D) write additional information to the end of the segment, but not modify existing information

Correct Answer

verifed

verified

Systems that use dynamic address translation exhibit ________-the property that contiguous addresses in a process's virtual address space need not be contiguous in physical memory.


A) transparent contiguity
B) dynamic contiguity
C) artificial contiguity
D) static contiguity

Correct Answer

verifed

verified

In a paging system, ________.


A) a page frame is always larger than an incoming page
B) a page frame is always smaller than the incoming page
C) given the virtual memory address v = (p, d) , where page p is in page frame p' and the fixed page size is ps, then the real memory address of v is (p' + d) * ps
D) when a process references a page that is not in main memory, the operating system loads the nonresident page into memory from secondary storage

Correct Answer

verifed

verified

In a virtual memory system , ________.


A) each virtual address space is much smaller than the real address space
B) determining how to map virtual addresses to physical addresses is of great importance
C) MMUs convert physical addresses to virtual addresses during execution
D) when the system is ready to run a process, the system loads the process's code and data from main memory into cache

Correct Answer

verifed

verified

To improve performance, a designer can attempt to reduce the number of collisions that occur in an inverted page table by ________.


A) increasing the size of the inverted page table
B) increasing the range of the hash function using a hash anchor table
C) both a and b
D) none of the above

Correct Answer

verifed

verified

Page sharing ________.


A) increases the amount of main memory required for a group of processes to run efficiently
B) decreases a system's degree of multiprogramming
C) does not allow modifiable procedures from being used by more than one process at the same time
D) none of the above

Correct Answer

verifed

verified

In multilevel page tables, __________ is reduced compared to direct-mapped tables when process's use only a small number of pages.


A) internal fragmentation
B) external fragmentation
C) memory fragmentation
D) table fragmentation

Correct Answer

verifed

verified

D

Sharing __________ using segmentation can simplify memory management compared to paging.


A) an object
B) reentrant code
C) a dynamic array
D) all of the above

Correct Answer

verifed

verified

Under direct/associative mapping, ________.


A) accessing the associative memory is slower than accessing the main memory
B) the number of entries in the TLB needs to be large to achieve good performance
C) the page table entries maintained in the TLB typically correspond only to the more-recently referenced pages
D) better performance can be achieved than under a complete associative mapping

Correct Answer

verifed

verified

C

In an inverted page table, the number of PTEs that must be stored in main memory is proportional to _________.


A) the size of physical memory
B) the size of virtual memory
C) the size of a virtual address space
D) the size of the process

Correct Answer

verifed

verified

All of a process's segments ________.


A) must consist of contiguous memory locations
B) must be the same size
C) must be placed adjacent to one another in main memory
D) are maintained in main memory during execution

Correct Answer

verifed

verified

The overhead incurred by multilevel page address translation is __________.


A) significant due to increased table fragmentation
B) significant due to additional memory references
C) offset by caches and TLBs
D) none of the above

Correct Answer

verifed

verified

In a system that uses segmentation address translation by direct mapping, ________.


A) the segment map table origin register contains the segment map table's base address value
B) the mapping mechanism uses the information stored in the segment map table to translate the virtual address to a physical address
C) the sum of the segment map table's base address and the segment number determines the location of the segment's map table entry
D) all of the above

Correct Answer

verifed

verified

In a paged and segmented system using combined associative/direct mapping, ________.


A) missing-segment faults, segment-overflow exceptions and segment-protection exceptions can never occur during dynamic address translation
B) the more tables a system maintains in main memory, the fewer processes it can support
C) the associative memory is unimportant to the efficient operation of the dynamic address translation
D) the benefit of maintaining only a few of the tables in main memory at any one time is that address translation proceeds faster at execution time

Correct Answer

verifed

verified

Inverted page tables use __________ to map virtual pages to PTEs.


A) arrays
B) hash functions
C) linked lists
D) chaining mechanisms

Correct Answer

verifed

verified

An associative mapping __________.


A) stores the entire page table in content-addressed associative memory
B) provides better performance than direct mapping
C) is too expensive to implement
D) all of the above

Correct Answer

verifed

verified

Showing 1 - 20 of 30

Related Exams

Show Answer