Quiz Space

Computational Thinking · Quiz 2 · 13 Mar 2022 · January 2022 term · Set QPE2

Question 3: Let L be a non-empty list, and D be a non-empty dictionar…

Question 3

+1 markOne correct option

Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false:

For keys a and b in D , if a ≠ b then D [a] ≠ D[b] is always True.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 3 of 19 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Quiz 2 paper sat on 13 Mar 2022, in the January 2022 term (IIT M FOUNDATION QUIZ2 EXAM QPE2 13 Mar 2022). It carries 1 mark.

More questions from this paper

  1. Q1Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false: Elem…
  2. Q2Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false: Let …
  3. Q4Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false: For …
  4. Q5Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false: For …
  5. Q6Let L be a non-empty list, and D be a non-empty dictionary. Choose whether the given statements are true or false: Let …
  6. Q7Consider the procedure doSomething given below. If A = [4, 5, 3, 1, 9, 4, 6, 5, 9] and B = doSomething(A). Choose the c…
  7. Q8The following table contains information regarding authors from the “Library” dataset. Each row in the table correspond…
  8. Q9In a shop selling soft drinks, Ritvika wants to combine two soft drinks to see which combinations taste better. The dri…
  9. Q10Consider the procedure given below. If L1 and L2 are two lists, and L = eliminate (L1, L2), then answer the given subqu…
  10. Q11Consider the procedure given below. If L1 and L2 are two lists, and L = eliminate (L1, L2), then answer the given subqu…
  11. Q12What will countSomething(M, 0, 5) return?\ NOTE: Enter your answer to the nearest integer.
  12. Q13If Line 2 is replaced by count = M[i][j], then what will countSomething(M, 0, 5) return? NOTE: Enter your answer to the…
  13. Q14The following pseudocode is executed using the “Words” dataset. Assume that words are arranged in increasing order of s…
  14. Q15The following pseudocode is executed using the “Words” dataset. Assume that words are arranged in increasing order of s…
  15. Q16The following pseudocode is executed using the “Shopping Bills” dataset. Based on the above data, answer the given subq…
  16. Q17The following pseudocode is executed using the “Shopping Bills” dataset. Based on the above data, answer the given subq…
  17. Q18The following pseudocode is executed using the “Shopping Bills” dataset. Procedure similar(X, Y) returns True if the di…
  18. Q19The following pseudocode is executed using the “Shopping Bills” dataset. Procedure similar(X, Y) returns True if the di…