Week-3 Computational Thinking For DS
Questions (1&2)
The following pseudocode is executed using the “Words” dataset.

1) What will P represent at the end of the execution?(MCQ)
Yes, the answer is correct.
Score: 2
Accepted Answers:
2) What will Q represent at the end of execution?(MCQ)
Yes, the answer is correct.
Score: 2
Accepted Answers:
3) The following pseudocode is executed using the “Scores” dataset.(MCQ)
At the end of the execution, E will be True if
Yes, the answer is correct.
Score: 2
Accepted Answers:
4) The following pseudocode is executed using the “Shopping Bills” dataset. Procedure checkShoppingBills accepts a card Y and returns True if the minimum total bill amount of shop is greater than the average total bill amount of shop from where the card Y is generated otherwise returns False. Choose the correct code fragments to complete the procedure. It is a Multiple Select Question (MSQ). Note : MAX_VALUE represent the maximum bill amount of shop Y.
Yes, the answer is correct.
Score: 2
Accepted Answers:
5) The following pseudocode is executed using the "Scores" dataset. What will A represent at the end of the execution?(MCQ)
Yes, the answer is correct.
Score: 2
Accepted Answers:
6) The following pseudocode is executed using the “Scores” dataset. At the end of the execution, variable Count captures the number of students whose total marks are more than the average (of total marks) of entire dataset but have scored below the subject average in any two subjects. Assume that the variable AvgT holds the value of the average total marks. Similarly, the variables AvgP, AvgC and AvgM hold the value of the average marks of Physics, Chemistry and Mathematics respectively. Choose the correct code fragment to complete the pseudocode.It is a Multiple Select Question(MSQ).
Yes, the answer is correct.
Score: 2
Accepted Answers:
8) The following pseudocode is executed using the "Scores" dataset. At the end of the execution, A captures the number of female students who are below average in at least one subject. Assume that the variables M, P and C hold the average marks of the subjects Mathematics, Physics and Chemistry respectively. 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. It is a Multiple Select Question (MSQ).
.
Yes, the answer is correct.
Score: 2
Accepted Answers:
(MCQ)
Yes, the answer is correct.
Score: 2
Accepted Answers:
10) The following pseudocode is executed using the “Words” dataset. What will A represent at the end of the execution?(MCQ)