Quiz 2
Registry Synced

May 2026 - CT - Week 3 - Week 3 - Graded Assignment 3

1068 words
5 min read

Week 3 - Graded Assignment 3

Course: May 2026 - CT
Week 3 - Graded Assignment 3 WEEK 3 Due Jul 08, 2026 11:59 PM IST Overdue

Introduction

Week 3 - Graded Assignment 3Week 3
8th Jul

Week 3 - Graded Assignment 3

Week 3
Due Jul 08, 202611:59 PM ISTOverdue

Question 1 / 10

2 marks
What will P represent at the end of the execution?(MCQ)
Answer is Correct Score: 2 / 2
Options:
  • A. Number of words with an even letter count ✅
  • B. Number of words with an odd letter count
  • C. Number of adverbs with an even letter count
  • D. Number of adverbs with an odd letter count

Question 2 / 10

2 marks
What will Q represent at the end of execution?(MCQ)
Answer is Correct Score: 2 / 2
Options:
  • A. Number of adverbs with an even letter count
  • B. Number of adverbs with an odd letter count ✅
  • C. Number of words with any letter count
  • D. Number of adverbs with any letter count

Question 3 / 10

2 marks
The following pseudocode is executed using the “Scores” dataset.(MCQ)
image
At the end of the execution, E will be True if
Answer is Correct Score: 2 / 2
Options:
  • A. All female students have scores greater than or equal to 60 in either Physics, Chemistry or Maths
  • B. All female students have scores less than 60 in either Physics, Chemistry or Maths
  • C. There is at least one female student with scores less than 60 in Physics, Chemistry or Maths
  • D. All female students have scores greater than or equal to 60 in Physics, Chemistry and Maths ✅

Question 4 / 10

2 marks
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.
image
Answer is Correct Score: 2 / 2
Options:

Question 5 / 10

2 marks
The following pseudocode is executed using the "Scores" dataset. What will A represent at the end of the execution?(MCQ)
image
Answer is Correct Score: 2 / 2
Options:
  • A. Number of students scored above 60 in all three subjects
  • B. Number of students scored below 60 in at least any one subject ✅
  • C. A will always be 0
  • D. Number of students scored exactly 60 in all three subjects

Question 6 / 10

2 marks
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 atleast 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).
image
Answer is Correct Score: 2 / 2
Options:

Question 7 / 10

2 marks
The following pseudocode is executed using the “Scores” dataset.(MCQ)
image
At the end of the execution, A represents the number of students from Madurai having total marks.............
Answer is Correct Score: 2 / 2
Options:
  • A. greater than the average marks of students
  • B. greater than the average marks of students from Vellore and Chennai
  • C. greater than the average marks of students from Vellore but less than that of Chennai ✅
  • D. greater than the average marks of students from Chennai but less than that of Vellore

Question 8 / 10

2 marks
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).
image
.
Answer is Partially Correct Score: 1.33 / 2
Options:
  • A. Line 1: Incorrect initialization of A
  • B. Line 3: Incorrect initialization of B ✅
  • C. Line 7: Incorrect Update of B ✅
  • D. Line 13: Incorrect Update of B
  • E. No error in the code

Question 9 / 10

2 marks
The following pseudocode is executed using the “Scores” dataset. What will A represent at the end of the execution?  (MCQ)
image
Answer is Wrong Score: 0 / 2
Options:
  • A. Number of students with highest marks only in Mathematics out of their three subjects' marks ❌ (your answer)
  • B. Number of students with highest marks only in Mathematics and lowest marks only in Physics
  • C. Number of students with highest marks only in Chemistry out of their three subjects' marks
  • D. Number of students with lowest marks only in Physics out of their three subjects' marks

Question 10 / 10

2 marks
The following pseudocode is executed using the “Words” dataset. What will A represent at the end of the execution?(MCQ)
image
Answer is Correct Score: 2 / 2
Options:
  • A. Number of words that end with a comma.
  • B. Number of words that end with a comma and have a letter count greater than ratio of number of words to sum of letter count.
  • C. Number of words that end with a comma and have a letter count less than or equal to the average letter count of dataset.
  • D. Number of words that end with a comma and have a letter count greater than the average letter count of dataset. ✅

Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.