0
0
Operating Systemsknowledge~10 mins

Translation Lookaside Buffer (TLB) in Operating Systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the sentence to explain what a TLB does.

Operating Systems
A Translation Lookaside Buffer (TLB) is a [1] that stores recent virtual to physical address translations.
Drag options to blanks, or click blank then click option'
Acache
Bregister
Cdisk
Dprogram
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing TLB with main memory or disk storage.
2fill in blank
medium

Complete the sentence to describe the purpose of the TLB.

Operating Systems
The main purpose of the TLB is to [1] the time it takes to translate virtual addresses to physical addresses.
Drag options to blanks, or click blank then click option'
Areduce
Bignore
Cincrease
Ddelay
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the TLB increases or delays translation time.
3fill in blank
hard

Fix the error in the sentence about TLB misses.

Operating Systems
When a virtual address is not found in the TLB, it is called a [1] hit.
Drag options to blanks, or click blank then click option'
ATLB
Bmiss
Cpage
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing hit and miss terminology.
4fill in blank
hard

Fill both blanks to complete the explanation of TLB operation.

Operating Systems
The TLB stores [1] to [2] address mappings to speed up memory access.
Drag options to blanks, or click blank then click option'
Avirtual
Bphysical
Cdisk
Dcache
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up virtual and physical addresses.
5fill in blank
hard

Fill all three blanks to complete the dictionary comprehension that models a TLB cache.

Operating Systems
tlb_cache = [1]: [2] for [3], [4] in page_table.items() if [1] in recent_addresses}}
Drag options to blanks, or click blank then click option'
Avirtual_addr
Bphysical_addr
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing keys and values or variable names.