The document contains problems involving converting between decimal, binary, octal, and hexadecimal number systems. Some problems involve converting specific numbers between representations while others involve general conversions between number bases or obtaining bit configurations, 1's complements, 2's complements, 9's complements, and 10's complements of numbers.
CS304PC:Computer Organization and Architecture Unit III problems.pdf
1. Unit –III
Data Representation
Practical problems
1. Convert Decimal equivalent 98 into binary Equivalent.
2. Convert the following binary numbers to decimal.
i. 101110
ii. 1110101
iii. 110110100
2. 3. Conversion of decimal 41.6875 into binary.
4. Conversion of decimal 98.46 into binary.
5. Convert the following decimal number to the bases indicated
a. 7562 to octal
b. 1938 to hexadecimal
c. 175 to binary
3. 6. Convert Decimal Equivalent 278 to BCD number.
7. Convert the hexadecimal number F3A7C2 to binary and octal.
4. 8. Show the value of all bits of a 12-bit register that hold the number equivalent to
decimal 215 in
a. Binary
b. Binary coded octal
c. Binary coded hexadecimal
d. Binary coded decimal(BCD)
9. Show th bit configuration of a 24-bit register when its content represents the decimal
equivalent of 295:
a. Binary
b. BCD
c. ASCII using eight bits with even parity
5. 10. Obtain the 9’s complement of the following eight-digit decimal numbers:
a. 1249876
b. 00980100
c. 90009951
d. 00000000
11. Obtain the 10’s complement of the following six-digit decimal numbers:
a. 123900
b. 090657
c. 100000
d. 000000
6. 12. Obtain th 1’s and 2’s complments of the following eight-digit binary numbers:
a. 10101110
b. 10000001
c. 10000000
d. 00000001
e. 00000000
13.