Question 1
Yes
No
The IIT Madras BS Computational Thinking (Computational Thinking (CT)) End Term paper sat on 7 Aug 2022, in the May 2022 term, set 6: 33 questions for 108 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Yes
No
Correct answer
Yes
Useful Data has been mentioned above.
This data attachment is just for a reference & not for an evaluation.
Correct answer
Useful Data has been mentioned above.
A
A + B
A + C
A + D
Correct answer
A + D
Number of fictional books
Number of fictional books written in other than English
Number of books written in English + Number of fictional books
Number of books written in English + Number of fictional books written inother than English
Number of fictional books + Number of non-fictional books written in English
Correct answer
Number of fictional books written in other than English




Correct answer

List of cities that have more than one student
List of cities that have at least one boy and at least one girl
List of cities that have either boys or girls, but not both
List of cities that have exactly one boy or exactly one girl
Correct answer
List of cities that have at least one boy and at least one girl
The difference between highest and lowest Mathematics marks of the city i
The difference between overall highest and lowest Mathematics marks of thedataset
The difference between highest and second highset Mathematics marks of thecity i
It will be always 0.
Correct answer
The difference between highest and lowest Mathematics marks of the city i
List of words which have maximum number of letters
List of words which have maximum number of distinct letters
List of words which have maximum number of duplicate letters
List of words which have minimum number of letters
Correct answer
List of words which have maximum number of distinct letters
N = Maximum number of medals won by a playercount = Number of distinct players
N = Maximum number of medals won by a playercount = Total number of medals
N = Maximum number of players who won the same medalcount = Total number of medals
N = Maximum number of players who won the same medalcount = Number of distinct players
Correct answer
N = Maximum number of medals won by a playercount = Number of distinct players
Number of words in which vowels occur consecutively
Number of words in which no two vowels occur consecutively
Number of words in which vowels and consonants occur consecutivley
Number of words in which no two vowels and no two consonants occurconsecutivley
Correct answer
Number of words in which no two vowels and no two consonants occurconsecutivley
L = [0, 1, 2, 3, 4, 5]
L = [0, 1, 3, 2, 4, 5]
L = [0, 1, 3, 4, 5, 2]
L = [0, 1, 3, 2, 5, 4]
Correct answer
L = [0, 1, 3, 2, 4, 5]
['t', 't, 'i', 'n']
['t', 'i', 'n']
['t', 'i', 'i', 'n']
['t', 'i', 'n', 'i']
Correct answer
['t', 'i', 'n']
List of shops visited by customer c but not by r
List of shops visited by customers either r or c, but not both
List of shops visited by both customers r and c
List of shops visited by customer r but not by c
Correct answer
List of shops visited by customer r but not by c
Line 1: Incorrect initialization of A
Line 5: Incorrect conditional statement
Line 16: Incorrect updating of L
Line 21: Incorrect conditional statement
Line 22: Incorrect updation of dictionary D
Correct answers
Line 5: Incorrect conditional statement
Line 21: Incorrect conditional statement
A written answer, not marked automatically.
What will evaluate(L1, L2) return?
[0, 0, 12, 15]
[2, 2, 12, 15]
[0, 0 , 15, 12]
[2, 2, 7, 8]
Correct answer
[0, 0, 12, 15]
How many times will the procedure evaluate be called, excluding the main call?
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
What will A represent at the end of the execution?
Number of students whose Physics marks are at most 90
Number of female students whose Physics marks are at least 90
Number of female students whose Physics marks are at most 90
Number of male students whose Physics marks are at most 90
Correct answer
Number of female students whose Physics marks are at most 90
Based on the above data, answer the given subquestions.
What will B represent at the end of the execution?
Number of students whose Physics marks are at most 90
Number of students whose Physics marks are at least 90
Number of female students whose Physics marks are at least 90
Number of female students whose Physics marks are at most 90
Correct answer
Number of female students whose Physics marks are at most 90
Based on the above data, answer the given subquestions.
What will itemD[i][j] represent?
Revenue generated by item j for shop i
Revenue generated by item i for shop j
Cost of item i in shop j
Cost of item j in shop i
Correct answer
Revenue generated by item j for shop i
Based on the above data, answer the given subquestions.
What will costD[i] represent at the end of the execution?
List of item(s) which generated highest revenue for shop i
List of item(s) which generated lowest revenue for shop i
List of cost of most sold item(s) in shop i
List of cost of least sold item(s) in shop i
Correct answer
List of item(s) which generated highest revenue for shop i
Based on the above data, answer the given subquestions
Choose the correct option(s) with respect to the graph G.It is a Multiple Select Question.
The in-degree and out-degree for each node in G is the same.
G is always acyclic.
If B[i][j] = 1 then B[j][i] = 1, for any i, j
If B[i][j] = 1 then B[j][i] = 0, for any i, j
If B[i][j] = 0 then B[j][i] = 1, for any i, j
Correct answers
G is always acyclic.
If B[i][j] = 1 then B[j][i] = 0, for any i, j
Based on the above data, answer the given subquestions
If student i has scored greater total marks than at least one student
If student i has scored less total marks than at least one student
If student i has scored lowest total marks among all students
If student i has scored highest total marks among all students
Correct answer
If student i has scored highest total marks among all students
A written answer, not marked automatically.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
The maximum value of M[i][j] will be 2.
If M[i][j] = 1, then both the bills have same customer names
If M[i][j] = 1, then both the bills have different customer names
If M[i][j] = 2, then both the bills have same customer names
M[i][j] can be more than 2 if both the bills have same customer names
Correct answers
The maximum value of M[i][j] will be 2.
If M[i][j] = 1, then both the bills have different customer names
If M[i][j] = 2, then both the bills have same customer names
Based on the above data, answer the given subquestions.
Choose the correct statement(s) based on given pseudocode. It is a Multiple Select Question





Correct answers



A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions
A written answer, not marked automatically.
A written answer, not marked automatically.
Based on the above data, answer the given subquestions.
A written answer, not marked automatically.