uiz Space

May 2022 term · Programming in Python · BSCS1002

Programming in Python Diploma Entry Qualifier: 7 August 2022, Set 2 (May 2022 term)

The IIT Madras BS Programming in Python (Python) Diploma Entry Qualifier paper sat on 7 Aug 2022, in the May 2022 term, set 2: 13 questions for 28 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
13
Marks
28
Duration
180 min
MCQ
6
MSQ
2
Written
5

Updated

Official paper: IIT M DAD DS QUALIFIER EXAM QPC 07 Aug 2022 IBA NS · No negative marking.

Question 1

+1 markOne correct option
Figure from the original question paper
  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • A

    Yes

Question 2

+1 markOne correct option
Figure from the original question paper
Figure from the original question paper
  1. A

    Useful Data has been mentioned above.

  2. B

    This data attachment is just for a reference & not for an evaluation.

Show answer

Correct answer

  • A

    Useful Data has been mentioned above.

Question 3

+2 marksOne correct option
Figure from the original question paper
  1. A

    a

  2. B

    k

  3. C

    n

  4. D

    f

Show answer

Correct answer

  • A

    a

Question 4

+2 marksOne correct option
Figure from the original question paper
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • A
    Figure from the original question paper

Question 5

+3 marksOne correct option
Figure from the original question paper
  1. A

    Only code-1 is a correct implementation.

  2. B

    Only code-2 is a correct implementation.

  3. C

    Both code-1 and code-2 are correct implementations.

  4. D

    Both code-1 and code-2 are not correct implementations.

Show answer

Correct answer

  • A

    Only code-1 is a correct implementation.

Question 6

+3 marksOne correct option
Figure from the original question paper
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • A
    Figure from the original question paper

Question 7

+2 marksOne or more correct options
Figure from the original question paper

Select all that apply.

  1. A

    Code-1 will throw an error in line-2

  2. B

    Code-2 will throw an error in line-4

  3. C

    Code-3 will throw an error in line-3

  4. D

    Code-3 will run without any error

Show answer

Correct answers

  • A

    Code-1 will throw an error in line-2

  • B

    Code-2 will throw an error in line-4

  • D

    Code-3 will run without any error

Question 8

+3 marksWritten answer
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 9

+3 marksWritten answer
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 10

+3 marksWritten answer
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 11

+2 marksOne or more correct options

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.

Which of the following options is/are correct for the given piece of code?

Select all that apply.

  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answers

  • B
    Figure from the original question paper
  • D
    Figure from the original question paper

Question 12

+2 marksWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Figure from the original question paper
Show answer

A written answer, not marked automatically.

Question 13

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.