📚 CBSE Grade-10 Study Guide
HomeArtificial Intelligence (417)

Artificial Intelligence (417) — CBSE Class 10 board question

Q1. [4] § Test Yourself § Assertion and reasoning-based questions § Case study-based questions
PQR Security Solutions has designed an AI Model to detect cyber attacks on E-Commerce websites. For this, various network activities were monitored and analyzed on one of the websites. The model was tested on a dataset of 1500 network activities. Out of these, the model correctly predicted that 1000 were cyber attacks. It also correctly identified that 250 were not cyber attacks. However, the model predicted that 200 were cyber attacks but actually they were not. Additionally, it predicted that 50 were not cyber attacks but they actually were.
Read the following paragraph and answer the questions that follow:
  1. (A) Draw the confusion matrix based on the given scenario. [2]
  2. (B) How many total cases are True Negative in the above scenario ? [1]
  3. (C) Calculate Precision. [1]
Previously asked in CBSE board exam
2026 104 Q19
Generated by claude-sonnet-4-6 · 2026-06-21 03:19 · grounding stimulus
Model Answer

(A) Confusion Matrix:

| | Predicted: Attack | Predicted: Not Attack |
|---|---|---|
| Actual: Attack | 1000 (TP) | 50 (FN) |
| Actual: Not Attack | 200 (FP) | 250 (TN) |

(B) True Negative (TN):

True Negative = cases correctly identified as not cyber attacks = 250

(C) Precision:

$$\text{Precision} = \frac{TP}{TP + FP} = \frac{1000}{1000 + 200} = \frac{1000}{1200} \approx 0.833 \text{ (or 83.3\%)}$$

---

Explanation
If a question refers to an image, map, graph or diagram that is not shown here, find the actual CBSE question paper on the CBSE website: cbse.gov.in.
Previous-year CBSE Grade 10 board exam questions, organised by subject and chapter, each with a model answer — free to read and print.