The performance of cache memory is frequently measured in terms of a quantity called ______.
- A.Register
- B.Associative Mapping
- C.Hit ratio
- D.Set-associative Mapping
Correct answer
Explanation
The correct answer is C, Hit ratio. Cache memory is the small, very fast memory placed between the processor and main memory that keeps the data the processor is most likely to need next. When the processor finds the word it wants in the cache it is called a hit, and when it does not it is a miss that must be fetched from slower main memory. The hit ratio is the number of hits divided by the total number of memory references, so a higher hit ratio means a faster system; it is the standard measure of cache performance. A is wrong because a register is a storage location inside the CPU, not a measure. B is wrong because associative mapping is a way of placing blocks in the cache. D is wrong because set-associative mapping is likewise a mapping technique, not a performance figure. Exam tip: hit ratio = hits ÷ total references; cache mapping types are direct, associative and set-associative.
Practice Questions
View allWhich language uses the symbolic representation of machine codes needed to program a particular processor or processor family?
- A.Machine Language
- B.Assembly Language
- C.High-Level Language
- D.All of the above
Show answer
Assembly language replaces the binary machine codes of a processor with short symbols called mnemonics, such as MOV, ADD and JMP.
Read the full explanation →Which one of the following is the characteristic of Artificial Intelligence ?
- A.Replicates human decision making
- B.Stores relevant information
- C.Stores similar kind of data for a specific purpose
- D.Allows user to interact with media
Show answer
Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.
Read the full explanation →What is an interactive combination of text, graphics, video, audio and images termed as ?
- A.JPEG
- B.Multimedia
- C.AVA
- D.PNG
Show answer
Multimedia means using several forms of media, such as text, graphics, audio, video, images and animation, together, often in a way the user can interact with.
Read the full explanation →Which among the following is a malicious software?
- A.Hacking
- B.Password Cracking
- C.Trojan Horse
- D.Firewall
Show answer
A Trojan is a program that looks useful or harmless but secretly carries harmful code, so it is a piece of malicious software, or malware.
Read the full explanation →Which one of the following is not an application software?
- A.Spreadsheet
- B.AutoCAD
- C.MS PowerPoint
- D.Linker
Show answer
A linker is system software, a programming tool that joins compiled pieces of code into one program that can run; it does not do a task for the end user.
Read the full explanation →