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
MA_775_DIABLO [31]
4 years ago
6

A CPU has 32 KB cache, 2-way set associative, 16-byte block size. How many bits are required to use index each set in this cache

?
Computers and Technology
1 answer:
LenKa [72]4 years ago
7 0

Answer:

10 bits

Explanation:

Cache size = 32 KB

We were also given that it is 2 way set associative

Block size = 16 bytes = 2^4 = 4 bits for offset

Number of blocks = cache size / block size = (32*2^10) / 16

=2^11

Hence, index = number of blocks / 2 (since 2 way associative)

=(2^11)/2 = 2^10 = 10 bits for index

You might be interested in
Identify the four basic categories of hardware in a microcomputer system. system unit, modem, ram, and microprocessor system uni
lapo4ka [179]
<span>Solid-state storage uses rigid metallic platters to store data using the magnetic charges of the disk's surface.</span>
4 0
4 years ago
The Springfork Amateur Golf Club has a tournament every weekend. The club president
Lera25 [3.4K]

Answer:

The Python code is given below for each question.

Explanation:

1:

 if __name__ == '__main__':

   f = open('golf.txt', 'w')

   n = int(input("Enter number of players:"))

   for i in range(n):

       name = input("Enter name of player number " + str(i + 1) + ":")

       score = int(input("Enter score of player number " + str(i + 1) + ":"))

       f.write(name + "\n" + str(score) + "\n")

   f.close()

2:

try:

   with open('golf.txt') as r:

       lines = r.readlines()

       for i in range(0, len(lines), 2):

           print("Name:", lines[i].strip())

           print("Score:", lines[i+1].strip())

           print()

except FileNotFoundError:

   print("golf.txt is not found!")

6 0
4 years ago
"When a large data file needs to be processed in ascending or descending order based on a particular field, the most efficient a
Alona [7]

Answer:

Yes

Explanation:

For example, We need to write down the names of student in a school for survey purposes, rather than tell everyone to write their names on a sheet of paper and submit, we can instruct that names be written according to their classes and then written on the class sheets alphabetically.

Logically names will be written according to the classes from Class 1 - 10, then on the class sheet alphabetically from A - Z. its better represented that way for easy understanding and better collation and interpretation of data.

7 0
4 years ago
What is the function of input device?​
Akimi4 [234]

Answer:

The function of an input device is to communicate information to a computer or other sort of information processing equipment. Input devices are types of peripheral devices that communicate with processing units.

5 0
3 years ago
How does a programmer use digital waves to transfer sound?
Inessa [10]
An analogue sound wave is picked up by a microphone and sent to an Analogue to Digital (ADC) converter in the form of analogue electrical signals. The ADC converts the electrical signals into digital values which can be stored on a computer. Once in a digital format you can edit sounds with programs such as audacity.
7 0
3 years ago
Other questions:
  • Explain how do we combine multiple Boolean values?​
    5·1 answer
  • Legal counsel has notified the information security manager of a legal matter that will require the preservation of electronic r
    8·1 answer
  • Combination keys perform a function when held down in combination with another key. true or false
    9·1 answer
  • Describe your microsoft word skills that need to be improved upon the most.<br><br>​
    8·1 answer
  • Advantages of a personal area network
    5·1 answer
  • Which device in a wireless local area network (wlan) determines the next network point to which a packet should be forwarded tow
    12·1 answer
  • when a page contains function is loaded the browser by passes the function without running it - true or false
    7·1 answer
  • The degree to which a firewall can impose user access restrictions is known as which of the following?Security assurancePrivileg
    8·1 answer
  • WILL GIVE BRAINLIEST!!!!!
    8·1 answer
  • Create a while loop to try making a video game turn based battle.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!