1.

Convert 29 into binary.A. 10101B. 11110C. 11101D. 110011. A2. B3. D4. C

Answer» Correct Answer - Option 4 : C

The correct answer is 11101.

  • The binary equivalent of decimal 29= 11101.
  • Step 1: Perform the successive modulo operation by 2 for the given decimal number 29 and note down the remainder (either 0 or 1) for each operation.
    • 29 / 2 = 14: Remainder = 1 → LSB
    • 14/ 2 = 7: Remainder = 0
    • 7 / 2 = 3: Remainder = 1
    • 3 / 2 = 1: Remainder = 1
    • 1 / 2 = 0: Remainder = 1 → MSB.
    • LSB(least significant bit): The last remainder.
    • MSB(most significant bit): The first remainder.
  • Step 2: Write the remainders from MSB to LSB to provide the equivalent binary number.
  • 2910= 11101


Discussion

No Comment Found

Related InterviewSolutions