Skip to content

🎯 CBSE IP (065) Board Problem Sets

Welcome to the Flügel Information Practices Problem Laboratory. These graded board problem sets test practical Python syntax, SQL analytical queries, and multi-block network design algorithms aligned with the official CBSE Class 12 IP blueprint.


⚡ Problem 1 (Pandas): Multi-Index Slicing, Boolean Filtering & NaN Imputation

Problem Statement

Given the following quarterly sales dataset stored in a Pandas DataFrame df_sales:

python
import pandas as pd
import numpy as np

data = {
    'Quarter': ['Q1', 'Q2', 'Q3', 'Q4', 'Q1', 'Q2', 'Q3', 'Q4'],
    'Region': ['North', 'North', 'North', 'North', 'South', 'South', 'South', 'South'],
    'UnitsSold': [120, 150, np.nan, 210, 80, np.nan, 130, 190],
    'UnitPrice': [450, 450, 480, 480, 500, 520, 520, 550]
}
df_sales = pd.DataFrame(data)
  1. Write the Python code to replace all NaN values in 'UnitsSold' with the mean units sold in that respective region.
  2. Add a calculated column 'TotalRevenue' equal to UnitsSold×UnitPrice.
  3. Using .loc[], display the 'Quarter' and 'TotalRevenue' for rows where 'TotalRevenue' > 75000 and 'Region' == 'North'.
  4. Export the filtered DataFrame to a CSV file named high_revenue_north.csv without writing the integer index.
💡 Interactive Clue SystemStep-by-Step Problem Solving Clues
Try solving with Hint 1 before revealing Hint 2 or 3!

🔮 Problem 2 (SQL): Multi-Table Joins with GROUP BY & Aggregate Conditions

Problem Statement

Consider two relational database tables CUSTOMER and ORDERS:

Table: CUSTOMER

CustIDCustNameCityCreditLimit
C101'Ananya Roy''Delhi'50000
C102'Dev Sharma''Mumbai'75000
C103'Pooja Hegde''Bengaluru'60000
C104'Rajat Verma''Delhi'45000

Table: ORDERS

OrderIDCustIDOrderDateOrderAmount
O501C1012026-01-1018500
O502C1022026-01-1242000
O503C1012026-01-1512000
O504C1032026-01-2031000
O505C1022026-02-0528000

Write SQL queries for the following requirements:

  1. Display the CustName, City, and OrderAmount for all orders placed in the month of January 2026.
  2. Display the CustName and total order spending (SUM(OrderAmount)) for each customer who has spent more than ₹30,000 in total.
  3. State the Degree and Cardinality of the Cartesian product CUSTOMER × ORDERS.
  4. Write a query to increase the CreditLimit by 15% for all customers living in 'Delhi'.
💡 Interactive Clue SystemStep-by-Step Problem Solving Clues
Try solving with Hint 1 before revealing Hint 2 or 3!

🌐 Problem 3 (Networks): Complete 5-Mark Campus Layout Specification

Problem Statement

"Vidya Mandir Trust" is setting up a sprawling new educational campus in Pune. The campus consists of 4 main wings: Academic Wing, Administration Wing, Hostel Wing, and Library Wing.

Distance Matrix (in meters):

From WingTo WingDistance
Academic WingAdministration Wing60 m
Academic WingHostel Wing180 m
Academic WingLibrary Wing45 m
Administration WingHostel Wing130 m
Administration WingLibrary Wing90 m
Hostel WingLibrary Wing150 m

Computer Count Table:

Wing NameInstalled Computers
Academic Wing160 (Maximum)
Administration Wing30
Hostel Wing20
Library Wing40

Answer the following questions:

  1. Suggest the most suitable wing to house the central Server with technical justification.
  2. Suggest the optimal wired Cable Layout connecting all wings to minimize cable cost.
  3. Specify where Repeater(s) and Switch(es) should be installed with reasons.
  4. The management wants to hold live interactive webinars between this Pune campus and their London branch. Which software protocol/technology should be used?
💡 Interactive Clue SystemStep-by-Step Problem Solving Clues
Try solving with Hint 1 before revealing Hint 2 or 3!

Flügel Information Practices Academic Treatise (CBSE Code 065) • Contact Editorial TeamPrivacy Policy