a) Calculate the 273 – 278 in 2’s Complement Binary number.
b) (740)8= ( ? )16
Answers
Answer:
a) Calculate the 273 – 278 in 2’s Complement Binary number.
b) (740)8= ( ? )16
Explanation:
calculate 273-278 in 2's complement and convert (740)8 to hexa-decimal
Explanation:
- To determine 2's complement of a decimal number we first convert it to binary, take it's 1's complement(complement each bit) and add 1 to it(binary addition). 2's complement of a positive decimal number is simply its binary conversion.
- here we have ,
- here we two decimal numbers first convert them to binary, for negative number we do 2's complement using point 1. ,
- from (a) we get ,
--(b)
5. here (b) is in 2's complement form hence, left most bit shows sign of
the number in decimal form ,
hence,
6. converting octal to hexadecimal we first convert octal to binary and
then binary to decimal.
7.To convert binary to hexadecimal we make bits multiple of four and
divide them in groups,
8. hence,