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
azamat
3 years ago
12

How many total bits are required for a direct mapped cache with 16 KB of data and 4 word blocks Assuming a 32 bit address

Computers and Technology
1 answer:
Wittaler [7]3 years ago
8 0

Answer:

147 Kibibits or 18.4 KiB

Explanation:

Given that KiB = kibibyte = 2^10 bytes

Hence 16 KiB is 16384 (2^14) bytes = 4096 (2^12) words.

Therefore, with a block size of 4 words (2^2), we have 1024 (2^10) blocks

Given 32 bits address

We have 4 x 32 = 128 bits of data

The total bits is calculated as (number of blocks) * (data (32 * 4) + tag and validation bits)

Where index part = 10 bits, Offset = 2 bits

2^10 * (4 x 32 + (32–10–2 - 2) + 1)

=> 2^10 * 147 = 147 kibibits

=> 18.4 KiB

You might be interested in
Shandra recently bought a brand-new digital camera from a local camera shop but when she got it home, she noticed the lens was j
Scorpion4ik [409]
Return to the camera shop and bring the camera in. mention that the lens was jammed and she would like a refund. she should stay calm and handle the situation gently, as to not anger the shop keep. if she returns the camera and gets a refund then no harm no foul, no money or product was lost.
hope this helps :)
4 0
2 years ago
Write a Python function that takes as input a list, A, and returns two lists L and G. L constains all numbers in A, which are no
DiKsa [7]

Answer:

In Python:

def split(A):

   L=[]; G=[]

   for i in range(1,len(A)):

       if (A[i] != A[0] and A[i] < A[0]):

           L.append(A[i])

       if (A[i] != A[0] and A[i] > A[0]):

           G.append(A[i])

   return L, G

Explanation:

This defines the function

def split(A):

This initializes the L and G lists

   L=[]; G=[]

This iterates through the original list A

   for i in range(1,len(A)):

This populates list L using the stated condition

<em>        if (A[i] != A[0] and A[i] < A[0]):</em>

<em>            L.append(A[i])</em>

This populates list G using the stated condition

<em>        if (A[i] != A[0] and A[i] > A[0]):</em>

<em>            G.append(A[i])</em>

This returns the two lists L and G

   return L, G

8 0
2 years ago
Is a network traffic management device used to connect different network segments together?
son4ous [18]
No, network traffic management software is only concerned with the health of the Network.
7 0
3 years ago
How has technology fragmented the audience for sports and entertainment<br> commodities?
PSYCHO15rus [73]

Technology has indeed made to audience of sports and entertainment increase rapidly.

Explanation:

Years passed, one will have to go to a sports stadium or an event center before he/she can access sports or entertainment.

But in recent years the introduction of internet has made every person who wishes to, to enjoy entertainment or sports in the comfort of his/her home or wherever he/she may find him/her self.

It has even given the opportunity for those who are not able to make time as and when the event is going on to watch or listen to it later.

The internet is one of the powerful tools that help individuals enjoy entertainment and sports across the world.

The invention of television and radio has also increased the ability for a sportsman or an entertainer to get more fans in just a short period of time.

4 0
3 years ago
Which of the following sentences from the section "The Limits To Free Enterprise With A Mixed Economy" BEST develops a central i
kirza4 [7]
The correct answer is d so there you go
3 0
3 years ago
Other questions:
  • What is the most efficient way to include a space after each paragraph?
    13·2 answers
  • The tone a writer takes is referred to as the writing _____.
    7·2 answers
  • If none of the contacts of a manual switch change status when the operator is activated, what is the most probable cause?
    9·1 answer
  • Biomimicry is the term used when engineers are inspired by objects found in nature? Group of answer choices True False
    10·1 answer
  • Which of the following defines a computer program?
    14·1 answer
  • Question #5
    15·2 answers
  • What might a designer need to consider when choosing an appropriate energy source for products and power systems
    15·1 answer
  • What are the fundamental activities that are common to all software processes?
    9·1 answer
  • Do you trust machine learning application?
    10·1 answer
  • Can somebody please help me with these few questions?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!