cs32—inclass assignment—f15, phill conrad, uc …pconrad/cs32/15f/pdf/cs32_f15_ic00.pdf ·...
TRANSCRIPT
![Page 1: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/1.jpg)
1 Exam #1001Page: 1 Name:
1001
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -67,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -96,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -34,what is this number's binary representation in 8-bit two's complement?
![Page 2: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/2.jpg)
2 Exam #1001Page: 2 Name:
1001
e. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 3: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/3.jpg)
1 Exam #1002Page: 1 Name:
1002
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -31,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -110,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -104,what is this number's binary representation in 8-bit two's complement?
![Page 4: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/4.jpg)
2 Exam #1002Page: 2 Name:
1002
e. (5 pts) Given that 10111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 5: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/5.jpg)
1 Exam #1003Page: 1 Name:
1003
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -126,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -52,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -85,what is this number's binary representation in 8-bit two's complement?
![Page 6: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/6.jpg)
2 Exam #1003Page: 2 Name:
1003
e. (5 pts) Given that 11001111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 7: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/7.jpg)
1 Exam #1004Page: 1 Name:
1004
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -42,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -33,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -86,what is this number's binary representation in 8-bit two's complement?
![Page 8: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/8.jpg)
2 Exam #1004Page: 2 Name:
1004
e. (5 pts) Given that 11100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 9: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/9.jpg)
1 Exam #1005Page: 1 Name:
1005
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -76,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -55,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -60,what is this number's binary representation in 8-bit two's complement?
![Page 10: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/10.jpg)
2 Exam #1005Page: 2 Name:
1005
e. (5 pts) Given that 10011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 11: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/11.jpg)
1 Exam #1006Page: 1 Name:
1006
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -101,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -117,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -8,what is this number's binary representation in 8-bit two's complement?
![Page 12: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/12.jpg)
2 Exam #1006Page: 2 Name:
1006
e. (5 pts) Given that 11110100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 13: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/13.jpg)
1 Exam #1007Page: 1 Name:
1007
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -7,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -11,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -111,what is this number's binary representation in 8-bit two's complement?
![Page 14: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/14.jpg)
2 Exam #1007Page: 2 Name:
1007
e. (5 pts) Given that 10101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 15: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/15.jpg)
1 Exam #1008Page: 1 Name:
1008
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -102,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -65,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -30,what is this number's binary representation in 8-bit two's complement?
![Page 16: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/16.jpg)
2 Exam #1008Page: 2 Name:
1008
e. (5 pts) Given that 11011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 17: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/17.jpg)
1 Exam #1009Page: 1 Name:
1009
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -8,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -87,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -5,what is this number's binary representation in 8-bit two's complement?
![Page 18: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/18.jpg)
2 Exam #1009Page: 2 Name:
1009
e. (5 pts) Given that 10010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 19: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/19.jpg)
1 Exam #1010Page: 1 Name:
1010
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -33,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -22,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
![Page 20: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/20.jpg)
2 Exam #1010Page: 2 Name:
1010
e. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 21: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/21.jpg)
1 Exam #1011Page: 1 Name:
1011
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -67,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -44,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -56,what is this number's binary representation in 8-bit two's complement?
![Page 22: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/22.jpg)
2 Exam #1011Page: 2 Name:
1011
e. (5 pts) Given that 10100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 23: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/23.jpg)
1 Exam #1012Page: 1 Name:
1012
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -111,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -24,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -57,what is this number's binary representation in 8-bit two's complement?
![Page 24: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/24.jpg)
2 Exam #1012Page: 2 Name:
1012
e. (5 pts) Given that 10111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 25: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/25.jpg)
1 Exam #1013Page: 1 Name:
1013
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -18,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -46,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -31,what is this number's binary representation in 8-bit two's complement?
![Page 26: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/26.jpg)
2 Exam #1013Page: 2 Name:
1013
e. (5 pts) Given that 11110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 27: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/27.jpg)
1 Exam #1014Page: 1 Name:
1014
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -43,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -109,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -108,what is this number's binary representation in 8-bit two's complement?
![Page 28: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/28.jpg)
2 Exam #1014Page: 2 Name:
1014
e. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 29: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/29.jpg)
1 Exam #1015Page: 1 Name:
1015
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -77,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -2,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
![Page 30: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/30.jpg)
2 Exam #1015Page: 2 Name:
1015
e. (5 pts) Given that 10000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10100000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 31: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/31.jpg)
1 Exam #1016Page: 1 Name:
1016
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -121,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -111,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -83,what is this number's binary representation in 8-bit two's complement?
![Page 32: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/32.jpg)
2 Exam #1016Page: 2 Name:
1016
e. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 33: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/33.jpg)
1 Exam #1017Page: 1 Name:
1017
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -28,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -5,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -57,what is this number's binary representation in 8-bit two's complement?
![Page 34: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/34.jpg)
2 Exam #1017Page: 2 Name:
1017
e. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 35: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/35.jpg)
1 Exam #1018Page: 1 Name:
1018
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -52,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -67,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
![Page 36: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/36.jpg)
2 Exam #1018Page: 2 Name:
1018
e. (5 pts) Given that 10101000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 37: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/37.jpg)
1 Exam #1019Page: 1 Name:
1019
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -87,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -89,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -108,what is this number's binary representation in 8-bit two's complement?
![Page 38: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/38.jpg)
2 Exam #1019Page: 2 Name:
1019
e. (5 pts) Given that 11011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 39: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/39.jpg)
1 Exam #1020Page: 1 Name:
1020
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -3,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -70,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -109,what is this number's binary representation in 8-bit two's complement?
![Page 40: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/40.jpg)
2 Exam #1020Page: 2 Name:
1020
e. (5 pts) Given that 11110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 41: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/41.jpg)
1 Exam #1021Page: 1 Name:
1021
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -37,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -83,what is this number's binary representation in 8-bit two's complement?
![Page 42: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/42.jpg)
2 Exam #1021Page: 2 Name:
1021
e. (5 pts) Given that 10101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 43: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/43.jpg)
1 Exam #1022Page: 1 Name:
1022
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -62,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -26,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -32,what is this number's binary representation in 8-bit two's complement?
![Page 44: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/44.jpg)
2 Exam #1022Page: 2 Name:
1022
e. (5 pts) Given that 10000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 45: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/45.jpg)
1 Exam #1023Page: 1 Name:
1023
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -96,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -48,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
![Page 46: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/46.jpg)
2 Exam #1023Page: 2 Name:
1023
e. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 47: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/47.jpg)
1 Exam #1024Page: 1 Name:
1024
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -42,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -110,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -119,what is this number's binary representation in 8-bit two's complement?
![Page 48: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/48.jpg)
2 Exam #1024Page: 2 Name:
1024
e. (5 pts) Given that 10110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 49: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/49.jpg)
1 Exam #1025Page: 1 Name:
1025
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -76,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -4,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -94,what is this number's binary representation in 8-bit two's complement?
![Page 50: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/50.jpg)
2 Exam #1025Page: 2 Name:
1025
e. (5 pts) Given that 11100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 51: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/51.jpg)
1 Exam #1026Page: 1 Name:
1026
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -101,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -66,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -42,what is this number's binary representation in 8-bit two's complement?
![Page 52: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/52.jpg)
2 Exam #1026Page: 2 Name:
1026
e. (5 pts) Given that 11000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 53: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/53.jpg)
1 Exam #1027Page: 1 Name:
1027
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -7,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -88,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -17,what is this number's binary representation in 8-bit two's complement?
![Page 54: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/54.jpg)
2 Exam #1027Page: 2 Name:
1027
e. (5 pts) Given that 11100011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 55: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/55.jpg)
1 Exam #1028Page: 1 Name:
1028
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -51,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -69,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -17,what is this number's binary representation in 8-bit two's complement?
![Page 56: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/56.jpg)
2 Exam #1028Page: 2 Name:
1028
e. (5 pts) Given that 10001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 57: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/57.jpg)
1 Exam #1029Page: 1 Name:
1029
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -86,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -90,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -120,what is this number's binary representation in 8-bit two's complement?
![Page 58: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/58.jpg)
2 Exam #1029Page: 2 Name:
1029
e. (5 pts) Given that 11000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 59: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/59.jpg)
1 Exam #1030Page: 1 Name:
1030
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -110,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -25,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -68,what is this number's binary representation in 8-bit two's complement?
![Page 60: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/60.jpg)
2 Exam #1030Page: 2 Name:
1030
e. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 61: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/61.jpg)
1 Exam #1031Page: 1 Name:
1031
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -17,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -47,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -43,what is this number's binary representation in 8-bit two's complement?
![Page 62: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/62.jpg)
2 Exam #1031Page: 2 Name:
1031
e. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 63: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/63.jpg)
1 Exam #1032Page: 1 Name:
1032
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -61,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -27,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -44,what is this number's binary representation in 8-bit two's complement?
![Page 64: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/64.jpg)
2 Exam #1032Page: 2 Name:
1032
e. (5 pts) Given that 11101000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 65: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/65.jpg)
1 Exam #1033Page: 1 Name:
1033
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -95,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -49,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -18,what is this number's binary representation in 8-bit two's complement?
![Page 66: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/66.jpg)
2 Exam #1033Page: 2 Name:
1033
e. (5 pts) Given that 10011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 67: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/67.jpg)
1 Exam #1034Page: 1 Name:
1034
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -120,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -112,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -94,what is this number's binary representation in 8-bit two's complement?
![Page 68: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/68.jpg)
2 Exam #1034Page: 2 Name:
1034
e. (5 pts) Given that 11111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 69: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/69.jpg)
1 Exam #1035Page: 1 Name:
1035
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -27,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -69,what is this number's binary representation in 8-bit two's complement?
![Page 70: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/70.jpg)
2 Exam #1035Page: 2 Name:
1035
e. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 71: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/71.jpg)
1 Exam #1036Page: 1 Name:
1036
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -71,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -114,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -70,what is this number's binary representation in 8-bit two's complement?
![Page 72: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/72.jpg)
2 Exam #1036Page: 2 Name:
1036
e. (5 pts) Given that 11000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 73: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/73.jpg)
1 Exam #1037Page: 1 Name:
1037
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -105,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -8,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -44,what is this number's binary representation in 8-bit two's complement?
![Page 74: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/74.jpg)
2 Exam #1037Page: 2 Name:
1037
e. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 75: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/75.jpg)
1 Exam #1038Page: 1 Name:
1038
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -2,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -71,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -121,what is this number's binary representation in 8-bit two's complement?
![Page 76: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/76.jpg)
2 Exam #1038Page: 2 Name:
1038
e. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 77: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/77.jpg)
1 Exam #1039Page: 1 Name:
1039
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -36,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -93,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -95,what is this number's binary representation in 8-bit two's complement?
![Page 78: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/78.jpg)
2 Exam #1039Page: 2 Name:
1039
e. (5 pts) Given that 10001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 79: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/79.jpg)
1 Exam #1040Page: 1 Name:
1040
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -83,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -3,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -19,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -15,what is this number's binary representation in 8-bit two's complement?
![Page 80: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/80.jpg)
2 Exam #1040Page: 2 Name:
1040
e. (5 pts) Given that 11000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 81: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/81.jpg)
1 Exam #1041Page: 1 Name:
1041
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -37,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -40,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -117,what is this number's binary representation in 8-bit two's complement?
![Page 82: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/82.jpg)
2 Exam #1041Page: 2 Name:
1041
e. (5 pts) Given that 11110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 83: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/83.jpg)
1 Exam #1042Page: 1 Name:
1042
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -83,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -62,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -103,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -65,what is this number's binary representation in 8-bit two's complement?
![Page 84: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/84.jpg)
2 Exam #1042Page: 2 Name:
1042
e. (5 pts) Given that 11010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 85: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/85.jpg)
1 Exam #1043Page: 1 Name:
1043
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -83,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -96,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -40,what is this number's binary representation in 8-bit two's complement?
![Page 86: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/86.jpg)
2 Exam #1043Page: 2 Name:
1043
e. (5 pts) Given that 10001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10011101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 87: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/87.jpg)
1 Exam #1044Page: 1 Name:
1044
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -12,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -105,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -41,what is this number's binary representation in 8-bit two's complement?
![Page 88: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/88.jpg)
2 Exam #1044Page: 2 Name:
1044
e. (5 pts) Given that 10011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 89: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/89.jpg)
1 Exam #1045Page: 1 Name:
1045
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -47,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -127,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -15,what is this number's binary representation in 8-bit two's complement?
![Page 90: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/90.jpg)
2 Exam #1045Page: 2 Name:
1045
e. (5 pts) Given that 11010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 91: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/91.jpg)
1 Exam #1046Page: 1 Name:
1046
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -71,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -62,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
![Page 92: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/92.jpg)
2 Exam #1046Page: 2 Name:
1046
e. (5 pts) Given that 10011101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 93: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/93.jpg)
1 Exam #1047Page: 1 Name:
1047
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -106,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -84,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -66,what is this number's binary representation in 8-bit two's complement?
![Page 94: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/94.jpg)
2 Exam #1047Page: 2 Name:
1047
e. (5 pts) Given that 11100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 95: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/95.jpg)
1 Exam #1048Page: 1 Name:
1048
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -22,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -64,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -67,what is this number's binary representation in 8-bit two's complement?
![Page 96: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/96.jpg)
2 Exam #1048Page: 2 Name:
1048
e. (5 pts) Given that 11111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10101101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 97: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/97.jpg)
1 Exam #1049Page: 1 Name:
1049
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -56,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -86,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -41,what is this number's binary representation in 8-bit two's complement?
![Page 98: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/98.jpg)
2 Exam #1049Page: 2 Name:
1049
e. (5 pts) Given that 10101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 99: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/99.jpg)
1 Exam #1050Page: 1 Name:
1050
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -21,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -118,what is this number's binary representation in 8-bit two's complement?
![Page 100: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/100.jpg)
2 Exam #1050Page: 2 Name:
1050
e. (5 pts) Given that 10101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 101: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/101.jpg)
1 Exam #1051Page: 1 Name:
1051
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -116,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -42,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -92,what is this number's binary representation in 8-bit two's complement?
![Page 102: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/102.jpg)
2 Exam #1051Page: 2 Name:
1051
e. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 103: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/103.jpg)
1 Exam #1052Page: 1 Name:
1052
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -32,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -23,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -93,what is this number's binary representation in 8-bit two's complement?
![Page 104: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/104.jpg)
2 Exam #1052Page: 2 Name:
1052
e. (5 pts) Given that 11010100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 105: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/105.jpg)
1 Exam #1053Page: 1 Name:
1053
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -66,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -45,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -68,what is this number's binary representation in 8-bit two's complement?
![Page 106: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/106.jpg)
2 Exam #1053Page: 2 Name:
1053
e. (5 pts) Given that 10001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 107: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/107.jpg)
1 Exam #1054Page: 1 Name:
1054
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -108,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -16,what is this number's binary representation in 8-bit two's complement?
![Page 108: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/108.jpg)
2 Exam #1054Page: 2 Name:
1054
e. (5 pts) Given that 11100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 109: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/109.jpg)
1 Exam #1055Page: 1 Name:
1055
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -1,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -118,what is this number's binary representation in 8-bit two's complement?
![Page 110: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/110.jpg)
2 Exam #1055Page: 2 Name:
1055
e. (5 pts) Given that 10011101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 111: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/111.jpg)
1 Exam #1056Page: 1 Name:
1056
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -119,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -36,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -72,what is this number's binary representation in 8-bit two's complement?
![Page 112: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/112.jpg)
2 Exam #1056Page: 2 Name:
1056
e. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 113: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/113.jpg)
1 Exam #1057Page: 1 Name:
1057
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -26,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -58,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -47,what is this number's binary representation in 8-bit two's complement?
![Page 114: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/114.jpg)
2 Exam #1057Page: 2 Name:
1057
e. (5 pts) Given that 11000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 115: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/115.jpg)
1 Exam #1058Page: 1 Name:
1058
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -51,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -121,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -123,what is this number's binary representation in 8-bit two's complement?
![Page 116: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/116.jpg)
2 Exam #1058Page: 2 Name:
1058
e. (5 pts) Given that 10100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 117: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/117.jpg)
1 Exam #1059Page: 1 Name:
1059
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -85,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -15,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -98,what is this number's binary representation in 8-bit two's complement?
![Page 118: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/118.jpg)
2 Exam #1059Page: 2 Name:
1059
e. (5 pts) Given that 11011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 119: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/119.jpg)
1 Exam #1060Page: 1 Name:
1060
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -1,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -123,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -99,what is this number's binary representation in 8-bit two's complement?
![Page 120: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/120.jpg)
2 Exam #1060Page: 2 Name:
1060
e. (5 pts) Given that 11101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 121: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/121.jpg)
1 Exam #1061Page: 1 Name:
1061
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -36,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -17,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -73,what is this number's binary representation in 8-bit two's complement?
![Page 122: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/122.jpg)
2 Exam #1061Page: 2 Name:
1061
e. (5 pts) Given that 10100011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 123: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/123.jpg)
1 Exam #1062Page: 1 Name:
1062
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -60,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -80,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -22,what is this number's binary representation in 8-bit two's complement?
![Page 124: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/124.jpg)
2 Exam #1062Page: 2 Name:
1062
e. (5 pts) Given that 11111110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 125: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/125.jpg)
1 Exam #1063Page: 1 Name:
1063
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -95,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -101,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -124,what is this number's binary representation in 8-bit two's complement?
![Page 126: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/126.jpg)
2 Exam #1063Page: 2 Name:
1063
e. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 127: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/127.jpg)
1 Exam #1064Page: 1 Name:
1064
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -11,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -56,what is this number's binary representation in 8-bit two's complement?
![Page 128: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/128.jpg)
2 Exam #1064Page: 2 Name:
1064
e. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 129: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/129.jpg)
1 Exam #1065Page: 1 Name:
1065
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -45,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -104,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -99,what is this number's binary representation in 8-bit two's complement?
![Page 130: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/130.jpg)
2 Exam #1065Page: 2 Name:
1065
e. (5 pts) Given that 11111111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 131: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/131.jpg)
1 Exam #1066Page: 1 Name:
1066
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -70,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -38,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -48,what is this number's binary representation in 8-bit two's complement?
![Page 132: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/132.jpg)
2 Exam #1066Page: 2 Name:
1066
e. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 133: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/133.jpg)
1 Exam #1067Page: 1 Name:
1067
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -105,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -60,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -22,what is this number's binary representation in 8-bit two's complement?
![Page 134: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/134.jpg)
2 Exam #1067Page: 2 Name:
1067
e. (5 pts) Given that 10010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 135: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/135.jpg)
1 Exam #1068Page: 1 Name:
1068
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -21,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -41,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -23,what is this number's binary representation in 8-bit two's complement?
![Page 136: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/136.jpg)
2 Exam #1068Page: 2 Name:
1068
e. (5 pts) Given that 10100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 137: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/137.jpg)
1 Exam #1069Page: 1 Name:
1069
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -55,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -62,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
![Page 138: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/138.jpg)
2 Exam #1069Page: 2 Name:
1069
e. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 139: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/139.jpg)
1 Exam #1070Page: 1 Name:
1070
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -80,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -74,what is this number's binary representation in 8-bit two's complement?
![Page 140: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/140.jpg)
2 Exam #1070Page: 2 Name:
1070
e. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 141: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/141.jpg)
1 Exam #1071Page: 1 Name:
1071
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -114,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -19,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -48,what is this number's binary representation in 8-bit two's complement?
![Page 142: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/142.jpg)
2 Exam #1071Page: 2 Name:
1071
e. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 143: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/143.jpg)
1 Exam #1072Page: 1 Name:
1072
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -80,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -73,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -96,what is this number's binary representation in 8-bit two's complement?
![Page 144: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/144.jpg)
2 Exam #1072Page: 2 Name:
1072
e. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 145: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/145.jpg)
1 Exam #1073Page: 1 Name:
1073
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -115,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -95,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -70,what is this number's binary representation in 8-bit two's complement?
![Page 146: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/146.jpg)
2 Exam #1073Page: 2 Name:
1073
e. (5 pts) Given that 11010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 147: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/147.jpg)
1 Exam #1074Page: 1 Name:
1074
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -12,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -30,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -19,what is this number's binary representation in 8-bit two's complement?
![Page 148: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/148.jpg)
2 Exam #1074Page: 2 Name:
1074
e. (5 pts) Given that 10110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 149: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/149.jpg)
1 Exam #1075Page: 1 Name:
1075
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -46,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -51,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -121,what is this number's binary representation in 8-bit two's complement?
![Page 150: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/150.jpg)
2 Exam #1075Page: 2 Name:
1075
e. (5 pts) Given that 11101001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 151: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/151.jpg)
1 Exam #1076Page: 1 Name:
1076
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -90,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -32,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -122,what is this number's binary representation in 8-bit two's complement?
![Page 152: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/152.jpg)
2 Exam #1076Page: 2 Name:
1076
e. (5 pts) Given that 11111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 153: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/153.jpg)
1 Exam #1077Page: 1 Name:
1077
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -125,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -54,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -97,what is this number's binary representation in 8-bit two's complement?
![Page 154: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/154.jpg)
2 Exam #1077Page: 2 Name:
1077
e. (5 pts) Given that 10110011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 155: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/155.jpg)
1 Exam #1078Page: 1 Name:
1078
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -21,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -116,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -45,what is this number's binary representation in 8-bit two's complement?
![Page 156: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/156.jpg)
2 Exam #1078Page: 2 Name:
1078
e. (5 pts) Given that 10001110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 157: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/157.jpg)
1 Exam #1079Page: 1 Name:
1079
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -56,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -10,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -19,what is this number's binary representation in 8-bit two's complement?
![Page 158: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/158.jpg)
2 Exam #1079Page: 2 Name:
1079
e. (5 pts) Given that 11000101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 159: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/159.jpg)
1 Exam #1080Page: 1 Name:
1080
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -100,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -119,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -20,what is this number's binary representation in 8-bit two's complement?
![Page 160: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/160.jpg)
2 Exam #1080Page: 2 Name:
1080
e. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 161: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/161.jpg)
1 Exam #1081Page: 1 Name:
1081
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -12,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -123,what is this number's binary representation in 8-bit two's complement?
![Page 162: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/162.jpg)
2 Exam #1081Page: 2 Name:
1081
e. (5 pts) Given that 10001111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 163: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/163.jpg)
1 Exam #1082Page: 1 Name:
1082
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -31,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -75,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -71,what is this number's binary representation in 8-bit two's complement?
![Page 164: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/164.jpg)
2 Exam #1082Page: 2 Name:
1082
e. (5 pts) Given that 11101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10001100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 165: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/165.jpg)
1 Exam #1083Page: 1 Name:
1083
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -66,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -97,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -46,what is this number's binary representation in 8-bit two's complement?
![Page 166: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/166.jpg)
2 Exam #1083Page: 2 Name:
1083
e. (5 pts) Given that 10100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 167: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/167.jpg)
1 Exam #1084Page: 1 Name:
1084
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -110,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -77,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -46,what is this number's binary representation in 8-bit two's complement?
![Page 168: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/168.jpg)
2 Exam #1084Page: 2 Name:
1084
e. (5 pts) Given that 10110100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 169: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/169.jpg)
1 Exam #1085Page: 1 Name:
1085
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -16,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -99,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -21,what is this number's binary representation in 8-bit two's complement?
![Page 170: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/170.jpg)
2 Exam #1085Page: 2 Name:
1085
e. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 171: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/171.jpg)
1 Exam #1086Page: 1 Name:
1086
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -41,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -34,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -97,what is this number's binary representation in 8-bit two's complement?
![Page 172: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/172.jpg)
2 Exam #1086Page: 2 Name:
1086
e. (5 pts) Given that 11000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 173: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/173.jpg)
1 Exam #1087Page: 1 Name:
1087
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -75,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -56,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -72,what is this number's binary representation in 8-bit two's complement?
![Page 174: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/174.jpg)
2 Exam #1087Page: 2 Name:
1087
e. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10100010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 175: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/175.jpg)
1 Exam #1088Page: 1 Name:
1088
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -69,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -91,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -26,what is this number's binary representation in 8-bit two's complement?
![Page 176: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/176.jpg)
2 Exam #1088Page: 2 Name:
1088
e. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 177: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/177.jpg)
1 Exam #1089Page: 1 Name:
1089
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -104,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -112,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -128,what is this number's binary representation in 8-bit two's complement?
![Page 178: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/178.jpg)
2 Exam #1089Page: 2 Name:
1089
e. (5 pts) Given that 10100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 179: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/179.jpg)
1 Exam #1090Page: 1 Name:
1090
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -1,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -47,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -77,what is this number's binary representation in 8-bit two's complement?
![Page 180: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/180.jpg)
2 Exam #1090Page: 2 Name:
1090
e. (5 pts) Given that 10000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 181: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/181.jpg)
1 Exam #1091Page: 1 Name:
1091
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -35,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -69,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -51,what is this number's binary representation in 8-bit two's complement?
![Page 182: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/182.jpg)
2 Exam #1091Page: 2 Name:
1091
e. (5 pts) Given that 10111001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10001110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 183: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/183.jpg)
1 Exam #1092Page: 1 Name:
1092
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -79,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -50,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -52,what is this number's binary representation in 8-bit two's complement?
![Page 184: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/184.jpg)
2 Exam #1092Page: 2 Name:
1092
e. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 185: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/185.jpg)
1 Exam #1093Page: 1 Name:
1093
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -114,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -71,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -26,what is this number's binary representation in 8-bit two's complement?
![Page 186: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/186.jpg)
2 Exam #1093Page: 2 Name:
1093
e. (5 pts) Given that 10000011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 187: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/187.jpg)
1 Exam #1094Page: 1 Name:
1094
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -10,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -103,what is this number's binary representation in 8-bit two's complement?
![Page 188: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/188.jpg)
2 Exam #1094Page: 2 Name:
1094
e. (5 pts) Given that 11011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 189: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/189.jpg)
1 Exam #1095Page: 1 Name:
1095
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -45,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -28,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -77,what is this number's binary representation in 8-bit two's complement?
![Page 190: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/190.jpg)
2 Exam #1095Page: 2 Name:
1095
e. (5 pts) Given that 10010101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 191: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/191.jpg)
1 Exam #1096Page: 1 Name:
1096
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -89,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -8,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -78,what is this number's binary representation in 8-bit two's complement?
![Page 192: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/192.jpg)
2 Exam #1096Page: 2 Name:
1096
e. (5 pts) Given that 10101000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 193: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/193.jpg)
1 Exam #1097Page: 1 Name:
1097
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -123,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -30,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -53,what is this number's binary representation in 8-bit two's complement?
![Page 194: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/194.jpg)
2 Exam #1097Page: 2 Name:
1097
e. (5 pts) Given that 11011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 195: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/195.jpg)
1 Exam #1098Page: 1 Name:
1098
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -20,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -93,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -1,what is this number's binary representation in 8-bit two's complement?
![Page 196: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/196.jpg)
2 Exam #1098Page: 2 Name:
1098
e. (5 pts) Given that 10111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 197: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/197.jpg)
1 Exam #1099Page: 1 Name:
1099
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -54,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -115,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -104,what is this number's binary representation in 8-bit two's complement?
![Page 198: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/198.jpg)
2 Exam #1099Page: 2 Name:
1099
e. (5 pts) Given that 11110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 199: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/199.jpg)
1 Exam #1100Page: 1 Name:
1100
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -99,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -95,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -104,what is this number's binary representation in 8-bit two's complement?
![Page 200: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/200.jpg)
2 Exam #1100Page: 2 Name:
1100
e. (5 pts) Given that 10000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 201: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/201.jpg)
1 Exam #1101Page: 1 Name:
1101
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -5,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -117,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -79,what is this number's binary representation in 8-bit two's complement?
![Page 202: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/202.jpg)
2 Exam #1101Page: 2 Name:
1101
e. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10010100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 203: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/203.jpg)
1 Exam #1102Page: 1 Name:
1102
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -30,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -52,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -27,what is this number's binary representation in 8-bit two's complement?
![Page 204: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/204.jpg)
2 Exam #1102Page: 2 Name:
1102
e. (5 pts) Given that 10010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 205: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/205.jpg)
1 Exam #1103Page: 1 Name:
1103
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -64,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -73,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -2,what is this number's binary representation in 8-bit two's complement?
![Page 206: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/206.jpg)
2 Exam #1103Page: 2 Name:
1103
e. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 207: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/207.jpg)
1 Exam #1104Page: 1 Name:
1104
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -30,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -127,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -49,what is this number's binary representation in 8-bit two's complement?
![Page 208: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/208.jpg)
2 Exam #1104Page: 2 Name:
1104
e. (5 pts) Given that 10000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11101100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000100 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 209: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/209.jpg)
1 Exam #1105Page: 1 Name:
1105
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -65,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -21,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -24,what is this number's binary representation in 8-bit two's complement?
![Page 210: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/210.jpg)
2 Exam #1105Page: 2 Name:
1105
e. (5 pts) Given that 10110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10001000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 211: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/211.jpg)
1 Exam #1106Page: 1 Name:
1106
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -90,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -84,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -100,what is this number's binary representation in 8-bit two's complement?
![Page 212: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/212.jpg)
2 Exam #1106Page: 2 Name:
1106
e. (5 pts) Given that 10010010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110100 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 213: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/213.jpg)
1 Exam #1107Page: 1 Name:
1107
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -124,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -106,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -75,what is this number's binary representation in 8-bit two's complement?
![Page 214: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/214.jpg)
2 Exam #1107Page: 2 Name:
1107
e. (5 pts) Given that 11001001 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 215: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/215.jpg)
1 Exam #1108Page: 1 Name:
1108
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -40,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -86,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -75,what is this number's binary representation in 8-bit two's complement?
![Page 216: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/216.jpg)
2 Exam #1108Page: 2 Name:
1108
e. (5 pts) Given that 11011100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11101011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 217: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/217.jpg)
1 Exam #1109Page: 1 Name:
1109
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -75,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -108,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -50,what is this number's binary representation in 8-bit two's complement?
![Page 218: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/218.jpg)
2 Exam #1109Page: 2 Name:
1109
e. (5 pts) Given that 10010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11000001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11110111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 219: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/219.jpg)
1 Exam #1110Page: 1 Name:
1110
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -99,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -43,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -126,what is this number's binary representation in 8-bit two's complement?
![Page 220: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/220.jpg)
2 Exam #1110Page: 2 Name:
1110
e. (5 pts) Given that 11101110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 221: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/221.jpg)
1 Exam #1111Page: 1 Name:
1111
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -6,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -65,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -101,what is this number's binary representation in 8-bit two's complement?
![Page 222: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/222.jpg)
2 Exam #1111Page: 2 Name:
1111
e. (5 pts) Given that 10100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10110001 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 223: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/223.jpg)
1 Exam #1112Page: 1 Name:
1112
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -50,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -45,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -101,what is this number's binary representation in 8-bit two's complement?
![Page 224: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/224.jpg)
2 Exam #1112Page: 2 Name:
1112
e. (5 pts) Given that 10111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101010 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 225: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/225.jpg)
1 Exam #1113Page: 1 Name:
1113
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -84,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -67,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -76,what is this number's binary representation in 8-bit two's complement?
![Page 226: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/226.jpg)
2 Exam #1113Page: 2 Name:
1113
e. (5 pts) Given that 11101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11001101 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100111 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 227: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/227.jpg)
1 Exam #1114Page: 1 Name:
1114
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -109,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -2,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -24,what is this number's binary representation in 8-bit two's complement?
![Page 228: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/228.jpg)
2 Exam #1114Page: 2 Name:
1114
e. (5 pts) Given that 11001010 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11100100 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11100000 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10101000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 229: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/229.jpg)
1 Exam #1115Page: 1 Name:
1115
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -16,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -23,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -127,what is this number's binary representation in 8-bit two's complement?
![Page 230: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/230.jpg)
2 Exam #1115Page: 2 Name:
1115
e. (5 pts) Given that 10000111 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10101111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10011011 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 231: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/231.jpg)
1 Exam #1116Page: 1 Name:
1116
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -60,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -4,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -128,what is this number's binary representation in 8-bit two's complement?
![Page 232: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/232.jpg)
2 Exam #1116Page: 2 Name:
1116
e. (5 pts) Given that 10010100 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10110110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10111010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11000000 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 233: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/233.jpg)
1 Exam #1117Page: 1 Name:
1117
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -94,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -26,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -102,what is this number's binary representation in 8-bit two's complement?
![Page 234: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/234.jpg)
2 Exam #1117Page: 2 Name:
1117
e. (5 pts) Given that 11001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11011001 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 11010110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 235: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/235.jpg)
1 Exam #1118Page: 1 Name:
1118
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -119,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -89,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -51,what is this number's binary representation in 8-bit two's complement?
![Page 236: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/236.jpg)
2 Exam #1118Page: 2 Name:
1118
e. (5 pts) Given that 10100110 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 11110000 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000010 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11001011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 237: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/237.jpg)
1 Exam #1119Page: 1 Name:
1119
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -82,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -25,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -110,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -35,what is this number's binary representation in 8-bit two's complement?
![Page 238: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/238.jpg)
2 Exam #1119Page: 2 Name:
1119
e. (5 pts) Given that 10010011 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011110 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10000110 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 10111011 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50
![Page 239: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/239.jpg)
1 Exam #1120Page: 1 Name:
1120
CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am12:15pm
Please write your name aboveYou are permitted to get help from others on this assignment.It must be completed and turned in in this class period.You may not turn in a copy for another student not present—that would be a most seriousbreach of academic honesty.
1. (10 pts) Fill in your name in the space above, legibly.
2. For these questions, assume 8-bit two's complement representation of negative integers. The left-most bit is the signbit, with 1 representing negative numbers, and 0 representing positive numbers.
a. (5 pts) Given the decimal number -81,what is this number's binary representation in 8-bit two's complement?
b. (5 pts) Given the decimal number -19,what is this number's binary representation in 8-bit two's complement?
c. (5 pts) Given the decimal number -17,what is this number's binary representation in 8-bit two's complement?
d. (5 pts) Given the decimal number -107,what is this number's binary representation in 8-bit two's complement?
![Page 240: CS32—Inclass assignment—F15, Phill Conrad, UC …pconrad/cs32/15F/pdf/cs32_F15_IC00.pdf · CS32—Inclass assignment—F15, Phill Conrad, UC Santa Barbara— Monday, You are permitted](https://reader035.vdocuments.mx/reader035/viewer/2022062504/5b5d8b677f8b9ad21d8e6bd0/html5/thumbnails/240.jpg)
2 Exam #1120Page: 2 Name:
1120
e. (5 pts) Given that 11010000 is the 8-bit two's complement representation of a number,what is that number in base ten?
f. (5 pts) Given that 10011111 is the 8-bit two's complement representation of a number,what is that number in base ten?
g. (5 pts) Given that 10100101 is the 8-bit two's complement representation of a number,what is that number in base ten?
h. (5 pts) Given that 11111111 is the 8-bit two's complement representation of a number,what is that number in base ten?
End of Examtotal points=50