Competency Case-Based Questions Solved (CBSE Class 10 AI 417)

⚡ Direct Answer & Key Takeaway

CBSE Class 10 AI (Code 417) competency case studies in the 40-mark Part B section test real-world application over rote memorization, carrying 4-mark long-answer subparts. To score full marks, extract exact numerical counts into a TP/TN/FP/FN Confusion Matrix before computing Precision, Recall, or F1, map community problems strictly into the 4Ws Canvas, and execute step-by-step Text Normalization plus Bag-of-Words frequency tables on short multi-document snippets.

1. Case Study 1: Flood Early-Warning Model & Confusion Matrix Numerical

Scenario: A coastal municipality deploys an AI sensor model to predict flash floods across 200 rainy days. Actual floods occurred on 40 days; the model correctly predicted 35 of those flood days, yet falsely triggered flood alarms on 15 safe days. How do you solve the 4-mark board questions? First, construct the 2×2 Confusion Matrix carefully: TP = 35, FN = 40 - 35 = 5, FP = 15, and TN = (200 - 40) - 15 = 145. Next, compute Accuracy = (35 + 145) / 200 = 0.90 (90%), Precision = 35 / (35 + 15) = 0.70, and Recall = 35 / (35 + 5) = 0.875. Finally, justify which metric matters most: Recall is critical because missing 5 real floods (FN) endangers lives, whereas 15 false alarms (FP) only cause precautionary checks.

  • Check total sum immediately: TP (35) + TN (145) + FP (15) + FN (5) = 200 total days.
  • Calculate F1 Score = 2 × 0.70 × 0.875 / (0.70 + 0.875) = 1.225 / 1.575 = 0.778.
  • Always link metric choice to real-world cost (human safety vs inconvenience) in competency justifications.

2. Case Study 2: Hospital Chatbot NLP & Bag-of-Words Table

Scenario: A clinic builds a triage chatbot to process two patient messages—Doc 1: 'Fever and mild cough today' and Doc 2: 'Mild fever without cough'. Board competency questions ask students to normalize text and build a Bag-of-Words (BoW) matrix. Step 1 (Normalization): lowercase all tokens and strip stop words ('and', 'without'), leaving Doc 1 = ['fever', 'mild', 'cough', 'today'] and Doc 2 = ['mild', 'fever', 'cough']. Step 2 (Dictionary): extract unique alphabetical vocabulary terms: ['cough', 'fever', 'mild', 'today']. Step 3 (Document Vectors): record frequency counts per document—Doc 1 = [1, 1, 1, 1] and Doc 2 = [1, 1, 1, 0]. Notice that 'today' has document frequency df = 1, giving it a non-zero IDF = log10(2/1) = 0.301, whereas 'fever' (df = 2) gets IDF = 0.

  • Lowercasing ensures 'Fever' and 'fever' merge into one vocabulary column rather than two duplicate features.
  • Unique words shared across every document carry IDF = 0, letting TF-IDF highlight distinguishing symptoms like 'today'.
  • Chatbot classification into 'Urgent' vs 'Routine' represents Supervised Classification, not Unsupervised Clustering.

3. Case Study 3: Biometric Exam Proctoring, 4Ws Scoping & Bioethics

Scenario: An online scholarship portal proposes an AI webcam tool that flags eye movements as cheating. Competency prompts ask students to diagnose ethical failures and scope an unbiased alternative. First, identify ethical failures using Value-Based and Sector-Based frameworks: flagging neurodivergent gaze patterns violates Fairness and Non-Maleficence, while storing raw home video without explicit consent breaches Privacy and Autonomy. Next, apply the 4Ws Canvas for a transparent solution: Who = scholarship candidates and proctors; What = detecting unauthorized browser tab switching fairly; Where = remote browser testing sessions; Why = preserving exam integrity without intrusive facial bias. Finally, classify the modeling approach: tracking permitted vs prohibited screen events uses Rule-Based event logs, whereas clustering suspicious timing anomalies across anonymized logs uses Unsupervised learning.

  • Explainability requires telling flagged students why an alert fired rather than relying on opaque black-box scores.
  • Removing demographic proxies (skin tone, background lighting) prevents algorithmic bias during Data Acquisition.
  • Always name the exact framework pillar (Autonomy, Justice, Non-Maleficence, Beneficence) in 4-mark ethics answers.

4. Case Study 1 & 2 Verifier: Flood Matrix & BoW Vectorizer

# Case 1: Flood Early-Warning Confusion Matrix
total_days, actual_floods, tp, fp = 200, 40, 35, 15
fn = actual_floods - tp
tn = (total_days - actual_floods) - fp
prec = tp / (tp + fp)
rec = tp / (tp + fn)
f1 = 2 * prec * rec / (prec + rec)

