CS 3330 Midterm: CS 330 UVA Fall 2014Exam1key

9 views6 pages

Document Summary

Directions: put the letter of your selection or the number requested in the box. Write clearly: if we are unsure what you wrote you will get a zero on that problem. If you do not sign the pledge on the last page you will get a zero on the entire quiz. There are several variants of this exam being given at the same time. Copying from your neigh- bor is not only cheating, it is also foolish. Suppose the 32-bit value 0x12345678 is stored at address 0x24 of a little- C an unknown value because the number does not overlap address. Question 3 [1 points]: the code (a == b) || (a == c) || (a == d) implements. Suppose the 32-bit value 0x12345678 is stored at address 0x24 of a big- Question 5 [1 points]: write 0x19 in binary. Question 6 [1 points]: assume %eax contains the number 30 and %ecx contains the number 50 (both presented in decimal).

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents