Computational Thinking (CT) End Term 11 Dec 2022 — Question 5
Show answer
Correct answer
Question 5 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 4 marks.
More questions from this paper
- THIS IS QUESTION PAPER FOR THE SUBJECT "FOUNDATION LEVEL: SEMESTER 1: COMPUTATIONAL THINKING" ARE YOU SURE YOU HAVE TO …
- Figure question
- Figure question
- Figure question
- Figure question
- Figure question
- Let 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 …
- Let D be a dictionary. Choose the correct statement(s) about the dictionary D. It is a Multiple Select Question (MSQ).
- length(LB) == length(LA)
- At the end of the execution, LC == [1 ]
- Each element of LB is a list of different length
- last(LB) == LA
- Only one of element of LB is an empty list
- What will the value of X represent at the end of the execution?
- How many times will the procedure calculate be called, excluding the initial call in line 1?
- What will outList represent at the end of the execution?
- The values of length(outList) and A will be same at the end of the execution.
- There may be multiple pairs having the same maximum distance. If we wish to find the pair that is closest to the first …
- There may be multiple pairs having the same maximum distance. If we wish to find a pair of stations closest to the last…
- Which of the following statements about the variable flag1 is True at the end of the execution of the given pseudocode?
- What will the variable count represent at the end of the execution of the given pseudocode?
- At the end of the execution of the code given, what can be said about the values stored by the Boolean variables flag1 …
- Study the pseudocode given above and answer the given subquestions.
- Which of the following statements are true about this graph? It is a Multiple Select Question (MSQ).
- What will the value of S be at the end of the execution when L= [3, 2, 1, 4, 1, 2, 3] ?
- What will the value of S be at the end of the execution when L = [4, 3, 2, 1, -1, -2, -3, -4] ?
- The following pseudocode generates graph G (Matrix M) from chess. Each node corresponds to a player. There is an edge f…
- Choose the correct statement(s) about graph G. It is a Multiple Select Question.
- A chess tournament is conducted for n players. Each player plays with every other player d times. The result of each ma…
- If matrixPh[i][j] = 1, then
- Choose the correct statement based on given pseudocode.
- Consider the dictionary D, and the matrices matrixPh, matrixCh and matrixMa computed in the previous question. The foll…
- At the end of the following pseudocode, A captures the number of distinct pairs of students who can help each other in …
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- Based on the above data, answer the given subquestions.
- Study the pseudocode given above and answer the given subquestions.
- Based on the above data, answer the given subquestions.
- A chess tournament is conducted for n players. Each player plays with every other player d times. The result of each ma…
- Based on the above data, answer the given subquestions.



