Quiz Space

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

Question 14: What is the value of S at the end of the execution of th…

Question 14

+5 marksWritten answer

What is the value of S at the end of the execution of the following pseudocode?

What is the value of S at the end of the execution of the following pseudocode?
Show answer

A written answer, not marked automatically.

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