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
slava [35]
3 years ago
9

In this exercise we look at memory locality properties of matrix computation. Th e following code is written in C, where element

s within the same row are stored contiguously. Assume each word is a 32-bit integer.
for (I=0; I<8; I++)
for (J=0; J<8000; J++)
A[I][J]=B[I][0]+A[J][I];
References to which variables exhibit temporal locality?
Computers and Technology
1 answer:
Sonja [21]3 years ago
4 0

Answer:

Explanation:

temporal locality can be defined as: when a particular memory  is referenced or accessed several times  within a specific period of time. In the question, i think the variable that exhibit temporal locality are I, J and 0(all the variable). This is because the variable J and 0 are accessed several times within the loop. I would not have been part of it, but in the A[I][J]=B[I][0]+A[J][I], the variable "I" is also accessed in the addition. this is why it is part of the temporal locality.

You might be interested in
Question 1 (3 points)
Sloan [31]

Answer:

18 years of age in California

Explanation:

6 0
3 years ago
Read 2 more answers
A company is looking for an employee to help organize customer information for the sales team. Which computer field includes thi
slavikrds [6]

Answer:

A

Explanation:

security organises the customer's info online and in person for the sales team.

4 0
2 years ago
Read 2 more answers
JPG is considered a lossy file format. What does this mean?
Elis [28]

Answer:

either a or b

Explanation:

5 0
3 years ago
Read 2 more answers
3.6 Code Practice on Edhesive
Alchen [17]

I've included my code in the picture below. Best of luck.

6 0
3 years ago
Which are characteristics of pseudocode? Select all that apply.
jeka94

Answer:

A,B,C

Explanation:

3 0
3 years ago
Other questions:
  • The collodion process was significantly more expensive than the cost of a daguerreotype
    10·1 answer
  • Describe the effect of a pull up resistor
    7·1 answer
  • I will mark brainalist! ​
    5·1 answer
  • Whenever Jim starts his laptop, he sees some commands and numbers appearing on his screen. These instructions are being processe
    12·2 answers
  • Written and artistic expressions are protected by
    8·1 answer
  • [This is on Edhesive (coding and programming)]
    8·2 answers
  • What are the characteristics of the sorting and grouping options in Outlook? Check all that apply. Columns can be sorted by clic
    15·2 answers
  • TOT al<br>Name TWO examples of these settings and utilities. (2)​
    12·1 answer
  • Select the four bad password ideas.
    13·2 answers
  • Algorithm to eat orange<br><br>​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!