Which of the following is the correct binary representation of the decimal…
2025
Which of the following is the correct binary representation of the decimal number 45?
- A.
101011
- B.
111000
- C.
101101
- D.
110101
Attempted by 111 students.
Show answer & explanation
Correct answer: C
To convert the decimal number 45 into binary:
45 ÷ 2 = 22 remainder 1
22 ÷ 2 = 11 remainder 0
11 ÷ 2 = 5 remainder 1
5 ÷ 2 = 2 remainder 1
2 ÷ 2 = 1 remainder 0
1 ÷ 2 = 0 remainder 1
Now, reading the remainders from bottom to top:
101101
So, the binary representation of decimal number 45 is 101101.