uiz Space

January 2024 term · Programming, Data Structures and Algorithms using Python · BSCS2002

Programming, Data Structures and Algorithms using Python Quiz 1: 25 February 2024 (January 2024 term)

The IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term: 15 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
15
Marks
50
Duration
120 min
MSQ
5
MCQ
6
Numerical
4

Updated

Official paper: IIT M DIPLOMA AN2 EXAM QDD2 25 Feb 2024 · No negative marking.

Question 1

+3 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • C

Question 2

+3 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • D
  • E

Question 3

+3 marksOne or more correct options

Select all that apply.

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

Correct answers

  • A
  • B
  • E

Question 4

+3 marksOne or more correct options

Select all that apply.

  1. A

    Insertion of the new node at the front of the linked list.

  2. B

    Insertion of the new node at the end of the linked list.

  3. C

    Deletion of the first node of the linked list.

  4. D

    Deletion of the last node of the linked list.

  5. E

    Deletion of the second node (from starting) of the linked list.

Show answer

Correct answers

  • B

    Insertion of the new node at the end of the linked list.

  • D

    Deletion of the last node of the linked list.

Question 5

+3 marksOne or more correct options

Select all that apply.

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

Correct answers

  • C
  • D

Question 6

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

Correct answer

  • C

Question 7

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

Correct answer

  • B

Question 8

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

Correct answer

  • B

Question 9

+4 marksOne correct option
  1. A

    [22, 25, 56, 67, 89]

  2. B

    [52, 25, 76, 67, 89]

  3. C

    [22, 25, 76, 67, 50]

  4. D

    [52, 25, 89, 67, 76]

Show answer

Correct answer

  • A

    [22, 25, 56, 67, 89]

Question 10

+4 marksOne correct option
  1. A

    1 2 3 4 5 5 4 3 2 1

  2. B

    5 4 3 2 1 1 2 3 4 5

  3. C

    5 4 3 2 1 5 4 3 2 1

  4. D

    1 2 3 4 5 1 2 3 4 5

Show answer

Correct answer

  • D

    1 2 3 4 5 1 2 3 4 5

Question 11

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

Correct answer

  • C

Question 12

+4 marksNumerical answer
Show answer

Correct answer: 3

Question 13

+4 marksNumerical answer
Show answer

Correct answer: 4

Question 14

+4 marksNumerical answer
Show answer

Correct answer: 10

Question 15

+4 marksNumerical answer
Show answer

Correct answer: 6