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
expeople1 [14]
3 years ago
6

Assume that the 100,000 element integer array that you allocated starts at address 0x50000000 in memory, the size of an integer

is 4 bytes and the D-cache is initially empty. As you read the integers in the array one-by-one, starting at index 0, how many D-cache misses will you see for reading the first 40 integers when the cache block size is (to be answered without running pin):a) 4 bytes:b) 32 bytes:c) 64 bytes:
Computers and Technology
1 answer:
Vanyuwa [196]3 years ago
6 0

Answer:

40, 5 and 3

See explaination for the details

Explanation:

A)

Consider the data.

Assume D-cache is empty

An integer size =4bytes

The cache block size =4bytes

Therefore, the number of D-cache misses for reading the first 40 integers is,

= (40×4)/4

= 160/4

= 40

b)

Consider the data.

Assume D-cache is empty

An integer size =4bytes

The cache block size =32bytes

Therefore, the number of D-cache misses for reading the first 40 integers is,

= (40×4)/32

= 160/32

= 5

c)

Consider the data.

Assume D-cache is empty

An integer size =4bytes

The cache block size =64bytes

Therefore, the number of D-cache misses for reading the first 40 integers is,

= (40×4)/64

= 160/64

= 3

You might be interested in
A compiler is a separate program that converts the entire source program into a machine language before executing it
NISA [10]
A compiler is a series of programs that (usually) convert source code into machine language. There are also compilers that compile into byte code, Java for instance.

No compiler is responsible for executing a freshly compiled program. That would be done in an IDE (Integrated Development Environment).
4 0
3 years ago
What is an computer engineering?? ​
Nana76 [90]

Answer:

Computer engineering is a branch of engineering that integrates several fields of computer science and electronic engineering required to develop computer hardware and software.

Explanation:

5 0
2 years ago
Question 13 (1 point)
Mrac [35]
The second option “1 inch”

Is correct for default word documents
8 0
3 years ago
What does the Snap to grid setting do?
daser333 [38]

Answer:

A. Makes objects line up with the grid lines exactly. In short, it is a backstage of the objects that need to be shown on the screen. And the object is being picked from there in the required manner. We cannot ensure a backstage without an invisible grid, and this is the snap to the grid, as being explained above, It has a huge application, and is very important in its domain,

Explanation:

Snap which is intended for the grid(Snap to grid) is a function code that manages the images and files without any human intervention. It makes use of an invisible grid to put in line various items on to the computer screen, alongside the vertical and horizontal lines.

4 0
3 years ago
Read 2 more answers
What is a good project I can do for Artificial Intelligence? It has to be some type of Technology that covers Artificial Intelli
Allisa [31]
Look at the fields that utilize artificial intelligence and expand further. 

You can talk about A.I. being used to operate on patients in complex surgeries. 

A.I. in space exploration or roaming in the deep trenches of our oceans looking for information about our planet.

A.I. in law enforcement and rescue squads.

A.I. in security.

A.I. in engineering. 

Programming of A.I.

Integration of A.I.

Outlook of A.I. in our future and how it may be used.

Artificial Intelligence in warfare.


7 0
3 years ago
Other questions:
  • Sometimes a virus will disable a system’s antivirus protection or add exceptions which prevent its being detected. Running an an
    13·1 answer
  • Data values in a program are held in _________. a data types b names c variables d lockers
    11·1 answer
  • Which option allows you to customize the order of your data ?
    8·2 answers
  • The acceleration of a body is 3 metre per second square what does it mean​
    11·2 answers
  • Although designed to support remote dial-in access to a corporate network, what service below is commonly used with 802.1x port
    12·1 answer
  • sara has just started using the Internet. She would like to be more efficient . In 3-4, give sara some advice about how to be mo
    5·1 answer
  • What is the local portion of the e-mail address below? <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="
    15·1 answer
  • What is the standard unit used to measure mass?​
    9·1 answer
  • When attaching a file or files in outlook 365 you select the attach command and then select the files location
    5·1 answer
  • Why is the Microsoft website considered the best source for information about pagefile.sys?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!