Question:
Which of the following cache write policies writes updated data simultaneously to both the cache and the main memory?
निम्नलिखित में से कौन-सी कैश राइट पॉलिसी अपडेट किए गए डेटा को कैश और मुख्य मेमोरी दोनों में एक साथ लिखती है?
Options:
- Write-through
- Write-back
- Write-allocate
- No-write-allocate
- राइट-थ्रू (Write-through)
- राइट-बैक (Write-back)
- राइट-एलोकेट
- नो-राइट-एलोकेट
Correct Answer: a)
Explanation:
In a Write-through cache, every write operation to the cache is immediately and synchronously updated in main memory. In Write-back, updates are written to main memory only when the dirty cache line is evicted (Option a).
Write-through पॉलिसी में प्रत्येक राइट ऑपरेशन तुरंत कैश और मुख्य मेमोरी दोनों में निष्पादित होता है (विकल्प a)।