ARTIFICIAL INTELLIGENCE
Answer 1: What is AI? Explain its importance in today's scenario with
proper examples
Key Idea: AI means machines doing smart work like humans.
Introduction:
Artificial Intelligence (AI) is a way to make computers think and act like
humans.
It helps machines learn, decide, and solve problems.
Today, AI is used in many daily life activities.
Importance of AI:
• Saves time and effort:
o AI can do work faster than humans.
o Example: Chatbots answer questions instantly.
• Better decision making:
o AI analyzes data and gives correct suggestions.
o Used in hospitals to detect diseases.
• Used in many fields:
o Education, banking, healthcare, transport
o Example: Google Maps shows best route
• Automation (doing work automatically):
o Machines work without human help
o Example: Self-driving cars
Daily Life Example:
When you use voice assistant like Siri or Google Assistant, it
understands your voice and gives answers. This is AI.
Conclusion:
AI is very useful in modern life.
It makes work easy, fast, and smart.
Answer 2: Differentiate heuristic algorithm and solution guaranteed
algorithm
Key Idea: Heuristic gives quick solution, guaranteed algorithm gives
correct solution always.
Introduction:
Algorithms are step-by-step methods to solve problems.
There are different types of algorithms based on how they solve
problems.
Heuristic Algorithm:
• Gives fast but not always correct solution
• Uses rules or guesses (shortcut method)
• Saves time
• Example: Google Maps choosing shortest path quickly
Solution Guaranteed Algorithm:
• Always gives correct and exact answer
• Takes more time
• Follows complete steps
• Example: Mathematical calculations
Difference Table:
• Heuristic → Fast, may be wrong
• Guaranteed → Slow, always correct
Daily Life Example:
Guessing the fastest road in traffic is heuristic.
Checking all roads and then deciding is guaranteed method.
Conclusion:
Heuristic saves time but may be wrong.
Guaranteed algorithms are accurate but slower.
Answer 3: Define the applications of AI in education
Key Idea: AI helps students and teachers learn and teach better.
Introduction:
AI is used in schools and colleges to improve learning.
It makes education easier and interesting.
AI can give smart solutions to student problems.
Applications of AI in Education:
• Personalized Learning:
o AI creates lessons based on each student’s speed and level.
o Example: Apps that adjust questions according to your
answers.
• Smart Classrooms:
o AI tools can record lectures and help in online learning.
o Can check students’ attention and progress.
• Automation of Tasks:
o AI can correct assignments and exams automatically.
o Teachers save time for teaching instead of checking papers.
• Virtual Tutors and Chatbots:
o Answer students’ questions anytime.
o Helps in doubt solving quickly.
Daily Life Example:
AI in apps like Byju’s or Khan Academy gives lessons and practice tests
according to student’s level.
Conclusion:
AI improves learning speed and understanding.
It makes teaching and learning easy and smart.
Answer 4: What is automated reasoning?
Key Idea: Automated reasoning is when computers think and solve
problems like humans.
Introduction:
Automated reasoning is a part of AI.
It allows computers to make decisions and prove facts automatically.
It works by following rules and logic.
Main Points:
• Logical Thinking:
o Computer follows “if-then” rules to reach a conclusion.
o Example: If it rains, then take umbrella → computer can
decide this automatically.
• Problem Solving:
o Can solve math problems, puzzles, or real-life decisions.
o Uses knowledge stored in computer.
• Proof Checking:
o Can check correctness of statements or programs.
o Example: Verifying a software code automatically.
Daily Life Example:
AI in legal apps can check if a contract has missing or wrong clauses.
Conclusion:
Automated reasoning helps computers think and decide.
It reduces human effort in problem solving and checking facts.
Answer 5: What is heuristic search? Explain the problem
characteristics of heuristic search
Key Idea: Heuristic search is a smart way to find a solution using
guesses and rules.
Introduction:
Heuristic search helps AI find solutions quickly.
It does not try every option, only the most likely ones.
It is useful when there are many possibilities.
Heuristic Search:
• Uses experience or rules to guess the best path.
• Saves time compared to checking all options.
• Example: Finding shortest route in Google Maps quickly.
Problem Characteristics of Heuristic Search:
• Large Search Space:
o Many possible options, hard to check all.
• No Guarantee of Perfect Solution:
o May find a good solution, not always the best.
• Requires Evaluation Function:
o A method to score or rank options.
o Example: Distance to goal in maps.
Daily Life Example:
Choosing a nearby shop instead of visiting every shop in town to find a
product.
Conclusion:
Heuristic search finds solutions faster using smart guesses.
It is not always perfect but saves time and effort.
Answer 6: Describe natural language processing with suitable
example
Key Idea: NLP is teaching computers to understand human language.
Introduction:
Natural Language Processing (NLP) helps machines read, listen, and
understand words like humans.
It is used in AI to interact with people easily.
Main Points:
• Understanding Text and Speech:
o Computers can read messages or listen to speech.
o Example: Chatbots understanding your questions.
• Translation:
o Converts one language to another automatically.
o Example: Google Translate.
• Text Analysis:
o Helps find meaning, summarize, or detect emotions in text.
Daily Life Example:
When you speak to Alexa or Google Assistant, NLP helps it understand
and answer correctly.
Conclusion:
NLP makes communication between humans and machines easy.
It is used in chatbots, translators, and voice assistants.
Answer 7: Describe the parsing techniques
Key Idea: Parsing is breaking sentences or data into parts to understand
them.
Introduction:
Parsing is used in AI and programming to understand language or code.
It checks the structure and meaning of input.
There are simple methods to do parsing.
Parsing Techniques:
• Top-Down Parsing:
o Starts from the main rule and breaks it into smaller parts.
o Checks if input matches the rules from top to bottom.
o Example: Reading a sentence and analyzing it starting from
the sentence level.
• Bottom-Up Parsing:
o Starts from the words and builds up to check rules.
o Combines smaller parts to reach the main rule.
o Example: Combining words to see if they form a correct
sentence.
• Recursive Descent Parsing:
o Uses small functions for each rule to check input.
o Easy to understand and implement.
(Draw neat diagram in exam: Show top-down and bottom-up arrows
with sentence and words)
Daily Life Example:
When grammar checking in MS Word, parsing is used to detect errors.
Conclusion:
Parsing helps machines understand sentences and code.
Top-down and bottom-up are common methods.
Answer 8: Elaborate the term context free grammars (CFG)
Key Idea: CFG is a set of rules to form correct sentences or expressions.
Introduction:
CFG is used in AI and programming languages.
It tells which combinations of words or symbols are correct.
Helps machines understand structure.
Main Points:
• Rules of CFG:
o Consists of variables, terminals (actual words), start symbol,
and production rules.
o Example: S → NP VP (Sentence → Noun Phrase + Verb
Phrase)
• Uses of CFG:
o Designing programming languages
o Understanding natural language in AI
• Simple Example:
o Sentence: “She eats apple”
o CFG rules:
▪ S → NP VP
▪ NP → Pronoun (She)
▪ VP → Verb + Noun (eats apple)
Daily Life Example:
Grammar checking tools use CFG to verify sentence structure.
Conclusion:
CFG is important to make valid sentences or programs.
It is used in AI, compilers, and language processing.
Answer 9: What is visual perception? Explain its role in artificial
intelligence
Key Idea: Visual perception is when computers see and understand
images like humans.
Introduction:
Visual perception in AI helps machines recognize objects, shapes, and
colors.
It is used to make decisions based on what the computer sees.
This is important for smart systems.
Main Points:
• Object Recognition:
o Computer identifies objects in images or videos.
o Example: Detecting a car on the road.
• Image Understanding:
o Understands the content of a picture.
o Example: Reading text from a photo.
• Role in AI:
o Helps in robotics, self-driving cars, and security cameras.
o Machines can see and react like humans.
(Draw neat diagram in exam: Show an eye → camera → AI system →
decision/action)
Daily Life Example:
Self-driving cars detect pedestrians and traffic lights using visual
perception.
Conclusion:
Visual perception allows AI to see and understand the world.
It is used in smart machines and automated systems.
Answer 10: Explain transformational grammars in brief
Key Idea: Transformational grammar shows how sentences can be
changed into other forms.
Introduction:
It is a type of grammar in AI and linguistics.
It explains how to transform one sentence structure into another.
Used to understand and generate sentences.
Main Points:
• Transformations:
o Change statements to questions, negatives, or passive form.
o Example: “She eats apple” → “Does she eat apple?”
• Rules:
o Based on syntax rules of language.
o Helps computers create or analyze sentences.
• Role in AI:
o Used in NLP, chatbots, and translation systems.
Daily Life Example:
When Google Translate changes a sentence into another language
while keeping meaning.
Conclusion:
Transformational grammar helps AI understand and generate different
sentence forms.
It is important for language-based applications.