Quiz Space

Intro to C Programming End Term: 1 September 2024, Set QEF3 (May 2024 term)

Question 1

+3 marksOne or more correct options

Which of the following statements is/are true about the switch statement in C?

Select all that apply.

  1. A

    The break statement is compulsory to use with switch statement.

  2. B

    The default statement is compulsory to use with switch statement.

  3. C

    The default statement is optional with switch statement.

  4. D

    Multiple case labels can be used with switch statement.

Also asked in End Term 1 Sept 2024, End Term 13 Apr 2025, End Term 13 Apr 2025, End Term 13 Apr 2025 and 2 more

Question 2

+3 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D

Question 3

+3 marksOne correct option

Which of the following statements correctly declares a pointer variable ptr to hold the address of a character variable ch in C and assigns the address of ch to ptr?

  1. A

    char *ptr; ptr = &ch;

  2. B

    char *ptr; ptr = *ch;

  3. C

    char ptr; ptr = &ch;

  4. D

    char ptr; ptr = *ch;

Also asked in End Term 1 Sept 2024, End Term 13 Apr 2025, End Term 13 Apr 2025, End Term 13 Apr 2025 and 2 more

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 Intro to C Programming End Term 1 Sept 2024 Set QEF3 paper

The IIT Madras BS Introduction to C Programming (Intro to C Programming) End Term paper sat on 1 Sept 2024, in the May 2024 term, set QEF3: 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.

FeatureIntro to C Programming End Term 1 Sept 2024 Set QEF3 at a glance
TermMay 2024 term
SubjectIntroduction to C Programming
Course codeCS1101
Questions25
Marks100
Duration180 min
MSQ4
MCQ19
Numerical2
Official paperIIT M ES FOUNDATION AN EXAM QEF3 01 Sep 2024
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More Intro to C Programming