CBSE CLASS 11 AI – Leveraging Linguistics and Computer Science notes
Q1. What is human language complexity?
Human language complexity means that human language is not simple. It has grammar, meaning, emotions, context, and many variations. The same sentence can have different meanings in different situations.
Q2. What is NLP?
Natural Language Processing (NLP) is a branch of Artificial Intelligence that helps computers understand, analyze, and respond to human language.
Q3. What is the difference between human language and programming language?
| Human Language | Programming Language |
| 1. Used by people | 1. Used by computers |
| 2. Single word may have multiple meanings | 2. Every word has a single purpose |
| 3. Can have emotions | 3. No emotions |
| 4. Example: English, Hindi | 4. Example: Python, Java |
Q4. What is sentence segmentation?
Sentence segmentation is the process of dividing a paragraph into individual sentences.
Example:
I like AI. It is interesting.
Sentences:
1. I like AI.
2. It is interesting.
Q5. What is word tokenization?
Word tokenization is the process of breaking a sentence into individual words or tokens.
Example:
Sentence: AI is powerful
Tokens:
- AI
- is
- powerful
Q6. What are entities and roles in NLP?
Entities are important objects like names, places, dates.
Roles show what the entity is doing.
Example:
Rahul bought a laptop.
Entity: Rahul
Role: Buyer
Entity: Laptop
Role: Object
Q7. What does understanding token relationships mean?
It means how words (tokens) in a sentence are connected to each other and what role each word plays.
It helps the system understand who is doing what, to whom, and how.
Example:
The cat eats fish.
Cat → subject
Eats → action
Fish → object
Q8. What is semantic analysis?
Semantic analysis is understanding the meaning of a sentence, not just the words.
Example:
He is on cloud nine.
Meaning: He is very happy.
Q9. What is concept detection?
Concept detection is the process of identifying the main idea or topic of a sentence, paragraph, or document. It helps the system to know the purpose of text.
Example:
-
- I am studying for exams.
Concept: Education - The patient has a fever and cough.
- I am studying for exams.
Concept: Health / Illness
Q10. What is emotion detection?
Emotion detection identifies feelings like happiness, anger, sadness.
Example:
I am very excited today!
Emotion: Happiness
Q11. What is sentiment analysis?
Sentiment analysis identifies whether a sentence is positive, negative, or neutral.
Example:
This phone is amazing.
Sentiment: Positive
Q12. Explain different types of sentiments.
There are mainly 3 types of sentiments:
i. Positive Sentiment: Shows happiness, satisfaction, or approval.
Example: This product is excellent.
ii. Negative Sentiment: Shows sadness, dissatisfaction, or dislike.
Example: The service was very bad.
iii. Neutral Sentiment: Shows no strong emotion or opinion.
Example: The meeting is on Monday.
Q13. What is the difference between sentence emotion and sentence sentiment?
| Sentence Emotion | Sentence Sentiment |
| 1. Shows the feeling expressed in a sentence | 1. Shows the opinion or attitude in a sentence |
| 2. Answers: How does the speaker feel? | 2. Answers: Is it good, bad, or neutral? |
| 3. Types include: happy, sad, angry, fear, surprise | 3. Types include: positive, negative, neutral |
| 4. More detailed and specific | 4. More general |
| 5. Focuses on emotional state | 5. Focuses on overall judgment |
Q14. What does “understanding what is said” mean in NLP?
It means identifying the user’s intent and meaning.
Q15. What does “responding with appropriate reply” mean?
It means giving a correct and relevant answer based on understanding.
Q16. What is a Classification Problem in NLP? Give Examples.
A classification problem in Natural Language Processing (NLP) is a task where text is automatically placed into predefined categories or classes based on its content and meaning.
Examples of NLP Classification Problems
Spam Detection:
Email → Spam or Not Spam
Sentiment Analysis:
Review → Positive, Negative, or Neutral
Topic Classification:
News article → Sports, Politics, Technology
Language Detection:
Text → English, Hindi, French
Intent Classification (Chatbots):
User message → Booking, Complaint, Greeting
Q17. What is Classification Challenging?
OR
Why does the classification problem happen?
- Human language is complex.
- Same word can have different meanings
- Sentences depend on context and tone
Q18. How can AI overcome these issues?
1. By using large and diverse training data
2. By applying machine learning and deep learning models
3. By learning from pre-trained language models
4. To Improve continuously using new data
5. By cleaning and preprocessing text data
Q19. What is a chatbot? Give examples.
A chatbot is a computer program that communicates with users using text or voice.
It uses Artificial Intelligence (AI) and Natural Language Processing (NLP) to understand questions and provide answers automatically.
Example:
Customer support bot, website help bot, virtual assistants.
Q20. What are the advantages of chatbots?
- Available 24×7
- Gives instant responses
- Handles multiple users at the same time
- Reduces human workload
- Improves customer support
- Saves time and cost
- Provides consistent answers
- Easy to integrate with websites and apps
Q21. What is ELIZA chatbot?
ELIZA is one of the first chatbots. It worked using simple rules and patterns.
Q22. What is the difference between rulebased and AIpowered chatbots?
| Rule-Based | AI-Powered |
| Fixed rules | Learns from data |
| Limited replies | Smart responses |
| No learning | Uses NLP & ML |
| Example: ELIZA | Example: ChatGPT |
Q23. What is a modern chatbot dialog system?
It is a system that understands user intent, manages conversation flow, and gives intelligent responses.
Q24. What are the main parts of a chatbot?
i. Frontend (User Interface):
The part where the user interacts with the chatbot, such as a website, mobile app, or messaging platform.
ii. Backend (Server and Logic):
Handles data processing and connects the chatbot with databases and services.
iii. NLP Engine:
Understands and processes the user’s input.
iv. Intent Recognition:
To understand purpose behind the message.
v. Entity Extraction:
To extracts important information like names, dates, locations, or numbers from the user input.
vi. Dialog Management:
It controls the flow of conversation and decides the next response based on context.
Q25. What are the four steps in dialog process?
i. User Input:
The user sends a message to the chatbot in text or voice form.
ii. Intent & Entity Detection:
The chatbot understands what the user wants (intent) and extracts important details (entities).
iii. Decision Making:
The system decides the best action or response based on the intent and context.
iv. Response Generation:
The chatbot generates and sends an appropriate reply to the user.
Q26. What is the difference between chatbots and smart assistants?
| Chatbots | Smart Assistants |
| 1. Mostly text-based | 1. Mostly voice-based |
| 2. Designed for specific tasks | 2. Designed for multiple tasks |
| 3. Limited functionality | 3. Advanced functionality |
| 4. Works within apps or websites | 4. Works across devices |
| 5. Example: Website support bot | 5. Example: Alexa, Siri, Google Assistant |
Q27. How does NLP convert speech to text and analyze it?
NLP converts speech to text and analyzes it through the following steps:
i. Speech Input:
The user speaks into a microphone.
ii. Speech Recognition:
The system converts spoken words into written text.
iii. Text Preprocessing:
The text is cleaned by removing noise, symbols, and errors.
iv. Tokenization:
The sentence is broken into words or tokens.
v. Intent Recognition:
The system identifies what the user wants to say.
vi. Entity Extraction:
Important information like names, dates, and places is extracted.
vii. Semantic Analysis:
The meaning of the text is understood.
Q28. What are the applications of NLP?
i. Chatbots and Virtual Assistants
Used in customer support and help systems.
ii. Speech Recognition
Converts spoken language into text (e.g., voice commands).
iii. Translation
Translates one language into another (e.g., English to Hindi).
iv. Sentiment Analysis
Identifies positive, negative, or neutral opinions.
v. Spam Detection
Classifies emails as spam or not spam.
vi. Search Engines
Improves search accuracy and relevance.
vii. Text Summarization
Creates short summaries of long documents.
viii. Text Classification
Categorizes text into topics or labels.
ix. Voice Assistants
Examples: Alexa, Siri, Google Assistant.
