Quiz Space

Computational Thinking · End Term · 11 Dec 2022 · September 2022 term · Set 2

Computational Thinking (CT) End Term 11 Dec 2022 — Question 38

Question 38

+1 markWritten answer

Based on the above data, answer the given subquestions.

Based on the above data, answer the given subquestions.
Show answer

A written answer, not marked automatically.

Question 38 of 43 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 11 Dec 2022, in the September 2022 term (IIT M FOUNDATION FN2 EXAM ETF2 11 Dec 2022). It carries 1 mark.

More questions from this paper

  1. Q1THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL: SEMESTER 1: COMPUTATIONAL THINKING" ARE YOU SURE YOU HAVE TO …
  2. Q2Figure question
  3. Q3Figure question
  4. Q4Figure question
  5. Q5Figure question
  6. Q6Figure question
  7. Q7Figure question
  8. Q8Let D be a dictionary whose keys are strings and values are integers. For each key A in D, D[A] is the letter count of …
  9. Q9Let D be a dictionary. Choose the correct statement(s) about the dictionary D. It is a Multiple Select Question (MSQ).
  10. Q10length(LB) == length(LA)
  11. Q11At the end of the execution, LC == [1 ]
  12. Q12Each element of LB is a list of different length
  13. Q13last(LB) == LA
  14. Q14Only one of element of LB is an empty list
  15. Q15What will the value of X represent at the end of the execution?
  16. Q16How many times will the procedure calculate be called, excluding the initial call in line 1?
  17. Q17What will outList represent at the end of the execution?
  18. Q18The values of length(outList) and A will be same at the end of the execution.
  19. Q19There may be multiple pairs having the same maximum distance. If we wish to find the pair that is closest to the first …
  20. Q20There may be multiple pairs having the same maximum distance. If we wish to find a pair of stations closest to the last…
  21. Q21Which of the following statements about the variable flag1 is True at the end of the execution of the given pseudocode?
  22. Q22What will the variable count represent at the end of the execution of the given pseudocode?
  23. Q23At the end of the execution of the code given, what can be said about the values stored by the Boolean variables flag1 …
  24. Q24Study the pseudocode given above and answer the given subquestions.
  25. Q25Which of the following statements are true about this graph? It is a Multiple Select Question (MSQ).
  26. Q26What will the value of S be at the end of the execution when L= [3, 2, 1, 4, 1, 2, 3] ?
  27. Q27What will the value of S be at the end of the execution when L = [4, 3, 2, 1, -1, -2, -3, -4] ?
  28. Q28The following pseudocode generates graph G (Matrix M) from chess. Each node corresponds to a player. There is an edge f…
  29. Q29Choose the correct statement(s) about graph G. It is a Multiple Select Question.
  30. Q30A chess tournament is conducted for n players. Each player plays with every other player d times. The result of each ma…
  31. Q31If matrixPh[i][j] = 1, then
  32. Q32Choose the correct statement based on given pseudocode.
  33. Q33Consider the dictionary D, and the matrices matrixPh, matrixCh and matrixMa computed in the previous question. The foll…
  34. Q34At the end of the following pseudocode, A captures the number of distinct pairs of students who can help each other in …
  35. Q35Based on the above data, answer the given subquestions.
  36. Q36Based on the above data, answer the given subquestions.
  37. Q37Based on the above data, answer the given subquestions.
  38. Q39Based on the above data, answer the given subquestions.
  39. Q40Study the pseudocode given above and answer the given subquestions.
  40. Q41Based on the above data, answer the given subquestions.
  41. Q42A chess tournament is conducted for n players. Each player plays with every other player d times. The result of each ma…
  42. Q43Based on the above data, answer the given subquestions.