Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Last NAME First Name: 8. (5 points) Please circle around over all TRUE Boolean e

ID: 3746515 • Letter: L

Question

Last NAME First Name: 8. (5 points) Please circle around over all TRUE Boolean expressions (the left byte is the most significant) signed 0x9000>0x7FFF, signed 0x30000x7FFF, unsigned 0x80000x7FFF. In EACH Questions 10.1-104 you are given SIGNED Integers stored in 32 BIT Registiers 10.1 (5 points) What is the result (hexadecimal, decimal and binary) of the following addition 0x0000000E OxEEFFFFFE HEX: 0x Decimal: Binary: 10.2 (5 points) What is the result (hexadecimal, decimal and binary) of the following subtraction HEX: Ox Decimal: Binary 10.3 0x80000000 (5 points) What is the resulthexadecimal, decimal and binary) of the following ubtraction: xEFFFFFFF HEX: 0x Decimal: Binary 10.4 (5 points) What is the resulkthexadecimal, decimsal and binary) of the following addition 0x7FFFFFFF (F F mod16) E) OXFFFFFFFF Decimal: Binary: Please write your result in the following form: 0x80000000 OVEREFLOW 0xFEFFFFFF

Explanation / Answer

If we represent both numbers in binary
0x8000 = 1000 0000 0000 0000
0x7FFF = 0111 1111 1111 1111

Because both of these numbers are unsigned, hence we can compare their leftmost bit and see which is more.. hence.. 0x8000 is greater than 0x7FFF

0x8000 > 0x7FFF