Answer
Decimal number 100:
100 / 16 = 6 remainder 4
6 | 4
Hence, the hexadecimal number is 64, and the binary number is 1100100.
Decimal number 4340:
4340 / 16 = 271 remainder 4
271 / 16 = 16 remainder 15
16 / 16 = 1 remainder 0
1 / 16 = 0 remainder 1
Hence, the hexadecimal number is 10DC, and the binary number is 1000011011100.
Decimal number 2000:
2000 / 16 = 125 remainder 0
125 / 16 = 7 remainder 13
7 / 16 = 0 remainder 7
Hence, the hexadecimal number is 7D0, and the binary number is 11111010000.
Work Step by Step
To convert decimal numbers into hexadecimal and binary, we can use the following steps:
Step 1: Divide the decimal number by the base of the target number system (16 for hexadecimal, 2 for binary).
Step 2: Write down the remainder (in hexadecimal or binary format) as the least significant digit of the target number.
Step 3: Divide the quotient (integer part) of the previous division by the base again, and write down the remainder as the next least significant digit of the target number.
Step 4: Repeat step 3 until the quotient becomes zero.
Step 5: Write the target number by concatenating the digits obtained in step 2 through step 4, from the most significant digit to the least significant digit.