Quiz Space

Computational Thinking · Quiz 1 · 13 Jul 2025 · May 2025 term · Set 1

Question 5: Consider the "Scores" dataset. The procedure AvgMarks(gen…

Question 5

+4 marksOne correct option

Consider the "Scores" dataset. The procedure AvgMarks(gen) computes the average Chemistry marks of all students who belong to the gender gen.
Which of the following is the correct implementation of the procedure AvgMarks(gen)?

  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 5 of 14 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term (IIT M IMPROVEMENT AN EXAM QIP4 13 July). It carries 4 marks.

More questions from this paper

  1. Q1THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL : COMPUTATIONAL THINKING (COMPUTER BASED EXAM)" ARE YOU SURE Y…
  2. Q2Figure question
  3. Q3Consider the flowchart shown below: Consider the flowchart shown below: Which of the following pseudocode is correct fo…
  4. Q4Figure question
  5. Q6Figure question
  6. Q7Figure question
  7. Q8Figure question
  8. Q9Figure question
  9. Q10Figure question
  10. Q11Figure question
  11. Q12Figure question
  12. Q13The following pseudocode is executed using the “Words” dataset. The following pseudocode is executed using the “Words” …
  13. Q14Figure question