Quiz Space

Computational Thinking · Qualifier · 24 Mar 2024 · January 2024 term

Question 12: The following pseudocode is executed using the "Scores" …

Question 12

+3 marksOne or more correct options

The following pseudocode is executed using the "Scores" dataset. At the end of the execution of the below pseudocode, if count2 represents the number of male students whose Physics marks are less than or equal to Mathematics marks, then choose the correct code fragment(s) to complete the pseudocode.

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • D

Question 12 of 14 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Qualifier paper sat on 24 Mar 2024, in the January 2024 term (IIT M QUALIFIER AN EXAM QDQ1 24 Mar 2024). It carries 3 marks.

More questions from this paper

  1. Q1The given pseudocode is executed using the “Shopping Bills” dataset.frac stores the ratio of the number of customers wh…
  2. Q2The following pseudocode is executed using the "Words" dataset. At the end of the execution, count stores the number of…
  3. Q3The following pseudocode is executed using the “Scores” dataset. Assume that the variable AvgT holds the value of the a…
  4. Q4The following pseudocode is executed using the “Words” dataset. What will A represent at the end of the execution?
  5. Q5Procedure miniSum accepts three numbers as parameters and returns the sum of two smallest numbers.\ Choose the correct …
  6. Q6The following pseudocode is executed using the “Scores” dataset. What will count represent at the end of the execution?
  7. Q7The following pseudocode is executed using the “Olympics” dataset. Procedure doSomething accepts a table of rows that c…
  8. Q8The following pseudocode is executed using the “Library” dataset. What will B represent at the end of execution?
  9. Q9The following pseudocode is executed using the “Scores” dataset. What will A represent at the end of the execution?
  10. Q10The following pseudocode is executed using the “Words” dataset. What will count represent at the end of execution?
  11. Q11The given pseudocode is executed using the “Olympics” table. At the end of execution, count represent the number of pai…
  12. Q13The given information represents a "Library" dataset and it may have some mistakes with respect to the sanity of the da…
  13. Q14The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following paragraph.\…