Quiz Space

Computational Thinking · Quiz 2 · 12 Apr 2026 · January 2026 term

Question 10: Let Z be a row in the Words table such that Z.Word = "re…

Question 10

+3 marksWritten answer

Let Z be a row in the Words table such that Z.Word = "reluctant". What will be the value of alphaDict['t'] at the end of the execution of the following pseudocode?

Let Z be a row in the Words table such that Z.Word = "reluctant". What will be the value of alphaDict['t'] at the end of
Show answer

A written answer, not marked automatically.

Question 10 of 14 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 2 paper sat on 12 Apr 2026, in the January 2026 term (CT 06 Apr 26). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2What will be the value of outList at the end of execution of the given pseudocode?
  3. Q3The following pseudocode is executed using the "Words" dataset and explode(X) returns the list of letters in the word X…
  4. Q4The following pseudocode is executed using the "Scores" dataset. What will the values of A and B represent at the end o…
  5. Q5Use the procedure doSomething given below. The following pseudocode is executed using the Words dataset and the procedu…
  6. Q6The following pseudocode is executed on the "Shopping Bills" dataset. What will Val represent at the end of the executi…
  7. Q7We have a dictionary Registration where the keys are student names and the values are lists of courses they have regist…
  8. Q8Two players play a game with dice. The results are stored in dieRolls, a list of pairs where each pair represents a rol…
  9. Q9Let SortedL be a list of integers sorted in ascending order. The procedure deleteVal(SortedL, X) is supposed to delete …
  10. Q11The following procedure is executed on dictionary D: D = { 'A': 10, 'B': 25, 'C': 30, 'D': 40, 'E': 18 } What is the fi…
  11. Q12The following pseudocode is executed using the "Olympics" dataset. TeamDict is a dictionary accumulating player names f…
  12. Q13The following pseudocode is executed using the "Olympics" dataset. TeamDict is a dictionary accumulating player names f…
  13. Q14The following pseudocode is executed using the "Olympics" dataset. TeamDict is a dictionary accumulating player names f…