📚 CBSE Grade-10 Study Guide Open in the Study Guide single page app →
HomeArtificial Intelligence

Artificial Intelligence — CBSE Class 10 board question

Q1. [4]
Consider the following two documents : Document 1 : ML and DL are part of AI. Document 2 : DL is a subset of ML. Implement all four steps of the Bag of Words (BoW) model to create a document vector table. Depict the outcome of each step.
Previously asked in CBSE board exam
2024 104 Q19
Generated by claude-sonnet-4-6 · 2026-06-21 03:19 · grounding rag
Model Answer

Step 1: Text Processing (Pre-processing)
Remove stop words (is, a, of) and convert to lowercase.

Step 2: Create a Dictionary (Vocabulary)
List all unique words from both documents:

| ml | dl | part | ai | subset |
|----|----|------|----|--------|

Step 3: Create Document Vector for Doc 1

| ml | dl | part | ai | subset |
|----|----|------|----|--------|
| 1 | 1 | 1 | 1 | 0 |

Step 4: Create Document Vectors for All Documents

| Document | ml | dl | part | ai | subset |
|----------|----|----|------|----|--------|
| Doc 1 | 1 | 1 | 1 | 1 | 0 |
| Doc 2 | 1 | 1 | 0 | 0 | 1 |

Source: Chapter 6, Section 6.5 – Bag of Words

---

Explanation
If a question refers to an image, map, graph or diagram that is not shown here, open the Study Guide single page app, go to Library and find the actual CBSE question paper. The original papers are also available 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.