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

1. Which of the following is more quickly accessed?

B. Cache memory

Answer: B

The cache memory is a small random access memory that is faster than a normal RAM. It has a direct connection with the CPU otherwise, there will be a separate bus for accessing data. The processor will check whether the copy of the required data is present in the cache memory if so it will access the data from the cache memory.


2. Which factor determines the effectiveness of the cache?

A. hit rate
B. refresh cycle
C. refresh rate
D. refresh time

Answer: A

The proportion of accesses of data that forms the cache hit, which measures the effectiveness of the cache memory.


3. Which of the following determines a high hit rate of the cache memory?

A. size of the cache
B. the number of caches
C. size of the RAM
D. cache access

Answer: A

The size of the cache increases and a large amount of data can be stored, which can access more data which in turn increases the hit rate of the cache memory.


4. Which of the following is a common cache?

D. Cache

Answer: C

The translation lookaside buffer is common to cache memory seen in almost all CPUs and desktops which are a part of the memory management unit. It can improve the virtual address translation speed.


5. Which factor determines the number of cache entries?

A. set commutativity
B. set associativity
C. size of the cache
D. number of caches

Answer: B

The set associativity is a criterion that describes the number of cache entries that could possibly contain the required data.


6. What is the size of the cache for an 8086 processor?

A. 64 Kb
B. 128 Kb
C. 32 Kb
D. 16 Kb

Answer: A

The 8086 processor has a 64 Kbytes cache, beyond this size, the cost will be extremely high.


7. How many possibilities of mapping does a direct-mapped cache have?

A. 1
B. 2
C. 3
D. 4

Answer: A

The direct-mapped cache only has one possibility to fetch data whereas, in a two-way system, there are two possibilities, for a three-way system, there are three possibilities, and so on. It is also known as the one-way set-associative cache.


8. Which of the following allows speculative execution?

A. 12-way set-associative cache
B. 8-way set-associative cache
C. direct-mapped cache
D. 4-way set-associative cache

Answer: C

The direct-mapped cache has the advantage of allowing a simple and fast speculative execution.


9. Which of the following refers to the number of consecutive bytes which are associated with each cache entry?

A. cache size
B. associative set
C. cache line
D. cache word

Answer: C

The cache line refers to the number of consecutive bytes which are associated with each cache entry. The data is transferred between the memory and the cache in a particular size which is called a cache line.


10. Which factor determines the cache performance?

A. software
B. peripheral
C. input
D. output

Answer: A

The cache performance is completely dependent on the system and software. In software, the processor checks out each loop and if a duplicate is found in the cache memory, immediately it is accessed.

Scroll to Top