Quiz Space

Programming in C · Quiz 1 · 27 Oct 2024 · September 2024 term

Question 5: Find the Hexadecimal representation of the word “CAT” in …

Question 5

+3 marksOne correct option

Find the Hexadecimal representation of the word “CAT” in ASCII.
Hint: A - 65(decimal), B - 66, … in ASCII.

  1. A

    0x43 0x41 0x54

  2. B

    0x42 0x40 0x53

  3. C

    0x43 0x61 0x54

  4. D

    0x42 0x41 0x53

Show answer

Correct answer

  • A

    0x43 0x41 0x54

Question 5 of 18 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term (IIT M DEGREE AN EXAM QDB2 27 Oct 2024). It carries 3 marks.

More questions from this paper

  1. Q1Select all the correct statements from the below.
  2. Q2Convert the following hexadecimal number to its equivalent binary representation.\ B5E9
  3. Q3Figure question
  4. Q4Figure question
  5. Q6Which of the following expression represent the order in which the expression 8 - 2 3 + 4 / 2 is evaluated in C?
  6. Q7Figure question
  7. Q8Figure question
  8. Q9Figure question
  9. Q10Find the minimum number of bits required to represent an instruction set where there are 16 unique instructions and eac…
  10. Q11Figure question
  11. Q12Figure question
  12. Q13What is the minimum number of bits needed to represent -6 to 7 using signed magnitude representation?
  13. Q14Figure question
  14. Q15Figure question
  15. Q16Figure question
  16. Q17Figure question
  17. Q18Figure question