Quiz Space

Intro to C Programming End Term: 13 April 2025, Set QEF1 (January 2025 term)

Question 1

+4 marksOne correct option

What is the value of x, y and z at the end of computation of the following code snippet.

c
int x = 1, y = 2, z = 3;
x = y + z;
z = x - y;
z = z + x;
z = y + z;
y = y + z;
  1. A

    1 2 3

  2. B

    4 6 8

  3. C

    5 12 10

  4. D

    8 6 10

Question 2

+4 marksOne correct option

Which of the following is true about recursion?

  1. A

    Reduces the execution time significantly in comparison to using loops

  2. B

    Reduces the Memory requirement significantly in comparison to using loops

  3. C

    Reduces the Amount of lines of codes needed for performing tasks with repeating sub-structure

  4. D

    All of these

Question 3

+4 marksOne correct option

A 32-bit integer 0x12345678 is stored in memory starting at address 0x3000 on a little-endian system. Which of the following correctly represents the memory layout (address and stored values)?

  1. A

    0x3000: 12
    0x3001: 34
    0x3002: 56
    0x3003: 78

  2. B

    0x3000: 78
    0x3001: 56
    0x3002: 34
    0x3003: 12

  3. C

    0x3000: 56
    0x3001: 78
    0x3002: 12
    0x3003: 34

  4. D

    0x3000: 12
    0x3004: 34
    0x3008: 56
    0x300C: 78

21 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Intro to C Programming End Term 13 Apr 2025 Set QEF1 paper

The IIT Madras BS Introduction to C Programming (Intro to C Programming) End Term paper sat on 13 Apr 2025, in the January 2025 term, set QEF1: 24 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureIntro to C Programming End Term 13 Apr 2025 Set QEF1 at a glance
TermJanuary 2025 term
SubjectIntroduction to C Programming
Course codeCS1101
Questions24
Marks100
Duration180 min
MCQ17
MSQ2
Numerical5
Official paperIIT M ES FOUNDATION AN EXAM QEF3 13 Apr 2025
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Intro to C Programming