Quiz Space

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

Question 12: Statement A pair of words is said to be special if it fu…

Question 12

+4 marksOne correct option

Statement A pair of words is said to be special if it fulfills following conditions: The number of vowels are the same in both words and the number of consonants are not the same in both words. The given pseudocode is executed using the “Words” dataset. The variable count in the given pseudocode counts the number of special pairs. Choose the correct code fragment to complete the pseudocode.

Statement  A pair of words is said to be special if it fulfills following conditions:  The number of vowels are the same
  1. A
    Figure from the original question paper
  2. B
    Figure from the original question paper
  3. C
    Figure from the original question paper
  4. D
    Figure from the original question paper
Show answer

Correct answer

  • B
    Figure from the original question paper

Question 12 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 4 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. Q3The following pseudocode is executed on the "Library" dataset. What will count represent after the pseudocode below is …
  4. Q4Statement The following pseudocode is executed using the "Words" dataset. At the end of the execution, count stores the…
  5. Q5Match the following expressions in the Column 1 with the appropriate values in Column 2.
  6. Q6The following pseudocode is executed using the “Scores” dataset. Which of the following statements is correct?
  7. Q7The following pseudocode is executed using the Shopping Bills dataset. At the end of the execution, A captures the lowe…
  8. Q8Statement The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following p…
  9. Q9Statement The following pseudocode is executed using the “Scores” dataset. What will A represent at the end of the exec…
  10. Q10Statement The following pseudocode is executed using the “Olympics” dataset. Procedure doSomething accepts a table wher…
  11. Q11Statement The following procedure is executed using "Words" dataset. What will A represent at the end of the execution?…
  12. Q13Statement A student proposed a hypothesis that fewer students are born in the first half of the year than the second ha…