Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.
Expert Systems important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.
Q1. Introduction, need and history of expert systems
From the syllabus · Unit 1
From the papers
“Unit 1: Introduction to expert system, need and history of expert systems.” (Syllabus)
The short answer
An expert system is a computer program that holds the knowledge of a human expert in one narrow field and uses it to give advice or decisions. It reasons with rules and facts, not with a fixed step by step formula.
Write these points
Need
Experts are few, costly and not always available.
Experts retire or leave and their knowledge goes with them.
Humans get tired and give different answers on different days. A program gives a steady answer.
A program can serve many users at the same time and in far places.
Short history
1960s: early systems such as DENDRAL (chemical structures) at Stanford.
1970s: MYCIN (infection diagnosis) and PROSPECTOR (mineral search).
1980s: commercial use, with XCON at Digital Equipment Corporation. Many shells appeared.
Later: the ideas live on in rule engines and decision support tools.
A tiny expert rule.
IF the power light is off AND the plug is fine THEN the adapter is faulty.
Fact: power light is off, plug is fine. Conclusion: adapter is faulty. A service person would think the same.
Real-life example
In a rural clinic there may be no specialist doctor. A program that asks a few questions about symptoms and suggests the likely illness is an expert system in a small way. It does not replace the doctor. It gives help when the doctor is far away.
Same or opposite: expert system and conventional program
Point
Expert system
Conventional program
Same or opposite
Knowledge
Kept in a separate knowledge base
Mixed with the code
Opposite
Reasoning
Rules and inference
Fixed algorithm
Opposite
Can explain a result
Yes
Rarely
Opposite
Runs on a computer
Yes
Yes
Same
Exam tip. Define the term in one line and give three reasons for the need. Add the time line in four points. Write the tiny rule as the example.
The components of an expert system are the knowledge base, the inference engine, the working memory, the user interface, the explanation facility and the knowledge acquisition module.
Write these points
Main components
Knowledge base: facts and rules about the field, written down from the expert.
Inference engine: the part that applies the rules to the facts to reach a conclusion.
Working memory: facts about the present case.
User interface: screens or chat where the user answers questions.
Explanation facility: shows why a question is asked and how a result was reached.
Knowledge acquisition module: helps the knowledge engineer add and change rules.
People
Domain expert, knowledge engineer (builds the system) and user.
One run of a diagnosis system.
Working memory: no power light, plug fine. The engine matches rule R1 and adds: adapter is faulty.
The user asks Why? The explanation facility answers: because R1 says so, with the two conditions listed.
Real-life example
When a bank loan program rejects an application it can show that the income was below the limit and a past default was found. That is the explanation facility. The officer can then check the reason.
Same or opposite: knowledge base and working memory
Point
Knowledge base
Working memory
Same or opposite
Holds
General rules and facts
Facts of the current case
Opposite
Changes during a run
No
Yes
Opposite
Used by the inference engine
Yes
Yes
Same
Lasts for
Years
One consultation
Opposite
Exam tip. Draw the block diagram with all six parts and arrows. Describe each part in one line. Name the three people involved.
“Unit 1: Application of expert systems, types of expert system.” (Syllabus)
The short answer
Expert systems are classified by the way they represent knowledge (rule-based, frame-based, fuzzy, neural, hybrid) or by the task they do (diagnosis, design, planning and others). Their applications reach many fields.
Write these points
Types by method
Rule-based: IF THEN rules.
Frame-based: objects with slots and values.
Fuzzy: rules with degrees of truth such as fairly high.
Banking: loan and fraud checks. Industry: fault finding and machine setup.
Education: tutors that ask questions.
Choosing a type.
Crop disease advice: leaf colour is a fuzzy value, so a fuzzy rule base fits.
Configuring a computer order: parts and limits are exact, so a rule-based system fits.
Real-life example
A farmer in Madhya Pradesh photographs a leaf and an app asks three questions. It then names the likely disease and the spray. Such an advice app is a diagnosis expert system for agriculture.
Same or opposite: rule-based and frame-based systems
Point
Rule-based
Frame-based
Same or opposite
Knowledge form
IF THEN rules
Objects with slots
Opposite
Best for
Decisions and diagnosis
Describing things and their links
Opposite
Has a knowledge base
Yes
Yes
Same
Can be used with an inference engine
Yes
Yes
Same
Exam tip. Give the types by method and by task in two short lists. Add three applications. Match one application to a type in the example.
“Unit 1: Advantages and limitations of an expert system.” (Syllabus)
The short answer
The advantages of an expert system are steady, fast and always available advice. Its limitations are a narrow field, no common sense and a heavy cost to build and update.
Write these points
Advantages
Steady answers. No tiredness or mood.
Available all day, in many places at once.
Keeps the knowledge of an expert after the expert leaves.
Can explain its answer and train new staff.
Cuts cost and time in the long run for repeated tasks.
Limitations
Works only in the narrow field it was built for.
Has no common sense. It can give a silly answer at the edge of its field.
Cannot learn on its own in the classic form. Rules must be updated by hand.
Knowledge is hard to get from experts and hard to keep up to date.
Cost and time to build can be high.
Pay back of an expert system.
Cost to build = 12 lakh rupees. Saving each year = 5 lakh rupees.
Pay back time = 12 / 5 = 2.4 years.
Remember. The cost figures above are made up to show the method.
Real-life example
A bank can run a loan check program all day on a thousand applications. A person would take days. When a new kind of loan comes, the rules must be changed by hand. The program does not guess about it by itself.
Same or opposite: expert system and human expert
Point
Expert system
Human expert
Same or opposite
Availability
All day
Limited
Opposite
Common sense
None
Yes
Opposite
Gives advice in the field
Yes
Yes
Same
Learns from new cases by itself
No
Yes
Opposite
Exam tip. Make a two column table of advantages and limitations with five points each. Add the pay back number. A balanced answer scores higher.
“Unit 1: Organization, characteristics, Prospector and features of an expert system.” (Syllabus)
The short answer
The organization of an expert system keeps the knowledge apart from the engine that uses it. Its characteristics are expertise in a narrow domain, rule reasoning and an explanation facility.
Write these points
Organization
Knowledge base on one side, inference engine on the other.
A user interface on the front and a knowledge acquisition aid at the back.
Changing the knowledge does not need a change of the engine.
Characteristics and features
High performance in the narrow field, close to an expert.
Symbolic reasoning with rules, not only numbers.
Explanation of why and how.
Handles uncertainty and incomplete data.
Easy to change: add or remove a rule.
PROSPECTOR
A system from SRI to help geologists judge the chance of ore at a site.
It used rules linked in a network, with probabilities updated by likelihood ratios.
It showed that an expert system can work with uncertain field data.
A likelihood ratio update (the idea behind PROSPECTOR).
Prior chance of ore = 1 percent. Prior odds = 0.0101. A rock sample is nine times more likely if there is ore (likelihood ratio 9).
Remember. The details of PROSPECTOR above are from general knowledge of the system. Check the exact year and result with your class notes.
Real-life example
A geologist who finds one hopeful sign does not conclude that there is ore. Each new sign raises the chance a little. PROSPECTOR added up such signs by their likelihood ratios.
Same or opposite: knowledge base and inference engine
Point
Knowledge base
Inference engine
Same or opposite
Role
Stores the knowledge
Uses the knowledge
Opposite
Depends on the field
Yes
No
Opposite
Needed in every expert system
Yes
Yes
Same
Can be changed without the other
Yes
Yes
Same
Exam tip. State the separation of knowledge from the engine as the main idea. List five characteristics. Add the PROSPECTOR example and the odds number.
“Unit 2: Knowledge representation and reasoning in expert systems.” (Syllabus)
The short answer
Knowledge representation is the way knowledge is stored in a form that a program can use. The common forms are production rules, frames, semantic networks and logic.
Write these points
Forms
Production rules: IF condition THEN action. Easy to write and to explain.
Frames: a record with slots, such as a Car with slots for engine, wheels and colour. Slots can inherit values.
Semantic network: a graph of nodes (things) and arcs (relations) such as is-a and has-part.
Predicate logic: facts and rules as statements, for example Parent(Ram, Sita).
Choose by the kind of knowledge: rules for decisions, frames for objects, networks for links.
Reasoning in short
Forward chaining, backward chaining and uncertain reasoning (see later questions).
One fact in four forms.
Rule: IF animal has feathers THEN animal is a bird.
Frame: Bird has slots: covering = feathers, legs = 2, can fly = usually.
A college database knows that a lab is part of a department and a department is part of the college. A semantic network stores such links. A question about all labs of the college is answered by following the links.
Same or opposite: production rules and frames
Point
Production rules
Frames
Same or opposite
Unit of knowledge
A rule
An object with slots
Opposite
Inheritance
No
Yes
Opposite
Can be read by a person
Yes
Yes
Same
Used in expert systems
Yes
Yes
Same
Exam tip. Define knowledge representation and name four forms. Show the bird example in all four forms. This is a short answer that scores well.
“Unit 2: Knowledge representation and reasoning in expert systems.” (Syllabus)
The short answer
Reasoning is done by the inference engine. Forward chaining moves from facts to conclusions, while backward chaining starts from a goal and looks for facts that prove it.
Write these points
Forward chaining (data driven)
Put the known facts in working memory.
Find rules whose conditions are all true.
Fire one rule (using a conflict resolution rule) and add its conclusion.
Repeat until no new fact appears.
Backward chaining (goal driven)
Pick a goal.
Find a rule that concludes the goal.
Make each condition of that rule a new sub goal.
Ask the user when no rule proves a sub goal.
Conflict resolution: when several rules can fire, choose by priority, the most specific rule or the newest fact.
Forward chaining suits monitoring and design. Backward chaining suits diagnosis.
Rules R1: no power light AND plug ok THEN adapter faulty. R2: adapter faulty THEN replace adapter.
Forward with the facts no power light and plug ok: R1 fires and adds adapter faulty. Then R2 fires and adds replace adapter.
Backward with goal replace adapter: R2 gives sub goal adapter faulty. R1 gives sub goals no power light and plug ok. Both are known, so the goal is proved.
Real-life example
A doctor who sees a fever and cough thinks of what illness this could be. That is forward reasoning. A doctor who suspects malaria and asks for a blood test to confirm it is reasoning backward from a goal.
Same or opposite: forward and backward chaining
Point
Forward chaining
Backward chaining
Same or opposite
Starts from
Facts
Goal
Opposite
Driven by
Data
Goal
Opposite
Typical use
Monitoring, design
Diagnosis
Opposite
Uses IF THEN rules
Yes
Yes
Same
Exam tip. Give the steps of both methods and run the same two rules in both directions. The side by side trace wins the marks. Mention conflict resolution.
“Unit 2: Expert systems tools, programming languages, expert system shells, system building aids, support facilities.” (Syllabus)
The short answer
Expert system tools help to build an expert system. They are programming languages (Lisp, Prolog, C and Java based tools), expert system shells, building aids and support facilities.
Write these points
Tools
Programming languages: Lisp and Prolog suit symbolic work. Prolog has backward chaining built in. Others use C or Java.
Expert system shell: a ready system with an empty knowledge base. The builder adds only the rules. EMYCIN is the shell made from MYCIN. CLIPS and Jess are rule engines.
Building aids: rule editors, knowledge base checkers, tools that test and trace rules.
Support facilities: debuggers, explanation tools, interface builders, data links, version control.
Shell against language
A shell is faster to use and fixed in style. A language gives full freedom and takes more time.
Estimating the effort.
A project needs 300 rules. A builder spends about 2 hours per rule for writing and testing.
Effort = 300 x 2 = 600 hours, which is 75 working days of 8 hours. A shell cuts the extra coding time.
Remember. The two hours per rule figure is a planning assumption, not a standard.
Real-life example
A small team that wants a crop advice system in a few weeks uses a shell and writes only the rules. A research group that wants a new kind of reasoning builds from a language such as Prolog. The choice depends on time and freedom.
Same or opposite: expert system shell and programming language
Point
Shell
Programming language
Same or opposite
Starting point
Engine ready, knowledge base empty
Nothing ready
Opposite
Speed of building
Fast
Slow
Opposite
Freedom of design
Limited
Full
Opposite
Used to build expert systems
Yes
Yes
Same
Exam tip. Name four kinds of tools with an example each. Compare a shell with a language in a table. Add the effort estimate if you have time.
Q9. Stages in tool development and knowledge engineering tools
From the syllabus · Unit 2
From the papers
“Unit 2: Stages in development of expert system tools, knowledge engineering languages and tools.” (Syllabus)
The short answer
The stages in the development of expert system tools moved from general languages to shells and then to integrated tools. Knowledge engineering languages and tools are made for building and checking knowledge.
Write these points
Stages
General languages: Lisp, Prolog. Everything is written by the builder.
Rule languages and engines: OPS5 style and CLIPS. The engine is given and the rules are written.
Shells: a whole engine with explanation and interface. The builder adds the knowledge.
Integrated environments: editors, test tools, debugging and links to databases in one package.
Knowledge engineering tools
Rule editors and checkers: find missing, repeated or clashing rules.
Knowledge acquisition tools: ask the expert structured questions and turn the answers into rules.
Tracers and explanation tools: show which rules fired.
Induction tools: make rules from a table of past cases.
A checker finds a clash.
Rule A: IF fever AND cough THEN flu. Rule B: IF fever AND cough THEN cold, with the same priority.
A checker flags that the two rules have the same conditions and different results. The builder decides which one is right.
Real-life example
A school timetable team first writes the rules by hand, then uses a tool that checks the rules for clashes. The team finds two teachers booked in the same room. A knowledge tool does this work for rules.
Same or opposite: rule engine and shell
Point
Rule engine
Shell
Same or opposite
Includes an interface and explanation
No
Yes
Opposite
Needs programming around it
Yes
Less
Opposite
Applies rules to facts
Yes
Yes
Same
Knowledge base is empty at the start
Yes
Yes
Same
Exam tip. Give the four stages in order with one line each. List four kinds of knowledge engineering tools. The clash example shows that you know what a tool does.
Q10. Tasks and general stages in building an expert system
From the syllabus · Unit 3
From the papers
“Unit 3: Tasks in building expert systems, general stages in the development of an expert system.” (Syllabus)
The short answer
The tasks in building an expert system are identifying the problem, getting the knowledge, choosing a way to represent it, building the system and testing it. They are done in general stages.
Write these points
Tasks
Define the problem: what advice is needed and by whom.
Acquire knowledge: from experts and documents.
Represent knowledge: rules, frames or other forms.
Build the prototype: with a shell or language.
Test and refine: compare with the expert on real cases.
Install, train users and maintain.
General stages
Feasibility study.
Rapid prototype with a few rules.
Extend the prototype in rounds.
Full test with experts.
Release and maintenance.
The work is iterative: after each test the knowledge is corrected.
The expert reviews each round and corrects the rules before the next one.
Remember. The rule counts and percentages above are made up to show the process.
Real-life example
A team building a crop advice system first sits with one agriculture officer and writes twenty rules. They test it on ten real cases and correct the rules. They repeat the cycle until the officer is satisfied.
Same or opposite: prototype and final system
Point
Prototype
Final system
Same or opposite
Rules
Few
Many
Opposite
Purpose
Test the idea
Daily use
Opposite
Tested against an expert
Yes
Yes
Same
Changed after testing
Often
Less often
Opposite
Exam tip. List the tasks and the stages in order. State that the work is repeated in rounds. Add the growth example as numbers.
What are the most important topics in Expert Systems?
No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Introduction, need and history of expert systems; Components of an expert system; Types and applications of expert systems; Advantages and limitations of expert systems; Organization, characteristics and PROSPECTOR.
How were these Expert Systems important questions chosen?
Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Expert Systems important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Expert Systems is free to download from this page.
The 10 topics of Expert Systems (AI-803-B) for RGPV B.Tech CSE-AI semester 8, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.