This document contains multiple examples of converting between different number systems including: decimal, binary, octal, hexadecimal; performing arithmetic operations like addition and multiplication in different bases without converting; obtaining 1's and 2's complements of binary numbers; representing a decimal number in BCD, excess-3, 2421, and 6311 codes; converting decimal numbers between sign-magnitude and signed-10's complement forms and performing addition; and decoding an ASCII code.
This document contains multiple examples of converting between different number systems including: decimal, binary, octal, hexadecimal; performing arithmetic operations like addition and multiplication in different bases without converting; obtaining 1's and 2's complements of binary numbers; representing a decimal number in BCD, excess-3, 2421, and 6311 codes; converting decimal numbers between sign-magnitude and signed-10's complement forms and performing addition; and decoding an ASCII code.
This document contains multiple examples of converting between different number systems including: decimal, binary, octal, hexadecimal; performing arithmetic operations like addition and multiplication in different bases without converting; obtaining 1's and 2's complements of binary numbers; representing a decimal number in BCD, excess-3, 2421, and 6311 codes; converting decimal numbers between sign-magnitude and signed-10's complement forms and performing addition; and decoding an ASCII code.
This document contains multiple examples of converting between different number systems including: decimal, binary, octal, hexadecimal; performing arithmetic operations like addition and multiplication in different bases without converting; obtaining 1's and 2's complements of binary numbers; representing a decimal number in BCD, excess-3, 2421, and 6311 codes; converting decimal numbers between sign-magnitude and signed-10's complement forms and performing addition; and decoding an ASCII code.
1. Convert from Decimal to Binary, Octal, Hexadecimal.
(a) (364.25)10 (b) (1516)10 (c) (35.75)10 (d) (798)10 (e) (94.125)10 2. Convert from Binary to decimal. (a) (101101.01)2 (b) (110110011111)2 (c) (1101001010.11)2 (d) (100010.001)2 (e) (1111111010010)2 3. Convert from Octal to decimal. (a) (10742.24)8 (b) (5351.62)8 (c) (56.35)8 (d) (452.76)8 (e) (1015475)8 4. Convert from Hexadecimal to Decimal. (a) (1217. C)16 (b) (B09D4)16 (c) (A586)16 (d) (590.4)16 (e) (1D0B. 2)16 5. Add and multiply the following numbers without converting them to decimal. (a) (1011)2 and (101)2 (b) (110)2 and (100)2 (c) (215)16 and (5A)16 (d) (2E)16 and (34)16 6. Obtain the 1’s and 2’s complements of the following binary numbers: (a) 00010000 (b) 00000000 (c) 11011010 (d) 10101010 7. Represent the decimal number 6,248 in: (a) BCD (b) excess‐3 code (c) 2421 code (d) a 6311 code 8. The following decimal numbers are shown in sign‐magnitude form: +9,286 and +801. Convert them to signed-10’s‐complement form and perform the following operations: (a) (+9,286) + (+801) (b) (+9,286) + (-801) 9. Decode the following ASCII code: 1010011 1110100 1100101 1110110 1100101 0100000 1001010 1101111 1100010 1110011.