Quiz Space

Computational Thinking · Qualifier · 13 Apr 2025 · January 2025 term

Question 4: Let X be a row in the "Words" dataset. Let isShortVerb be…

Question 4

+4 marksOne correct option

Let X be a row in the "Words" dataset. Let isShortVerb be a procedure to find whether the word in the row X is a verb with letter count at most five. Choose the correct code fragment to complete the pseudocode.

text
Procedure isShortVerb(X)
********************
* Fill the code *
********************
End isShortVerb
  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • D

Question 4 of 12 in the IIT Madras BS Computational Thinking (Computational Thinking (CT)) Qualifier paper sat on 13 Apr 2025, in the January 2025 term (IIT M DS REATTEMPT AN EXAM QDQ1 13 Apr 2025). It carries 4 marks.

More questions from this paper

  1. Q1Statement The following pseudocode is executed using the “Library” dataset. What will A represent at the end of executi…
  2. Q2The following pseudocode is executed using the "Scores" table. What will A represent at the end of the execution?
  3. Q3The following pseudocode is executed using the "Words" dataset. At the end of the execution, A captures the maximum let…
  4. Q5Statement The following pseudocode is executed using the "Scores" dataset. At the end of the execution of below pseudoc…
  5. Q6Statement The following pseudocode is executed using the “Words” dataset. The variable count counts the words with part…
  6. Q7Statement The given pseudocode is executed using the "Scores" dataset. There is a hypothesis that if a student performs…
  7. Q8Statement The following pseudocode is executed using the “Scores” dataset. At the end of the execution, A captures the …
  8. Q9Statement The given information represents a "Words" dataset and it may have some mistakes with respect to the sanity o…
  9. Q10Statement The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the following p…
  10. Q11Statement\ The following pseudocode is executed using the “Scores” dataset Based on the above data, answer the given su…
  11. Q12Statement\ The following pseudocode is executed using the “Scores” dataset Based on the above data, answer the given su…