🎯 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)- Write the Python code to replace all
NaNvalues in'UnitsSold'with the mean units sold in that respective region. - Add a calculated column
'TotalRevenue'equal to. - Using
.loc[], display the'Quarter'and'TotalRevenue'for rows where'TotalRevenue' > 75000and'Region' == 'North'. - Export the filtered DataFrame to a CSV file named
high_revenue_north.csvwithout 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
| CustID | CustName | City | CreditLimit |
|---|---|---|---|
| C101 | 'Ananya Roy' | 'Delhi' | 50000 |
| C102 | 'Dev Sharma' | 'Mumbai' | 75000 |
| C103 | 'Pooja Hegde' | 'Bengaluru' | 60000 |
| C104 | 'Rajat Verma' | 'Delhi' | 45000 |
Table: ORDERS
| OrderID | CustID | OrderDate | OrderAmount |
|---|---|---|---|
| O501 | C101 | 2026-01-10 | 18500 |
| O502 | C102 | 2026-01-12 | 42000 |
| O503 | C101 | 2026-01-15 | 12000 |
| O504 | C103 | 2026-01-20 | 31000 |
| O505 | C102 | 2026-02-05 | 28000 |
Write SQL queries for the following requirements:
- Display the
CustName,City, andOrderAmountfor all orders placed in the month of January 2026. - Display the
CustNameand total order spending (SUM(OrderAmount)) for each customer who has spent more than ₹30,000 in total. - State the Degree and Cardinality of the Cartesian product
CUSTOMERORDERS. - Write a query to increase the
CreditLimitby 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 Wing | To Wing | Distance |
|---|---|---|
| Academic Wing | Administration Wing | |
| Academic Wing | Hostel Wing | |
| Academic Wing | Library Wing | |
| Administration Wing | Hostel Wing | |
| Administration Wing | Library Wing | |
| Hostel Wing | Library Wing |
Computer Count Table:
| Wing Name | Installed Computers |
|---|---|
| Academic Wing | 160 (Maximum) |
| Administration Wing | 30 |
| Hostel Wing | 20 |
| Library Wing | 40 |
Answer the following questions:
- Suggest the most suitable wing to house the central Server with technical justification.
- Suggest the optimal wired Cable Layout connecting all wings to minimize cable cost.
- Specify where Repeater(s) and Switch(es) should be installed with reasons.
- 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!