Quiz Space

Programming in C · Quiz 1 · 25 Feb 2024 · January 2024 term

Programming in C Quiz 1 25 Feb 2024 — Question 7

Question 7

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 7 of 16 in the IIT Madras BS Programming in C (Programming in C) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term (IIT M DEGREE AN2 EXAM QDB2 25 Feb 2024). It carries 3 marks.

More questions from this paper

  1. Q1Which of the following components temporarily stores data and instructions that are frequently requested?
  2. Q2Which type of memory is typically used for storage of BIOS (Basic Input/Output System) firmware in a computer?
  3. Q3Select the correct statement about peripherals in a computer.
  4. Q4Consider the signed integer -4 is represented with 4 bits in signed magnitude form. If the same 4 bits are interpreted …
  5. Q5The number of '1's present in the binary form of the hexadecimal number 0xE5F7 is _?
  6. Q6Assume the digits from 0 to 9 are encoded as characters. The even digits are mapped from 0 to 4 in ascending order, and…
  7. Q8Select the correct statement about the sizes of the different data types in C.
  8. Q9Select the snippet that will generate the output "12345".
  9. Q10Figure question
  10. Q11Figure question
  11. Q12What is the minimum number of bits required to represent the character set with uppercase and lowercase alphabets, the …
  12. Q13If a = 0 and the output of the given program is 'A', then what can be the possible values of b and c?
  13. Q14If a, b, and c could only take the values 0 or 1, select all the statements that are correct.
  14. Q15If the value of b is 9, then what will be the output of the given program?
  15. Q16If the value of b is 10, then what will be the output of the given program?