subject

Assuming that 2-dimensional array data B[4][4] (each element is one word) is stored in memory. Assume cache block size is 16 bytes or 4 words. In other word, one block can have 4 consecutive array data. Assume the program is written in Fortran (Column-Major)Program X accesses B00, B01, B02, B03, B10, B11, ... B33 in this order. Program Y accesses B00, B10, B20, B30, B01, B11, ... B33 in this order. Considering only the accesses to array data B, what is the cache hit ratio of program X

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 1
question
Computers and Technology, 22.06.2019 05:10
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
You receive an email from an impressive-sounding stranger, professor alexander rothschild renard iii, president of the american institute for scientific political statesmen. he urges you to vote for his presidential candidate choice. this social media red flag is known as
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
You know the right answer?
Assuming that 2-dimensional array data B[4][4] (each element is one word) is stored in memory. Assum...
Questions
question
Mathematics, 27.09.2019 19:40
question
History, 27.09.2019 19:40
Questions on the website: 13722363