CS 3330 Midterm: CS 330 UVA Fall 2016key2A

25 views7 pages

Document Summary

Letters go in the boxes unless otherwise speci ed (e. g. , for c 8 write c not 8 ). Write letters clearly: if we are unsure of what you wrote you will get a zero on that problem. Bubble and pledge the exam or you will lose points. Assume unless otherwise speci ed: little-endian 64-bit architecture, %rsp points to the most recently pushed value, not to the next unused stack address, questions are single-selection unless identi ed as select-all. Variable weight: point values per question are marked in square brackets. Mark clari cations: if you need to clarify an answer, do so, and also add a * to the top right corner of your answer box. Suppose the value 0x9abcdef is written to address 0x12345678 in a 4mb, 4-way set-associative, write-back cache with 256-byte blocks. Which pieces of information that we provided are not needed to compute the tag? (see above)