Quiz Space

Programming in C · End Term · 13 Sept 2026 · May 2026 term

Question 1: Which of the following components is primarily responsibl…

Question 1

+3 marksOne correct option

Which of the following components is primarily responsible for performing arithmetic and logical operations in a computer?

  1. A

    Arithmetic Logic Unit (ALU)

  2. B

    Control Unit

  3. C

    Memory Unit

  4. D

    Input Unit

Show answer

Correct answer

  • A

    Arithmetic Logic Unit (ALU)

Question 1 of 25 in the IIT Madras BS Programming in C (Programming in C) End Term paper sat on 13 Sept 2026, in the May 2026 term (Programming in C 13 Sep 26). It carries 3 marks.

More questions from this paper

  1. Q2A 4-byte integer 0x89ABCDEF is stored beginning at memory address 4000 in a Little-Endian system.\ Which value will be …
  2. Q3Consider the following C program. What will be the output?
  3. Q4Which of the following statements about typedef in C is correct?
  4. Q5Which of the following file opening modes allows reading and writing while preserving the existing file contents?
  5. Q6Consider the following C program. What will be the output?
  6. Q7Consider the following computation steps. What is the final value stored in R[3]?
  7. Q8Consider the following C program. (ASCII value of 'B' is 66.) What will be the output?
  8. Q9Consider the following C program. What will be the output?
  9. Q10Consider the following generalized memory computations. What is the final value stored in M[3]?
  10. Q11The decimal equivalent of the following 8-bit signed two's complement number is
  11. Q12Consider the following C code. What will be the output?
  12. Q13Consider the following recursive function. What will be the output?
  13. Q14Consider the following C program. What will be the output?
  14. Q15Consider the following C program. What will be the output?
  15. Q16Which stage of the C compilation process is responsible for expanding macros and processing header files?
  16. Q17Consider the following C program. What will be the output?
  17. Q18Which preprocessor directive is used to include the contents of another source or header file into the current program?
  18. Q19Consider the following C program. What will be the output?
  19. Q20Which of the following statements are correct regarding character encoding?
  20. Q21Consider the following C program. What will be the output printed on the screen?
  21. Q22Consider the following C program. What will be the output?
  22. Q23Consider the following C program. What will be the output?
  23. Q24Consider the following C program. What will be the output?
  24. Q25Which of the following statements about pointers are correct?