3D Array Application Level Questions (C++)
1. Student Marks Management
Store marks of 3 classes, 5 students per class, and 4 subjects per student. Tasks: Calculate total
marks of each student, class average, highest scorer in each class, and overall topper.
2. Sales Analysis
Store sales data for 4 branches, 12 months, and 3 products. Tasks: Total sales, best-selling
product, highest-sales month, annual sales.
3. Temperature Monitoring System
Store temperatures for 7 days, 24 hours, and 3 cities. Tasks: Maximum, minimum, average
temperature, hottest city.
4. Hospital Patient Records
Store 5 wards, 10 patients, and 3 health parameters. Tasks: Highest sugar level, average BP, fever
count.
5. Library Book Tracking
Store 4 sections, 10 shelves, and 20 books. Tasks: Count books, maximum-book section, search
book ID.
6. Cricket Tournament Statistics
Store runs for 8 teams, 11 players, and 5 matches. Tasks: Highest scorer, team totals, best team.
7. Inventory Management System
Store stock quantities for 3 warehouses, 5 categories, and 10 products. Tasks: Low stock,
warehouse totals, maximum inventory.
8. Cinema Ticket Booking
Store bookings for 5 screens, 7 days, and 4 shows. Tasks: Total tickets, popular screen, busiest
day.
9. Employee Performance Tracker
Store 4 departments, 10 employees, and 12 monthly scores. Tasks: Average performance, best
employee, best department.
10. Smart Agriculture Monitoring
Store data for 5 farms, 7 days, and 3 parameters. Tasks: Moisture average, irrigation needs, weekly
report.
11. Online Course Management
Store marks for 4 courses, 20 students, and 5 assessments. Tasks: Grades, course topper, overall
topper.
12. Hotel Occupancy System
Store occupancy for 3 hotels, 12 months, and 30 rooms. Tasks: Occupancy %, most occupied
hotel, highest booking month.
13. Electricity Consumption Analysis
Store usage for 4 cities, 30 days, and 24 hours. Tasks: Daily consumption, peak hour, highest
consuming city.
14. School Attendance System
Store attendance for 5 classes, 30 students, and 20 working days. Tasks: Attendance %, highest
attendance, best class.
15. E-Commerce Order Analysis
Store orders for 6 regions, 12 months, and 5 categories. Tasks: Best region, best category, annual
report.
Lab Exam Level Question
Store marks of 4 classes, 10 students per class, and 5 subjects per student in a 3D array. Calculate
total and average marks, find class toppers, overall topper, subject-wise averages, and generate a
class-wise performance report.