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

Post on 29-Jul-2018

231 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

1 Exam #1001Page: 1 Name:

1001

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1002Page: 1 Name:

1002

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1003Page: 1 Name:

1003

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1004Page: 1 Name:

1004

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1005Page: 1 Name:

1005

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1006Page: 1 Name:

1006

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1007Page: 1 Name:

1007

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1008Page: 1 Name:

1008

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1009Page: 1 Name:

1009

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1010Page: 1 Name:

1010

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1011Page: 1 Name:

1011

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1012Page: 1 Name:

1012

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1013Page: 1 Name:

1013

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1014Page: 1 Name:

1014

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1015Page: 1 Name:

1015

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1016Page: 1 Name:

1016

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1017Page: 1 Name:

1017

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1018Page: 1 Name:

1018

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1019Page: 1 Name:

1019

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1020Page: 1 Name:

1020

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1021Page: 1 Name:

1021

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1022Page: 1 Name:

1022

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1023Page: 1 Name:

1023

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1024Page: 1 Name:

1024

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1025Page: 1 Name:

1025

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1026Page: 1 Name:

1026

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1027Page: 1 Name:

1027

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1028Page: 1 Name:

1028

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1029Page: 1 Name:

1029

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1030Page: 1 Name:

1030

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1031Page: 1 Name:

1031

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1032Page: 1 Name:

1032

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1033Page: 1 Name:

1033

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1034Page: 1 Name:

1034

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1035Page: 1 Name:

1035

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1036Page: 1 Name:

1036

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1037Page: 1 Name:

1037

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1038Page: 1 Name:

1038

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1039Page: 1 Name:

1039

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1040Page: 1 Name:

1040

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1041Page: 1 Name:

1041

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1042Page: 1 Name:

1042

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1043Page: 1 Name:

1043

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1044Page: 1 Name:

1044

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1045Page: 1 Name:

1045

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1046Page: 1 Name:

1046

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1047Page: 1 Name:

1047

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1048Page: 1 Name:

1048

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1049Page: 1 Name:

1049

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1050Page: 1 Name:

1050

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1051Page: 1 Name:

1051

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1052Page: 1 Name:

1052

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1053Page: 1 Name:

1053

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1054Page: 1 Name:

1054

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1055Page: 1 Name:

1055

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1056Page: 1 Name:

1056

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1057Page: 1 Name:

1057

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1058Page: 1 Name:

1058

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1059Page: 1 Name:

1059

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1060Page: 1 Name:

1060

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1061Page: 1 Name:

1061

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1062Page: 1 Name:

1062

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1063Page: 1 Name:

1063

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1064Page: 1 Name:

1064

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1065Page: 1 Name:

1065

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1066Page: 1 Name:

1066

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1067Page: 1 Name:

1067

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1068Page: 1 Name:

1068

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1069Page: 1 Name:

1069

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1070Page: 1 Name:

1070

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1071Page: 1 Name:

1071

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1072Page: 1 Name:

1072

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1073Page: 1 Name:

1073

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1074Page: 1 Name:

1074

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1075Page: 1 Name:

1075

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1076Page: 1 Name:

1076

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1077Page: 1 Name:

1077

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1078Page: 1 Name:

1078

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1079Page: 1 Name:

1079

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1080Page: 1 Name:

1080

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1081Page: 1 Name:

1081

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1082Page: 1 Name:

1082

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1083Page: 1 Name:

1083

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1084Page: 1 Name:

1084

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1085Page: 1 Name:

1085

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1086Page: 1 Name:

1086

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1087Page: 1 Name:

1087

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1088Page: 1 Name:

1088

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1089Page: 1 Name:

1089

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1090Page: 1 Name:

1090

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1091Page: 1 Name:

1091

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1092Page: 1 Name:

1092

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1093Page: 1 Name:

1093

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1094Page: 1 Name:

1094

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1095Page: 1 Name:

1095

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1096Page: 1 Name:

1096

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1097Page: 1 Name:

1097

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1098Page: 1 Name:

1098

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1099Page: 1 Name:

1099

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1100Page: 1 Name:

1100

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1101Page: 1 Name:

1101

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1102Page: 1 Name:

1102

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1103Page: 1 Name:

1103

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1104Page: 1 Name:

1104

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1105Page: 1 Name:

1105

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1106Page: 1 Name:

1106

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1107Page: 1 Name:

1107

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1108Page: 1 Name:

1108

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1109Page: 1 Name:

1109

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1110Page: 1 Name:

1110

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1111Page: 1 Name:

1111

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1112Page: 1 Name:

1112

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1113Page: 1 Name:

1113

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1114Page: 1 Name:

1114

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1115Page: 1 Name:

1115

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1116Page: 1 Name:

1116

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1117Page: 1 Name:

1117

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1118Page: 1 Name:

1118

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1119Page: 1 Name:

1119

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

1 Exam #1120Page: 1 Name:

1120

CS32—In­class assignment—F15, Phill Conrad, UC Santa Barbara— Monday,11/23/2015, 11am­12: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?

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

top related