Quiz Space

Computational Thinking · Quiz 1 · 19 Jul 2026 · May 2026 term

Question 3: The following pseudocode is executed on the "Library" dat…

Question 3

+5 marksOne correct option

The following pseudocode is executed on the "Library" dataset. What will count represent after the pseudocode below is executed?

The following pseudocode is executed on the "Library" dataset. What will count represent after the pseudocode below is e
  1. A

    Number of book pairs that have different authors but are written in the same language

  2. B

    Number of book pairs that have different authors and languages

  3. C

    Number of book pairs that have the same author but are in different languages

  4. D

    Number of book pairs that have same author and are in the same language

Show answer

Correct answer

  • A

    Number of book pairs that have different authors but are written in the same language

Question 3 of 13 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (CT 16 Jul 26). It carries 5 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2The following pseudocode is executed using the Word dataset. What will count represent at the end of the execution?
  3. Q4Statement The following pseudocode is executed using the "Words" dataset. At the end of the execution, count stores the…
  4. Q5Match the following expressions in the Column 1 with the appropriate values in Column 2.
  5. Q6The following pseudocode is executed using the “Scores” dataset. Which of the following statements is correct?
  6. Q7The following pseudocode is executed using the Shopping Bills dataset. At the end of the execution, A captures the lowe…
  7. Q8Statement The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following p…
  8. Q9Statement The following pseudocode is executed using the “Scores” dataset. What will A represent at the end of the exec…
  9. Q10Statement The following pseudocode is executed using the “Olympics” dataset. Procedure doSomething accepts a table wher…
  10. Q11Statement The following procedure is executed using "Words" dataset. What will A represent at the end of the execution?…
  11. Q12Statement A pair of words is said to be special if it fulfills following conditions: The number of vowels are the same …
  12. Q13Statement A student proposed a hypothesis that fewer students are born in the first half of the year than the second ha…