Quiz Space

Programming in C End Term: 22 December 2024, Set QDB1 (September 2024 term)

Question 1

+3 marksOne correct option

Which of the following data types will result in the largest memory allocation?

  1. A

    int

  2. B

    char

  3. C

    double

  4. D

    float

Question 2

+3 marksOne correct option

What is the primary difference between a function declaration and a function definition in C?

  1. A

    A function declaration specifies the name, return type, and parameters of a function, while a function definition provides the implementation of the function.

  2. B

    A function declaration provides the implementation of the function, while a function definition specifies only the function signature.

  3. C

    Both are the same, they can be used interchangeably.

  4. D

    Function declarations are only required for recursive functions.

Question 3

+3 marksOne correct option

Which of the following is not a valid memory segment in C?

  1. A

    Code segment

  2. B

    Heap segment

  3. C

    Register segment

  4. D

    Data segment

22 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 Programming in C End Term 22 Dec 2024 Set QDB1 paper

The IIT Madras BS Programming in C (Programming in C) End Term paper sat on 22 Dec 2024, in the September 2024 term, set QDB1: 25 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.

FeatureProgramming in C End Term 22 Dec 2024 Set QDB1 at a glance
TermSeptember 2024 term
SubjectProgramming in C
Course codeBSCS3005
Questions25
Marks100
Duration180 min
MCQ18
MSQ3
Numerical4
Official paperIIT M DEGREE AN EXAM QDB3 22 Dec 2024
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Programming in C