CMPE320 FINAL EXAM
QUESTIONS AND
ANSWERS 2025 GRADED A+
Assume a system has a TLB hit ratio of 90%. It requires 15
nanoseconds to access the TLB and 85 nanoseconds to access
main memory. What is the effective memory access time in
nanoseconds for this system?
A. 108.5
B. 100
C. 22
D. 176.5 - ANSWER-A. 108.5
It's
,2|Page
TLB + PAGE TABLE + MAIN ...something I can't read my
notes.
Given the logical address 0xAEF9 with a page size of 256 bytes,
what is the page number?
A. 0xAE
B. 0xF9
C. 0xA
D. 0x00F9 - ANSWER-A. 0xAE
No idea how to get that.
With segmentation, a logical address consists of ___ .
A. Segment and offset
B. Segment name and offset
C. Segment number and page number
D. Segment table and segment number - ANSWER-A. Segment
number and offset
,3|Page
A ___ matches the process with each entry in the TLB.
A. Address-space identifier
B. Process ID
C. Stack
D. Page Number - ANSWER-A. Address-space identifier
Consider a simple paging system with the following
parameters...
2^32 bytes of physical memory
2^10 bytes page size
2^16 pages of logical address space
a) How many bits are in the logical address?
b) How many bytes in a frame
c) How many bits in the physical address specify the frame?
d) How many entries in the page table
c) How many bits in each page table entry? Assume each page
table entry contains a valid/invalid bit. - ANSWER-a) 2^16
pages * 2^10 bytes in a page size = 2^26 bytes = 26 bits
, 4|Page
b) 2^10 bytes
c) 2^32/2^10 = 2^22 = 22 bits
d) 2^16
c) 22+1 = 23
Frame - ANSWER-A fixed block of main memory. Available
chunks of memory.
Page - ANSWER-A fixed block of secondary memory (in like a
disk). Chunks of a process.
Segment - ANSWER-A variable block of secondary memory
What is memory management intended to satisfy requirements
wise? - ANSWER-Relocation
Protection
Sharing
Logical organization
Physical organization