Embedded System Cache Memory MCQ Quiz – Objective Question with Answer for Embedded System Cache Memory

21. In which of the following the data is preserved within the cache?

A. logical cache
B. physical cache
C. unified cache
D. Harvard cache

Answer: B

In the physical cache, the data is preserved within the cache because it does not flush out during the context switching but on the other hand, the logical cache flushes out the data and clears it during a context switching.

 

22. What is the disadvantage of the physical address?

A. debugging
B. delay
C. data preservation
D. data cleared

Answer: B

The physical address access the data through the memory management unit which causes a delay.

 

23. Which cache memory solves the cache coherency problem?

A. physical cache
B. logical cache
C. unified cache
D. Harvard cache

Answer: A

The physical cache is more efficient and can provide the cache coherency problem solved and MMU delay is kept to a minimum. PowerPC is an example of this advantage.

 

24. What type of cache is used in the Intel 80486DX?

A. logical
B. physical
C. Harvard
D. unified

Answer: D

The Intel 80486DX processor has a unified cache. Similarly, Motorola MPC601PC also uses the unified cache. The unified cache has the same mechanism to store both data and instructions.

 

25. Which of the following has a separate cache for the data and instructions?

A. unified
B. Harvard
C. logical
D. physical

Answer: B

The Harvard cache has a separate cache for the data and the instruction whereas the unified cache has the same cache for the data and instructions.

 

26. Which type of cache is used in the SPARC architecture?

A. unified
B. Harvard
C. logical
D. physical

Answer: C

The SPARC architecture uses a logical cache whereas most of the internal caches designed now, use a physical cache because data is not flushed out in this cache.

 

27. Which of the following approach uses more silicon area?

A. unified
B. Harvard
C. logical
D. physical

Answer: B

The Harvard architecture has a separate bus for data and instruction, therefore, it requires more area. It also uses more silicon area for the second set of tags and the comparators.

 

28. 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.

 

29. 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.

Scroll to Top