Quiz Space

Computational Thinking · Quiz 2 · 16 Aug 2026 · May 2026 term

Question 2: The following pseudocode is executed using the Scores dat…

Question 2

+5 marksOne correct option

The following pseudocode is executed using the Scores dataset.

What does L contain at the end of the execution?

The following pseudocode is executed using the Scores dataset.
  1. A

    Towns/cities where the highest and second highest total scores among students from that town/city differ by at most 10

  2. B

    Towns/cities where every student has a total score within 10 marks of every other student from that town/city

  3. C

    Towns/cities where the highest and second highest total scores among students from that town/city differ by more than 10

  4. D

    Towns/cities where the first two students read from that town/city differ in total score by at most 10

Show answer

Correct answer

  • A

    Towns/cities where the highest and second highest total scores among students from that town/city differ by at most 10

Question 2 of 14 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term (CT 14 Aug 26). It carries 5 marks.

More questions from this paper

  1. Q1Figure question
  2. Q3The following pseudocode is executed using the Library dataset. What does D store at the end of the execution?
  3. Q4The following pseudocode is executed on the Words dataset. What does represent at the end of execution?
  4. Q5The following procedure takes a list of integers as input. What is returned by ?
  5. Q6The following pseudocode is executed using the Shopping Bills dataset. What does represent for a category C?
  6. Q7The following pseudocode is executed using the Shopping Bills dataset. What will D represent at the end of the executio…
  7. Q8The following pseudocode is executed using the Words dataset. Choose all the correct statements.
  8. Q9The procedure visitedShop returns the list of names of people who have visited a particular shop in the Shopping Bills …
  9. Q10The following pseudocode is executed on the Scores dataset. Assume uniquely identifies each student. Which of the follo…
  10. Q11The following pseudocode is executed using the Library dataset. Choose all the correct statements.
  11. Q12Consider the following procedure. What is returned by
  12. Q13The given pseudocode is executed using a dataset having the same fields as the Words dataset, and contains the followin…
  13. Q14What is the value of S at the end of the execution of the following pseudocode?