Quiz Space

Computational Thinking Qualifier: 10 July 2022 (May 2022 term)

Question 1

+2 marksOne correct option

The following pseudocode is executed using the "Words" dataset. What will A represent at the end of the execution?

text
1 A = 0
2 while(Table 1 has more rows){
3 Read the first row X in Table 1
4 i = 1, B = True
5 while(i <= X.LetterCount){
6 if(ith letter of X.Word is a vowel){
7 B = False
8 }
9 i = i + 1
10 }
11 if(B){
12 A = A + 1
13 }
14 Move X to Table 2
15 }
  1. A

    Number of words with at most one vowel

  2. B

    Number of words with exactly one vowel

  3. C

    Number of words with only vowels

  4. D

    Number of words without vowels

Question 2

+2 marksOne correct option

The following pseudocode is executed using the "Words" dataset. At the end of the execution, A is set to True if there exist a pair of words with same part of speech and same letter count. Choose the correct code fragment to complete the pseudocode.

text
1 A = False
2 while(Table 1 has more rows){
3 Read the first row X in Table 1
4 Move X to Table 2
5 while(Table 1 has more rows){
6 Read the first row Y in Table 1
7 ********************
8 * Fill the code *
9 ********************
10 Move Y to Table 3
11 }
12 Move all rows from Table 3 to Table 1
13 }
  1. A
  2. B
  3. C
  4. D

Question 3

+2 marksOne correct option

The following pseudocode is executed using the "Library" dataset. What will count represent at the end of the execution?

text
1 A = 0, count = 0
2 while(Table 1 has more rows){
3 Read the first row X in Table 1
4 if(X.Year > A){
5 A = X.Year
6 }
7 Move X to Table 2
8 }
9 while(Table 2 has more rows){
10 Read the first row Y in Table 2
11 if(Y.Year != A){
12 count = count + 1
13 }
14 Move Y to Table 1
15 }
  1. A

    Number of authors who have not published a book in the most recent year

  2. B

    Number of authors who have not published maximum number of books

  3. C

    Number of books which are not published in the most recent year

  4. D

    Number of authors who have published a book in the most recent year

11 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the Computational Thinking (CT) Qualifier 10 Jul 2022 paper

The IIT Madras BS Computational Thinking (Computational Thinking (CT)) Qualifier paper sat on 10 Jul 2022, in the May 2022 term: 14 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureComputational Thinking (CT) Qualifier 10 Jul 2022 at a glance
TermMay 2022 term
SubjectComputational Thinking
Course codeBSCS1001
Questions14
Marks50
Duration120 min
MCQ10
MSQ4
Official paperIIT M QUALIFIER EXAM QPA1 10 July 2022
Negative markingNo negative marking.
Updated

Same Qualifier, other subjects

More Computational Thinking (CT)