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

Artificial Intelligence (417) — CBSE Class 10 board question

Q1. [4] § Unit Overview and Learning Objectives § 6.3 Stages of Natural Language Processing (NLP) § Test Yourself and Reflection Time
With reference to NLP, explain the following terms in detail with the help of suitable example: • Term frequency • Inverse Document Frequency
Previously asked in CBSE board exam
2022 104 Q20
Generated by claude-sonnet-4-6 · 2026-06-21 03:18 · grounding rag
Model Answer

Term Frequency (TF):
Term Frequency measures how often a word appears in a document. It helps identify how important a word is within a single document.

Formula: TF = (Number of times word appears in document) / (Total words in document)

Example: In Document: "Johny Johny Yes Papa" — TF of "Johny" = 2/4 = 0.5

---

Inverse Document Frequency (IDF):
IDF measures how rare or valuable a word is across all documents in the corpus. Common words (like "the") get a low IDF; rare words get a high IDF.

Formula: IDF = log(Total documents / Documents containing the word)

Example: If "Papa" appears in 3 out of 4 documents — IDF of "Papa" = log(4/3) ≈ 0.125

TFIDF = TF × IDF — words that are frequent in one document but rare across the corpus are most valuable.

Source: Chapter 6, Section 6 (TFIDF concept)

---

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.