MauryaHub PYQ Practice

Computational Thinking · Quiz 1 · Jan 2026

Computational Thinking · Quiz 1 · Jan 2026

← 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 / 11 published solutions

Question 2 MCQ · 0.0 marks

Source diagram or notation
Source diagram or notation
6406536343122.
Useful Data has been mentioned above.
6406536343123.
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

The following procedure is executed using the **Scores** dataset.
Source diagram or notation
What does the procedure **Mystery("M")** compute?
6406536343124.
The average Physics score of all students
6406536343125.
The average Physics score of male students
6406536343126.
The total score of male students
6406536343127.
The total Physics score of male students

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 4.0 marks

The following pseudocode is executed using the **Scores** table. At the end of the execution, the variable **CountBA** captures the number of students with total marks less than average total marks and below average in exactly one subject. Assume that the variable **AvgT** holds the value of average total marks. Similarly, the variables **AvgP**, **AvgC** and **AvgM** hold the value of average marks of Physics, Chemistry and Mathematics respectively. Choose the correct choice to complete the pseudocode.
Source diagram or notation
6406536343136.Source diagram or notation
6406536343137.Source diagram or notation
6406536343138.Source diagram or notation
6406536343139.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 6.0 marks

Based on the **Scores** dataset, the Procedure **highTotal(S)** returns **True** if student name **'S'** has a **TOTAL score greater than 180**. Choose the correct pseudocode for Procedure **highTotal(S)**. (Consider all students have distinct names)
6406536343128.Source diagram or notation
6406536343129.Source diagram or notation
6406536343130.Source diagram or notation
6406536343131.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 6.0 marks

What does the given pseudocode achieve using the **Words** table?
Source diagram or notation
6406536343132.
Bins the rows in the **Words** table into four tables based on word length
6406536343133.
Bins the rows in the **Words** table into four tables based on whether the word has more vowels or more consonants
6406536343134.
Bins the rows in the **Words** table into four tables based on the ratio of vowels to total letters
6406536343135.
Bins the rows in the **Words** table into four tables based on whether the word contains only vowels

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 6.0 marks

The following pseudocode is executed using the **Shopping bills** dataset to find the number of bills with one of the top three total bill amounts. Choose the correct code block to complete the pseudocode.
Source diagram or notation
6406536343140.Source diagram or notation
6406536343141.Source diagram or notation
6406536343142.Source diagram or notation
6406536343143.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MSQ · 4.0 marks

The following procedure is executed using the **Shopping Bills** dataset. Choose all the correct options given below.
Source diagram or notation
6406536343144.
The procedure ignores all bills from shops other than SV Stores
6406536343145.
Bills from SV Stores with amount ≥ 400 do not affect either
Source diagram or notation
or
Source diagram or notation
6406536343146.
The value stored in
Source diagram or notation
depends on the order of cards in Pile 1
6406536343147.Source diagram or notation
represents the number of SV Stores bills whose total amount is strictly less than 400
6406536343148.
At the end of execution, **(sum/count)** will give the average total bill amount of all bills from SV Stores

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 4.0 marks

The following procedure finds the highest amount of bill generated at **Sun General** from the **Shopping Bills** dataset. But the programmer may have made mistakes in one or more steps. Identify all such steps (if any) Step 1. Arrange all cards in a single pile called Pile 1 Step 2. Maintain a variable **max** and initialize it to 0 Step 3. If Pile 1 is empty then stop the iteration Step 4. Read the top card in Pile 1 Step 5. If the shop name is **Sun General** and **max > total bill amount** then store total bill amount in **max** Step 6. Move the current card to another pile called Pile 2 and repeat from step 3
6406536343149.
Step 1
6406536343150.
Step 2
6406536343151.
Step 3
6406536343152.
Step 4
6406536343153.
Step 5
6406536343154.
Step 6
6406536343155.
No mistake

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MSQ · 6.0 marks

Consider the following pseudocode operating on **Scores** dataset.
Source diagram or notation
Which of the following statements are true?
6406536343156.
The algorithm counts the number of ordered pairs of students having the same
Source diagram or notation
and
Source diagram or notation
.
6406536343157.
Each pair of students with the same
Source diagram or notation
and
Source diagram or notation
is counted exactly once.
6406536343158.
The algorithm avoids comparing a student with itself.
6406536343159.
The final value of
Source diagram or notation
depends on the initial ordering of rows in Table1.

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MSQ · 5.0 marks

Consider the **Olympics** dataset. The following pseudocode is executed:
Source diagram or notation
Which of the following must be true after execution?
6406536343160.
**silver_count** equals the number of silver medals awarded to male athletes during Olympics hosted by USA.
6406536343161.
If **gender_check** equals **silver_count**, then all silver medal winners during Olympics hosted by USA were male
6406536343162.
**silver_count** equals the number of silver medals awarded to athletes during Olympics hosted by USA.
6406536343163.
**silver_count** counts the total number of silver medals won by athletes who are from USA.

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 NAT · 5.0 marks

The following pseudocode is executed using a dataset similar to the "Words" dataset, based on the paragraph below. "Patience and persistence often unlock hidden potential."
Source diagram or notation
Ignore case while comparing letters. What will be the value of **Score** at the end of execution?

A published solution is not available for this question yet.

Report a correction for Q12