MauryaHub PYQ Practice

Computational Thinking · Quiz 2 · Sep 2025

Computational Thinking · Quiz 2 · Sep 2025

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 13 published solutions

Question 2 MCQ · 0.0 marks

Source diagram or notation
Source diagram or notation
6406535933475.
Useful Data has been mentioned above.
6406535933476.
This data attachment is just for a reference & not for an evaluation.

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 4.0 marks

Consider the procedure given below.
Source diagram or notation
If **L1** and **L2** are two lists, and **L = eliminate(L1, L2)**, choose the correct option.
6406535933477.
**L** contains all the elements of **L2** that are not present in **L1**
6406535933478.
**L** contains all the elements of **L1** that are not present in **L2**
6406535933479.
**L** contains all the elements common to **L1** and **L2**
6406535933480.
**L** contains the unique elements present in **L1** or **L2**

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 4.0 marks

Consider the following pseudocode:
Source diagram or notation
At the end of execution of the pseudocode, which of the following is correct?
6406535933481.
bList = [2, 6, 7, 8, 3]
6406535933482.
bList = [3, 8, 7, 6, 2]
6406535933483.
bList = [28]
6406535933484.
bList = [2, 6, 7, 2, 8, 7, 6, 2, 3]

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MSQ · 4.0 marks

The following pseudocode is executed using "Scores" dataset. Let **M**, **P**, and **C** be the lists of the sequence numbers of the students who have scored more than 75 marks in Mathematics, Physics, and Chemistry respectively. At the end of the execution, **dict** stores a dictionary with the sequence number of student mapped to the number of subjects in which the student has scored more than 75 marks. Choose the correct implementation(s) of **nSub**.
Source diagram or notation
6406535933485.Source diagram or notation
6406535933486.Source diagram or notation
6406535933487.Source diagram or notation
6406535933488.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MSQ · 4.0 marks

The following pseudocode is executed using the "Words" dataset. Let **X**.Word and **Y**.Word be "**engineering**" and "**analysis**" respectively.
Source diagram or notation
At the end of the execution of the pseudocode shown below, which of the following statements is/are correct?
6406535933489.Source diagram or notation
6406535933490.Source diagram or notation
6406535933491.Source diagram or notation
6406535933492.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 4.0 marks

The following pseudocode is executed using the "Scores" dataset. What will the value of **B** represent at the end of execution?
Source diagram or notation
6406535933493.
Number of repeated marks in Physics
6406535933494.
Minimum marks in Physics
6406535933495.
Maximum marks in Physics
6406535933496.
Most frequent marks in Physics

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MCQ · 5.0 marks

The following pseudocode is executed using the "Shopping bills" dataset. What will **D** represent at the end of the execution?
Source diagram or notation
6406535933497.
For an item C, and a shop S, D[C] [S] ["Flag"] is set to True if and only if the item is sold for a constant price, by the shop.
6406535933498.
For an item C, and a shop S, D[C] [S] ["Flag"] is set to True if and only if the item is billed in more than one bill, by the shop.
6406535933499.
For an item C, and a shop S, D[C] [S] ["Flag"] is set to True if and only if the item is sold for variable price, by the shop.
6406535933500.
For an item C, and a shop S, D[C] [S] ["Flag"] is set to True if and only if the item is billed exactly one bill, by the shop.

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 4.0 marks

What is the value of **L** at the end of the execution of the following pseudocode?
Source diagram or notation
6406535933501.
[7, 8, 9]
6406535933502.
[8, 7, 9]
6406535933503.
[8, 9, 7]
6406535933504.
[9, 8, 7]

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MSQ · 4.0 marks

The following pseudocode is executed on the "Scores" dataset. Which of the following statements is/are true at the end of the execution?
Source diagram or notation
6406535933505.
**A** represents the sequence numbers of students with a total score greater than 200.
6406535933506.
**Length(B) >= Length(A)** will always be true.
6406535933507.
**B** represents the sequence numbers of all students from Chennai in the dataset.
6406535933508.
**Length(A) >= Length(B)** will always be true.

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MSQ · 5.0 marks

The following pseudocode is executed using the "Shopping Bills" dataset. At the end of the execution, the variable **D** captures the following information: for each customer **Z**, **D[Z]** ["Shop"] stores the shops visited by **Z**, and **D[Z]** ["Category"] stores the categories of the items purchased by **Z**. But the pseudocode may have mistakes. Identify all such mistakes (if any). It is a Multiple Select Question (MSQ).
Source diagram or notation
6406535933509.
Error in Line 1
6406535933510.
Error in Line 10
6406535933511.
Error in Line 13
6406535933512.
Error in Line 14

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 NAT · 4.0 marks

What will the value of **length(B)** be at the end of the execution of the following pseudocode?
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 4.0 marks

The following pseudocode is executed using the "Words" dataset.
Source diagram or notation
Answer the given subquestions.
What will **count** represent at the end of the execution if the missing code is filled by below code?
Source diagram or notation
6406535933514.
Total number of verbs in the dataset
6406535933515.
Number of sentences that end with a non-verb
6406535933516.
Number of sentences with at least one verb
6406535933517.
Number of sentences that end with a verb

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 4.0 marks

The following pseudocode is executed using the "Words" dataset.
Source diagram or notation
Answer the given subquestions.
What will **count** represent at the end of the execution if the missing code is filled by below code?
Source diagram or notation
6406535933518.
Total number of verbs in the dataset
6406535933519.
Number of sentences that start with a verb
6406535933520.
Number of sentences that do not start with a verb
6406535933521.
Number of sentences that end with a verb       **DBMS** **Section Id :** 640653122438 **Section Number :** 2 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 14

A published solution is not available for this question yet.

Report a correction for Q14