This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: 12  9 Multiplication 6. Write out the work for the following multiplication using binary. 7 * 5 Errors Given your new knowledge of binary representation and limited bit width, answer the following questions. 7. What happens when the result of an addition or subtraction does not fit into the number of bits provided? 8. What would happen if you executed the following code: Note: unsigned int means an integer being interpreted with unsigned numbers, as we learned at the beginning with binary. Java does not have such a type, but C does. void countdown(unsigned int x) { printf("Countdown: "); for(int i=x;i>=0;i++) printf("%d, ",i); printf(". ... Blastoff!"); }...
View
Full Document
 Fall '09
 FRANKLIN

Click to edit the document details