Convert the decimal number 45 into binary, octal and hexadecimal.
Options
-
A.
Binary: 101101, Octal: 55, Hexadecimal: 2D
-
B.
Binary: 101011, Octal: 54, Hexadecimal: 2C
-
C.
Binary: 110101, Octal: 65, Hexadecimal: 3D
-
D.
Binary: 111101, Octal: 57, Hexadecimal: 2F
-
E.
None of the above
Correct Answer (Detailed Explanation is Below)
A.
Binary: 101101, Octal: 55, Hexadecimal: 2D
Detailed Explanation
Correct Answer: (A)45 in binary = 101101.
45 in octal = 55.
45 in hexadecimal = 2D.
Verification: 2D = (2 × 16) + 13 = 45.