Quiz Space

Computational Thinking · End Term · 1 Sept 2024 · May 2024 term · Set 2

Computational Thinking (CT) End Term 1 Sept 2024 — Question 3

Question 3

+5 marksOne correct option
Figure from the original question paper
  1. A

    Number of pairs of students with different gender or same TownCity

  2. B

    Number of pairs of students with same gender or different TownCity

  3. C

    Number of pairs of students with the same gender and the same TownCity

  4. D

    The code will give an error due to incorrect return statements in lines 15 and18

Show answer

Correct answer

  • A

    Number of pairs of students with different gender or same TownCity

Question 3 of 26 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 1 Sept 2024, in the May 2024 term (IIT M FOUNDATION DIPLOMA FN EXAM). It carries 5 marks.

More questions from this paper

  1. Q1THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL : SEMESTER I: COMPUTATIONAL THINKING (COMPUTER BASED EXAM)" AR…
  2. Q2Figure question
  3. Q4Figure question
  4. Q5Figure question
  5. Q6Figure question
  6. Q7Figure question
  7. Q8Figure question
  8. Q9Figure question
  9. Q10Figure question
  10. Q11Figure question
  11. Q12Figure question
  12. Q13Figure question
  13. Q14Figure question
  14. Q15When will procedure doSomething(X) return True?
  15. Q16Based on the above data, answer the given subquestions.
  16. Q17Based on the above data, answer the given subquestions.
  17. Q18Based on the above data, answer the given subquestions.
  18. Q19Based on above information, answer the given subquestions
  19. Q20Based on above information, answer the given subquestions
  20. Q21Choose the correct option(s) with respect to the graph G.
  21. Q22Based on the above data, answer the given subquestions.
  22. Q23Based on the above data, answer the given subquestions.
  23. Q24Based on the above data, answer the given subquestions.
  24. Q25Based on above information, answer the given subquestions
  25. Q26Based on the above data, answer the given subquestions.