1. Convert to binary: (a) 2483 (b) OX3E8A 2. Convert to decimal: (a) 1011000111
ID: 3787456 • Letter: 1
Question
1. Convert to binary:
(a) 2483
(b) OX3E8A
2. Convert to decimal:
(a) 1011000111
(b) OX3E8A
3. Perform the following additions in binary:
(a) 11010101+1110011
(b) 10011111+100001
4. Convert the following 8-bit binary numbers to decimal:
(a) 11101011
(b) 10000000
(c) 01000101
* Assuming that they are signed 2's complement numbers.
* Assuming that the numbers are unsigned.
(For example, as a signed number, 11110101B=-11; as unsigned number, 11110101B=245).
5. Do the following addition exercises by translating the numbers into 8-bit 2's complement binary numbers, performing the arithmetic, and translating the result back into a decimal number. Indicate where overflow occurs and why, based on the binary arithmetic:
(a) 47 + 38
(b) 47 - 38
(c) -47 - 38
(d) 47 + 88
(e) -47 + 88
(f) 47 - 88
Explanation / Answer
1. Convert to binary:
(a) 2483 -----> (0000100110110011) binary value
(b) OX3E8A----->
2. Convert to decimal:
(a) 1011000111 ---->(711) decimal value
(b) OX3E8A ----->
3. Perform the following additions in binary:
(a) 11010101+1110011 -----> 0101001000
(b) 10011111+10000 -----> 011000000
4. Convert the following 8-bit binary numbers to decimal:
Assuming that they are signed 2's complement numbers.
(a) 11101011-->(-21)
(b) 10000000-->(-128)
(c) 01000101-->(69)
* Assuming that the numbers are unsigned.
(a) 11101011-->235
(b) 10000000-->128
(c) 01000101-->69
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.