Cache Memory Writing Scheme MCQ Quiz – Objective Question with Answer for Writing Scheme of Cache Memory

1. Which of the following is the biggest challenge in the cache memory design?

A. delay
B. size
C. coherency
D. memory access

Answer: C

Coherency is a major challenge in designing cache memory. The cache has to be designed by solving the problem of data coherency while remaining hardware and software compatible.

 

2. What arises when a copy of data is held both in the cache and in the main memory?

A. stall data
B. stale data
C. stop data
D. wait for the state

Answer: B

The stale data arises when the copy is held both in the cache memory and in the main memory. If either copy is modified, the other data become stale and the system coherency can be destroyed.

 

3. In which writing scheme does all the data writes go through to the main memory and update the system and cache?

A. write-through
B. write-back
C. write buffering
D. no caching of writing cycle

Answer: A

There are different writing schemes in the cache memory which increases the cache efficiency and one such is the write-through in which all the data go to the main memory and can update the system as well as the cache.

 

4. In which writing scheme does the cache is update but the main memory is not updated?

A. write-through
B. write-back
C. no caching of writing cycle
D. write buffering

Answer: B

The cache write-back mechanism needs a bus snooping system for the coherency. In this write-back scheme, the cache is updated first and the main memory is not updated.

 

5. In which writing scheme does the cache is not updated?

A. write-through
B. write-back
C. write buffering
D. no caching of writing cycle

Answer: D

The no caching write cycle does not update the cache but the data is written to the cache. If the previous data had cached, that entry is invalid and will not use. This makes the processor fetch data directly from the main memory.

 

6. Which writing mechanism forms the backbone of the bus snooping mechanism?

A. write-back
B. write-through
C. no caching of write cycles
D. write buffer

Answer: C

The no caching of the write cycle seems to be wasteful because it does not update the cache, and if any previous data is cached, that entry might be an error and is not used. So the processor access data from the main memory but this writing scheme forms the backbone of the bus snooping system for the coherency issue.

 

7. What is the main idea of the writing scheme in the cache memory?

A. debugging
B. accessing data
C. bus snooping
D. write-allocate

Answer: C

There is four main writing scheme in the cache memory which is, write-through, write-back, no caching of the write cycle, and write buffer. All these writing schemes are designed for bus snooping which can reduce the coherency.

 

8. In which scheme does the data write via a buffer to the main memory?

A. write buffer
B. write-back
C. write-through
D. no caching of the write cycle

Answer: A

The write buffer is slightly similar to the write-through mechanism in which data is written to the main memory but in the write buffer mechanism, data writes to the main memory via a buffer.

 

9. Which of the following can allocate entries in the cache for any data that is written out?

A. write-allocate cache
B. read-allocate cache
C. memory-allocate cache
D. write cache

Answer: A

A write-allocate cache allocates the entries in the cache for any data that is written out. If the data is transferred to the external memory so that, when it is accessed again, the data is already waiting in the cache. It works efficiently if the size of the cache is large and it does not overwrite even though it is advantageous.

 

10. Which of the following uses a bus snooping mechanism?

A. MC88100
B. 8086
C. 8051
D. 80286

Answer: A

The bus snooping mechanism uses a combination of cache tag status, write policies, and bus monitoring to ensure coherency. MC88100 or MC88200 uses a bus snooping mechanism.

Scroll to Top