Correct Answer - Option 2 : 101101
Concept:
Convert decimal to binary
Conversion steps:
- Divide the number by 2.
- Get the integer quotient for the next iteration.
- Get the remainder for the binary digit.
- Repeat the steps until the quotient is equal to 0.
Calculation:
Here, we have to find the binary equivalent of 45
2
|
45
|
|
2
|
22
|
1
|
2
|
11
|
0
|
2
|
5
|
1
|
2
|
2
|
1
|
2
|
1
|
0
|
So, the binary equivalent of 45 is 101101
∴ (45)10 = (101101)2