# Case 2: Bag of Words Frequency Vectors
stop_words = {"and", "without"}
docs = ["Fever and mild cough today", "Mild fever without cough"]
cleaned = [[w for w in d.lower().split() if w not in stop_words] for d in docs]
vocab = sorted({w for doc in cleaned for w in doc})
bow = [[doc.count(term) for term in vocab] for doc in cleaned]

print(f"TP={tp}, FN={fn}, FP={fp}, TN={tn} | Prec={prec:.2f}, Rec={rec:.3f}, F1={f1:.3f}")
print("Vocab:", vocab)
print("BoW:", bow)

Verified Console / Dry-Run Output:

TP=35, FN=5, FP=15, TN=145 | Prec=0.70, Rec=0.875, F1=0.778
Vocab: ['cough', 'fever', 'mild', 'today']
BoW: [[1, 1, 1, 1], [1, 1, 1, 0]]

5. Solved CBSE AI 417 Case Study Solutions Summary

Case Study DomainGiven Data / ContextStep-by-Step WorkingFinal Board Answer
Flood Warning (Evaluation)200 days: 40 floods, TP=35, FP=15FN = 40-35 = 5; TN = 160-15 = 145; Rec = 35/40Acc=90%, Prec=0.70, Rec=0.875 (Recall priority)
Clinic Triage (NLP BoW)Doc1: Fever & mild cough today; Doc2: Mild feverLowercase + remove stop words; count vocab termsVocab=[cough,fever,mild,today]; V1=[1,1,1,1]
Exam Proctoring (Ethics)Webcam flags eye gaze; raw video storedMap against Bioethics & Value-Based frameworksViolates Privacy, Autonomy & Fairness (Bias)
Crop Yield (Modeling)Predict kg/hectare from rainfall & soil pHLabeled continuous numeric target variableSupervised Regression model
🎯 1-on-1 Live Mentorship & Free Study Kit

Solve 2026 Competency Case Studies 1:1

Walk through tricky Confusion Matrix, NLP, and Ethics case studies step-by-step with 4Achievers Junior mentors in 1-on-1 or 1:4 Micro-Pods.

💬 WhatsApp Now
🔒 Instant WhatsApp notes + free 60-min 1-on-1 trial session
Confirmed! Our Senior Mentor is sending your study kit & free 1-on-1 demo link on WhatsApp now.

6. Common Mistakes & Top Scorer Tips

  • Avoid Mistake: Putting Actual Floods (40) directly as TP instead of reading how many floods were correctly predicted (35) and subtracting for FN (5).
  • Avoid Mistake: Keeping uppercase duplicates or stop words inside the Bag of Words vocabulary dictionary.
  • Avoid Mistake: Writing generic moral statements in Ethics case studies instead of citing Autonomy, Non-Maleficence, Justice, or Fairness.
  • Avoid Mistake: Recommending Accuracy as the best metric in imbalanced medical or disaster case studies.
  • Examiner / Mentor Tip: Underline every number in a case-study paragraph and assign it to Total, Actual Positive, TP, or FP before touching any formula.
  • Examiner / Mentor Tip: Present Bag of Words answers as a neat grid table with Vocabulary words as columns and Document names as rows.
  • Examiner / Mentor Tip: In 4-mark competency questions, write one clear sentence per mark—definition, calculation, interpretation, and ethical safeguard.

7. Interactive Concept Check Quiz

Question: In a 150-patient screening test, 30 patients actually have the disease. The AI model detects 24 of them and falsely flags 12 healthy patients. What is FN?

8. Frequently Asked Questions

How many competency case-based questions appear in CBSE Class 10 AI (417)?
Section B of the 50-mark board paper includes 4-mark long-answer and case-based competency questions totaling 12 marks, testing real-world modeling, evaluation matrices, NLP tables, and AI ethics.
What should I do if a Confusion Matrix question gives percentages instead of counts?
Convert percentages using the total sample size given (or assume 100 samples if only rates are provided) to populate TP, TN, FP, and FN before computing Precision, Recall, or F1.
Are Python coding questions asked inside Class 10 AI (417) board case studies?
Class 10 AI (417) theory focuses on AI concepts, Evaluation, CV, NLP, and Ethics, whereas Python programming and data visualization scripts are primarily assessed in the 50-mark Practical and Viva (while Class 9 and Class 11–12 AI 843 test Python in theory too).

Explore Related Lessons & Free Interactive Tools

Free 1-on-1 Session

Book a Free Demo Class