ENGR 325 HOMEWORK #3 KEY
(5) What is 5ED4 – 07A4 when these values represent unsigned 16-bit hexadecimal numbers? The result should be written in hexadecimal. Show your work. (P&H 3.1, §3.2) SOLUTION: 5ED4 - 07A4 0x5730 2. (5) What is 5ED4 – 07A4 when these values represent signed 16-bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work. (P&H 3.2, §3.2) SOLUTION: If both are signed hex numbers in sign-magnitude format (MSB = sign), the result is the same, since the MSBs of both numbers are zero: 0x5730. 3. (5) What is 4365 – 3412 when these values represent unsigned 12-bit octal numbers? The result should be written in octal. Show your work. (P&H 3.4, §3.2) SOLUTION: 4365 - 3412 0753
Written for
- Institution
-
Calvin College
- Course
-
ENGR 325
Document information
- Uploaded on
- July 2, 2022
- Number of pages
- 4
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal