Quiz Space

Programming in C · Quiz 1 · 23 Feb 2025 · January 2025 term

Question 9: Convert the binary number 10101010 to its decimal equival…

Question 9

+3 marksOne correct option

Convert the binary number 10101010 to its decimal equivalent.

  1. A

    170

  2. B

    180

  3. C

    160

  4. D

    175

Show answer

Correct answer

  • A

    170

Question 9 of 16 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term (IIT M DEGREE AN EXAM QDB2 23 Feb 2025). It carries 3 marks.

More questions from this paper

  1. Q1What is the role of the Program Counter (PC) in the CPU?
  2. Q2What is the correct order of memory levels based on size (smallest to largest)?
  3. Q3Which of the following operators in C have right-to-left associativity?
  4. Q4Consider the generalized computation given below:\ R[0] ← M[0]\ R[1] ← M[1]\ R[2] = R[1] - R[0]\ If R[2] != 0, set R[1]…
  5. Q5Figure question
  6. Q6Figure question
  7. Q7Figure question
  8. Q8Figure question
  9. Q10Convert the hexadecimal number 0x7C5D to its equivalent decimal representation:
  10. Q11Figure question
  11. Q12Which of the following is true for an 8-bit 2's complement representation?
  12. Q13Select all the valid variable names in C:
  13. Q14Consider the generalized computation given below:\ R[0] ← M[0]\ R[1] ← M[1]\ R[1] = R[1] - R[0]\ R[0] = R[0] + R[1]\ R[…
  14. Q15Find the minimum number of bits required to represent an instruction set where there are 16 unique instructions, and ea…
  15. Q16Figure question