Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Cache Memory & Size of Cache - Computer Science Engineering (CSE) MCQ

Test: Cache Memory & Size of Cache - Computer Science Engineering (CSE) MCQ


Test Description

25 Questions MCQ Test - Test: Cache Memory & Size of Cache

Test: Cache Memory & Size of Cache for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Cache Memory & Size of Cache questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Cache Memory & Size of Cache MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Cache Memory & Size of Cache below.
Solutions of Test: Cache Memory & Size of Cache questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Cache Memory & Size of Cache solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Cache Memory & Size of Cache | 25 questions in 25 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Cache Memory & Size of Cache - Question 1

Which of the following is more quickly accessed?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 1

Explanation: The cache memory is a small random access memory which 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.

Test: Cache Memory & Size of Cache - Question 2

Which factor determines the effectiveness of cache?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 2

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

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Cache Memory & Size of Cache - Question 3

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 3

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

Test: Cache Memory & Size of Cache - Question 4

Which of the following is a common cache?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 4

Explanation: The translation lookaside buffer is common 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.

Test: Cache Memory & Size of Cache - Question 5

Which factor determines the number of cache entries?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 5

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

Test: Cache Memory & Size of Cache - Question 6

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 6

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

Test: Cache Memory & Size of Cache - Question 7

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 7

Explanation: The direct mapped cache only have one possibility to fetch data whereas 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.

Test: Cache Memory & Size of Cache - Question 8

 Which of the following allows speculative execution?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 8

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

Test: Cache Memory & Size of Cache - Question 9

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 9

Explanation: 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 cache line.

Test: Cache Memory & Size of Cache - Question 10

Which factor determines the cache performance?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 10

Explanation: 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.

Test: Cache Memory & Size of Cache - Question 11

What are the basic elements required for cache operation?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 11

Explanation: The cache memory operation is based on the address tag, that is, the processor generates the address which is provided to the cache and this cache stores its data with an address tag. The tag is compared with the address, if they did not match, the next tag is checked. If they match, a cache hit occurs, the data is passed to the processor. So the basic elements required is a memory array, comparator, and a counter.

Test: Cache Memory & Size of Cache - Question 12

How many divisions are possible in the cache memory based on the tag or index address?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 12

Explanation: There is four classification based on the tag or index address corresponds to a virtual or physical address. They are PIPT, VIVT, PIVT, VIPT that is, physically indexed physically tagged, virtually indexed virtually tagged, physically indexed virtually tagged, virtually indexed physically tagged respectively.

Test: Cache Memory & Size of Cache - Question 13

Which of the following cache has a separate comparator for each entry?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 13

Explanation: A fully associative cache have a comparator for each entry so that all the entries can be tested simultaneously.

Test: Cache Memory & Size of Cache - Question 14

 What is the disadvantage of a fully associative cache?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 14

Explanation: The major disadvantage of the fully associative cache is the amount of hardware needed for the comparison increases in proportion to the cache size and hence, limits the fully associative cache.

Test: Cache Memory & Size of Cache - Question 15

 How many comparators present in the direct mapping cache?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 15

Explanation: The direct mapping cache have only one comparator so that only one location possibly have all the data irrespective of the cache size.

Test: Cache Memory & Size of Cache - Question 16

 Which mapping of cache is inefficient in software viewpoint?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 16

Explanation: The direct mapping cache organization is simple from the hardware design aspects but it is inefficient in the software viewpoint.

Test: Cache Memory & Size of Cache - Question 17

 Which mechanism splits the external memory storage into memory pages?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 17

Explanation: The index mechanism splits the external memory storage into a series of memory pages in which each page is the same size of the cache. Each page is mapped to the cache so that each page can have its own location in the cache.

Test: Cache Memory & Size of Cache - Question 18

Which of the following cache mapping can prevent bus thrashing?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 18

Explanation: Only one data can be accessed in direct mapping that is, if one word is accessed at a time, all other words are discarded at the same time. This is known as bus thrashing which can be solved by splitting up the caches so there are 2,4,..n possible entries available. The major advantage of the set associative cache is its capability to prevent the bus thrashing at the expense of hardware.

Test: Cache Memory & Size of Cache - Question 19

 Which cache mapping have a sequential execution?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 19

Explanation: The burst fill mode of cache mapping have a sequential nature of executing instructions and data access. The instruction fetches and execution accesses to sequential memory locations until it has a jump instruction or a branch instruction. This kind of cache mapping is seen in MC68030 processor.

Test: Cache Memory & Size of Cache - Question 20

Which address is used for a tag?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 20

Explanation: The cache memory uses either a physical address or logical address for its tag data. For a logical cache, the tag refers to a logical address and for a physical cache, the tag refers to the physical address.

Test: Cache Memory & Size of Cache - Question 21

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 21

Explanation: 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 clear it during a context switching.

Test: Cache Memory & Size of Cache - Question 22

 What is the disadvantage of the physical address?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 22

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

Test: Cache Memory & Size of Cache - Question 23

Which cache memory solve the cache coherency problem?

Detailed Solution for Test: Cache Memory & Size of Cache - Question 23

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

Test: Cache Memory & Size of Cache - Question 24

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 24

Explanation: 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.

Test: Cache Memory & Size of Cache - Question 25

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

Detailed Solution for Test: Cache Memory & Size of Cache - Question 25

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

Information about Test: Cache Memory & Size of Cache Page
In this test you can find the Exam questions for Test: Cache Memory & Size of Cache solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Cache Memory & Size of Cache, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)