Ct - q1 Sep22 Qpb2
Ct - q1 Sep22 Qpb2
Change Theme : No
Help Button : No
Show Reports : No
Group I
Group Number : 1
Group Id : 6406539322
Break time : 0
Sem1 CT
Section Id : 64065323874
Section Number : 1
Number of Questions : 15
Section Marks : 50
Sub-Section Number : 1
Sub-Section Id : 64065355169
Correct Marks : 0
Options :
6406531284464. Yes
6406531284465. No
6406531284467. This data attachment is just for a reference & not for an evaluation.
Sub-Section Number : 2
Sub-Section Id : 64065355170
Correct Marks : 2
Select the most appropriate datatype specific to "Scores" dataset for the left column.
Options :
Sub-Section Number : 3
Sub-Section Id : 64065355171
Correct Marks : 3
The following pseudocode is executed using the "Words" dataset. What will count represent at the
end of the execution?
Options :
6406531284475. Number of words except nouns after the first noun in the dataset
Correct Marks : 3
The following pseudocode is executed using the "Scores" dataset. What will count represent at the
end of the execution?
Options :
6406531284476. Number of male students whose Physics marks are greater than Mathematics
marks
6406531284477. Number of male students whose Physics marks are greater than or equal to
Mathematics marks
6406531284478. Number of female students whose Physics marks are greater than or equal to
Mathematics marks
6406531284479. Number of female students whose Physics marks are less than or equal to
Mathematics marks
Correct Marks : 3
The following pseudocode is executed using the "Shopping Bills" dataset. Procedure findCommon
takes pair of cards X and Y as input and returns True if the two cards share at least one common
item otherwise returns False. What will count represent at the end of the execution?
Options :
6406531284485. Number of pair of bills from the same shop with at least one common items
6406531284487. Number of pair of bills from the same shop with no common items
Sub-Section Number : 4
Sub-Section Id : 64065355172
Correct Marks : 4
The following pseudocode is executed using the “Words” dataset. What will count represent at the
end of the execution?
Options :
Correct Marks : 4
The following pseudocode is executed using the "Words" table. At the end of the execution, count
stores the number of pair of nouns such that both nouns have either same letter count or both
end with a full stop. Choose the correct code fragment to complete the pseudocode.
Options :
Sub-Section Number : 5
Sub-Section Id : 64065355173
Correct Marks : 3
Sripriya has used a variable max to keep track of the maximum total score to find the maximum
total score using “Scores” dataset. There are many ways of initializing max. Choose the correct
option(s) regarding the initialization of max.
Options :
6406531284492. Pick any random card X from the dataset and max = X.Total
6406531284493. Pick the top card X from the dataset and max = X.Total
6406531284494. Initialize max with any value greater than the possible maximum total score
6406531284495. Initialize max with any value less than the possible minimum total score
Sub-Section Number : 6
Sub-Section Id : 64065355174
Correct Marks : 4
The following pseudocode is executed using the "Scores" dataset. At the end of the execution,
count captures the number of girls who scored at least 75 marks in Physics. Choose the correct
code fragment(s) to complete the pseudocode.
6406531284496.
6406531284497.
6406531284498.
6406531284499.
Question Number : 11 Question Id : 640653386177 Question Type : MSQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0
Correct Marks : 4
The following pseudocode is executed using the “Scores” dataset. At the end of the execution, A
captures the number of students who are male from Bengaluru or have scored less marks in
Physics than the average Physics marks. Assume that the variable Avg holds the value of the
average Physics marks. But the pseudocode may have mistakes. Identify all such mistakes (if any).
Assume that all statements not listed in the options below are free of errors.
6406531284500. Line 5
6406531284501. Line 8
6406531284502. Line 11
6406531284503. Line 12
Correct Marks : 4
The following pseudocode is executed using the “Scores” dataset. At the end of the execution,
count captures the number of pairs of students having either same gender or from the same city
but not both. Choose the correct code fragment to complete the pseudocode.
6406531284505.
6406531284506.
6406531284507.
6406531284508.
Correct Marks : 4
The following pseudocode is executed using the "Library" dataset. Assume that Table 1 contains all
the books authored by "Narayan" only. Also assume that the "Year" field of each book item is
distinct in the Table.
Which of the following statement(s) are correct at the end of execution of this pseudocode?
Options :
6406531284510. Table 3 will have one record corresponding to the most recently published
book of "Narayan".
6406531284511. Table 3 will have one record corresponding to the earliest published book of
"Narayan".
6406531284512. Table 4 will have one record corresponding to the earliest published book of
"Narayan".
6406531284513. Table 4 will have one record corresponding to the most recently published
book of "Narayan".
The procedure countGirls is executed using the "Scores" dataset which counts the number of girls
who have got less than the subject-wise average marks in at least one of the three subjects.
Assume that the subject-wise average marks for Physics, Chemistry and Mathematics are stored in
variables P,C and M respectively. Choose the correct code fragment(s) to complete the procedure.
Options :
6406531284514.
6406531284515.
6406531284516.
6406531284517.
Sub-Section Number : 7
Sub-Section Id : 64065355175
Sub questions
Correct Marks : 4
The following pseudocode is executed using the “Olympics” dataset. Procedure doSomething
accepts a Table of rows which contains rows of same player. Assume that every player has won at
least two medals and only one medal in any year. What will (B-A) represent at the end of the
execution?
Options :
6406531284518. Year gap between first and second medal won by a player
6406531284519. Year gap between first and latest medal won by a player
6406531284520. Year gap between latest and second latest medal won by a player
6406531284521. Year gap between first and second latest medal won by a player
Correct Marks : 4
The following pseudocode is executed on the "Olympics" dataset. Use the procedure
doSomething in the previous question. What will count represent at the end of the execution?
Assume that every player has won at least two medals and only one medal in a year.
Options :
6406531284522. Number of players with maximum year gap between first and second medal
6406531284523. Number of players with minimum year gap between first and second medal
6406531284524. Number of players with maximum year gap between latest and second latest
medal
6406531284525. Number of players with minimum year gap between latest and second latest
medal
Sem1 English1
Section Id : 64065323875
Section Number : 2
Number of Questions : 27