Quiz Space

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

Question 13: Statement A student proposed a hypothesis that fewer stu…

Question 13

+4 marksOne or more correct options

Statement A student proposed a hypothesis that fewer students are born in the first half of the year than the second half of the year. She wrote the following procedure which uses the “Scores” dataset to verify the hypothesis. However, the procedure may contain some errors. Find out the errors if present. Step 1: Arrange all cards in a single pile called Pile 1 Step 2: Maintain two variables A and B and initialize them to 0 Step 3: If Pile 1 is empty then stop the iteration and start from Step 8 Step 4: Read the top card in Pile 1 Step 5: If the Date of Birth is from 1st January to 30th June then increment A Step 6: If the Date of Birth is from 1st July to 31st December then increment B Step 7: Move the current card to another pile called Pile 2 and repeat from Step 3 Step 8: If A > B then declare the hypothesis to be True Step 9: If A ≤ B then declare the hypothesis to be False

Select all that apply.

  1. A

    Step 5 to increment A is incorrect

  2. B

    Step 6 to increment B is incorrect

  3. C

    Step 8 to declare the hypothesis as True is incorrect

  4. D

    Step 9 to declare the hypothesis as False is incorrect

  5. E

    The procedure is free of errors

Show answer

Correct answers

  • C

    Step 8 to declare the hypothesis as True is incorrect

  • D

    Step 9 to declare the hypothesis as False is incorrect

Question 13 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. Q12Statement A pair of words is said to be special if it fulfills following conditions: The number of vowels are the same …