CS 3330 Midterm: CS 330 UVA Fall 2017key3X
Document Summary
Letters go in the boxes unless otherwise specified (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 specified: 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 identified as select-all. Variable weight: point values per question are marked in square brackets. Mark clarifications: if you need to clarify an answer, do so, and also add a * to the top right corner of your answer box. Question 1 [2 pt]: consider the following c code: int x[3] = {0x1234, 0x5678, 0xabcd}; If ints are four bytes and stored in little endian order, then the sixth byte of the array x is: A there is not enough information to answer.