Computer Science, asked by palakkumari261107, 1 month ago

decimal to binary. i) 345. i) 113. i) 145. Give full expiation​

Answers

Answered by adityagupta2c
0

Answer:

see I can't answer but I can show some example pics if help pls make me as brilliant

Attachments:
Answered by Abhijitkeshari
0

Explanation:

1) 345 :- step 1 Perform the successive MOD operation by 2 for the given decimal number 345 and note down the remainder (either 0 or 1) for each operation. The last remainder is the MSB (most significant bit) and the first remainder is the LSB (least significant bit).

345 / 2 = 172 : Remainder is 1 → LSB

172 / 2 = 86 : Remainder is 0

86 / 2 = 43 : Remainder is 0

43 / 2 = 21 : Remainder is 1

21 / 2 = 10 : Remainder is 1

10 / 2 = 5 : Remainder is 0

5 / 2 = 2 : Remainder is 1

2 / 2 = 1 : Remainder is 0

1 / 2 = 0 : Remainder is 1 → MSB

step 2 Write the remainders from MSB to LSB provide the equivalent binary number

101011001

Similar questions