Quiz Space

May 2022 term · Programming in Python · BSCS1002

Programming in Python End Term: 7 August 2022 (May 2022 term)

The IIT Madras BS Programming in Python (Python) End Term paper sat on 7 Aug 2022, in the May 2022 term: 18 questions for 50 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
18
Marks
50
Duration
180 min
MCQ
11
MSQ
1
Numerical
6

Updated

Official paper: IIT M FOUNDATION DIPLOMA ENDTERM QPB1 07 Aug 2022 IBA NS · No negative marking.

Question 1

+2 marksOne correct option
  1. A

    a

  2. B

    k

  3. C

    n

  4. D

    f

Show answer

Correct answer

  • A

    a

Question 2

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 3

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • D

Question 4

+3 marksOne correct option
  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 5

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 6

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 7

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 8

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • B

Question 9

+2 marksOne or more correct options

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 10

+3 marksNumerical answer
Show answer

Correct answer: 5

Question 11

+3 marksNumerical answer
Show answer

Correct answer: 10

Question 12

+3 marksNumerical answer
Show answer

Correct answer: 3

Question 13

+3 marksNumerical answer
Show answer

Correct answer: 4321

Question 14

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 15

+2 marksNumerical answer
Show answer

Correct answer: 3

Question 16

+3 marksOne correct option
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 17

+3 marksOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • A

Question 18

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 3