1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nikitich [7]
3 years ago
14

A direct-mapped cache holds 64KB of useful data (not including tag or control bits). Assuming that the block size is 32-byte and

the address is 32-bit, find the number of bits needed for tag, index, and byte select fields of the address.
Computers and Technology
1 answer:
Cerrena [4.2K]3 years ago
5 0

Answer:

A) Number of bits for byte = 6 bits

B) number of bits for index = 17 bits

C) number of bits for tag = 15 bits

Explanation:

Given data :

cache size = 64 kB

block size = 32 -byte

block address = 32 -bit

number of blocks in cache memory  

cache size / block size = 64 kb / 32 b = 2^11 hence the number of blocks in cache memory = 11 bits = block offset

A) Number of bits for byte

log _{2} (6)^2 = 6  bits

B) number of bits for index

block offset + byte number

= 11 + 6 = 17 bits

c ) number of bits for tag

= 32 - number of bits for index

= 32 - 17 = 15 bits

You might be interested in
What happens when two computers use the same IP address?
OLga [1]

Two computers can safely have the same IP address in certain cases. In most cases, if those two computers are on the same local network, it breaks connectivity for one or both of them. Internet protocols work by sending small, individually addressed messages. Each message can be routed differently.

I hope this helps you.

6 0
3 years ago
In Microsoft Word, when you highlight existing text you want to replace, you are in
Andreyy89
<span>In Microsoft Word, when you highlight existing text you want to replace, you are in insert mode. You know if you are in insert mode if</span><span> you see the word "Insert" in the Status bar and any text you paste in will push aside text on either side of the cursor.</span>
6 0
4 years ago
The object-oriented techniques to manage errors such as dividing a value by 0 comprise the group of methods known as
charle [14.2K]
The object - oriented techniques to manage errors such as dividing a value by 0 comprise the group of methods known as Error handling. Error handling is managing the mistakes made on any type of scenario. This skill is needed to all IT and Computer Science majors.
6 0
4 years ago
public static String[] strArrMethod(String[] arr) { String[] result = new String[arr.length]; for (int j = 0; j &lt; arr.length;
faust18 [17]

Answer:

answer is 24

Explanation:

hope this helps

7 0
3 years ago
Consider a file system in which a file can be deleted and its disk space reclaimed while links to that file still exist. What pr
goldfiish [28.3K]

Answer:

By keeping track of file links and deleting them along with the files

Explanation:

when different users create different files with the same name, and one tries to open one of the files, the first file that is found on the VTOC of the disk will be opened. These problems can be avoided by  tracking of all links to a file, and whenever there is a need to delete a file,  the link to the file as well should be deleted.

8 0
4 years ago
Other questions:
  • The BIOS feature that enables a hard drive to read or write several sectors at a time is called what?
    5·1 answer
  • What feature of excel allows you to automatically calculate common formulas with selected data
    12·1 answer
  • Ecommerce sites sell this to generate income
    11·1 answer
  • LEAF library in py can be expressed in what form?
    6·1 answer
  • Describe the basic features of the relational data model and discuss their importance to the end user and the designer. Describe
    9·1 answer
  • What is the primary means by which attackers infect computers with these attacks? How do these attacks commonly occur?
    8·1 answer
  • A social cause is: O A. when one person protests without the support of others. B. something that not many citizens think or car
    8·1 answer
  • ......... mi2hej<br><br>ejid8eo19o1b2bxhxjxjdnneejk2929nr
    5·2 answers
  • Question #2
    5·1 answer
  • Use USB in a sentence
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!