Advanced Computer Architecture MCQs with Answers
Practice important Advanced Computer Architecture MCQs with answers and explanations.
Chapter: 40
Q881:
What does a page fault indicate?
A. The requested page is in memory
B. The requested page is not in memory
C. Memory is full
D. The page is being written to
Correct Answer:
B
Chapter: 40
Q882:
What happens during a TLB hit?
A. The physical address is applied to the cache
B. The page table is searched
C. Memory management is suspended
D. Secondary memory is accessed
Correct Answer:
A
Chapter: 40
Q883:
What is the function of the dirty bit in a page table?
A. It tracks the physical address location
B. It indicates if a page has been modified
C. It stores user permissions
D. It identifies the page size
Correct Answer:
B
Chapter: 40
Q884:
What does a memory management unit (MMU) do?
A. It manages CPU speed
B. It translates logical addresses to physical addresses
C. It creates virtual addresses
D. It stores data permanently
Correct Answer:
B
Chapter: 40
Q885:
How is the physical address formed in segmented memory?
A. By adding the virtual address to the segment number
B. By multiplying the page number with the word field
C. By dividing the page number by the segment number
D. By adding the virtual address to the segment base register
Correct Answer:
A
Chapter: 40
Q886:
What type of memory fragmentation occurs with paging?
A. Internal fragmentation
B. External fragmentation
C. Memory depletion
D. None of the above
Correct Answer:
A
Chapter: 40
Q887:
In Direct Memory Access (DMA), data is transferred without the attention of which component?
A. CPU
B. MMU
C. Cache
D. Registers
Correct Answer:
A
Chapter: 40
Q888:
What is one advantage of using virtual memory?
A. It requires more physical memory
B. It simplifies the addressing scheme
C. It increases CPU load
D. It eliminates the need for secondary storage
Correct Answer:
B
Chapter: 40
Q889:
What does the presence bit in a page table entry indicate?
A. The availability of a page in physical memory
B. The size of the page
C. The total number of pages
D. The location of the CPU
Correct Answer:
A
Chapter: 40
Q890:
What happens when a page fault occurs?
A. The program resumes immediately
B. The requested page is fetched from secondary memory
C. The CPU is shut down
D. The process is terminated
Correct Answer:
B
Chapter: 40
Q891:
What is the purpose of the access control bits in the page table?
A. To manage cache memory
B. To specify read/write and execute permissions
C. To indicate the size of the page
D. To track memory speed
Correct Answer:
B
Chapter: 40
Q892:
What must occur before a needed page can be brought into main memory?
A. Page replacement
B. Interrupt handling
C. Page fault handling
D. Memory allocation
Correct Answer:
C
Chapter: 40
Q893:
Fill in the blank: The _____ allows the CPU to access a virtual address efficiently by mapping it to a physical address.
A. Memory Cache
B. Memory Management Unit
C. Secondary Storage
D. CPU Cache
Correct Answer:
B
Chapter: 40
Q894:
What happens if there is a limit check fault during virtual address translation?
A. The program continues execution
B. The CPU generates an exception
C. The page is loaded into memory
D. The memory is reallocated
Correct Answer:
B
Chapter: 41
Q895:
What is the refresh time for the DRAM in Example 1?
A. 5 ms
B. 9 ms
C. 10 ms
D. 12 ms
Correct Answer:
B
Chapter: 41
Q896:
How many rows does the DRAM have in Example 1?
A. 512
B. 1024
C. 256
D. 1280
Correct Answer:
A
Chapter: 41
Q897:
What is the frequency of row refresh operation if a DRAM has 512 rows and refresh time is 9ms?
A. 1.76 x 10^-5 seconds
B. 5.12 x 10^-5 seconds
C. 9 x 10^-3 seconds
D. 4 x 10^-5 seconds
Correct Answer:
A
Chapter: 41
Q898:
In Example 2, what fraction of the DRAM's time is spent on refreshing?
A. 0.0103
B. 0.1
C. 0.05
D. 0.005
Correct Answer:
A
Chapter: 41
Q899:
What is the total cost of the memory system described in Example 3?
A. 145.5
B. 150.5
C. 130.5
D. 160.5
Correct Answer:
A
Chapter: 41
Q900:
If the hit rate is 80%, what is the miss rate?
A. 0.2
B. 0.8
C. 0.5
D. 0.1
Correct Answer:
A