AI-803-B Expert Systems

Expert Systems (AI-803-B) Important Questions

RGPV · B.Tech · CSE-AI · Semester 8 · Current scheme · 0 papers

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Expert Systems important questions

Download Paperwala Imp Question & Answer (PDF)

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.

Diagram: Introduction, need and history of expert systems

Same or opposite: expert system and conventional program

PointExpert systemConventional programSame or opposite
KnowledgeKept in a separate knowledge baseMixed with the codeOpposite
ReasoningRules and inferenceFixed algorithmOpposite
Can explain a resultYesRarelyOpposite
Runs on a computerYesYesSame

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.

Back to the topic list

Q2. Components of an expert system

From the syllabus · Unit 1

From the papers

  • “Unit 1: Components of expert system.” (Syllabus)

The short answer

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.

Diagram: Components of an expert system

Same or opposite: knowledge base and working memory

PointKnowledge baseWorking memorySame or opposite
HoldsGeneral rules and factsFacts of the current caseOpposite
Changes during a runNoYesOpposite
Used by the inference engineYesYesSame
Lasts forYearsOne consultationOpposite

Exam tip. Draw the block diagram with all six parts and arrows. Describe each part in one line. Name the three people involved.

Back to the topic list

Q3. Types and applications of expert systems

From the syllabus · Unit 1

From the papers

  • “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.
  • Neural: a trained network instead of rules.
  • Hybrid: a mix, such as rules with fuzzy values.

Types by task

  • Interpretation, prediction, diagnosis, design, planning, monitoring, repair, instruction, control.

Applications

  • Medicine: diagnosis help. Agriculture: crop disease advice.
  • 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.

Diagram: Types and applications of expert systems

Same or opposite: rule-based and frame-based systems

PointRule-basedFrame-basedSame or opposite
Knowledge formIF THEN rulesObjects with slotsOpposite
Best forDecisions and diagnosisDescribing things and their linksOpposite
Has a knowledge baseYesYesSame
Can be used with an inference engineYesYesSame

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.

Back to the topic list

Q4. Advantages and limitations of expert systems

From the syllabus · Unit 1

From the papers

  • “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.

Diagram: Advantages and limitations of expert systems

Same or opposite: expert system and human expert

PointExpert systemHuman expertSame or opposite
AvailabilityAll dayLimitedOpposite
Common senseNoneYesOpposite
Gives advice in the fieldYesYesSame
Learns from new cases by itselfNoYesOpposite

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.

Back to the topic list

Q5. Organization, characteristics and PROSPECTOR

From the syllabus · Unit 1

From the papers

  • “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).

Posterior odds = 0.0101 x 9 = 0.0909. Chance = 0.0909 / 1.0909 = 8.3 percent.

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.

Diagram: Organization, characteristics and PROSPECTOR

Same or opposite: knowledge base and inference engine

PointKnowledge baseInference engineSame or opposite
RoleStores the knowledgeUses the knowledgeOpposite
Depends on the fieldYesNoOpposite
Needed in every expert systemYesYesSame
Can be changed without the otherYesYesSame

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.

Back to the topic list

Q6. Knowledge representation

From the syllabus · Unit 2

From the papers

  • “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.

Semantic network: sparrow is-a bird, bird is-a animal.

Logic: for all x, Feathers(x) implies Bird(x).

Real-life example

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.

Diagram: Knowledge representation

Same or opposite: production rules and frames

PointProduction rulesFramesSame or opposite
Unit of knowledgeA ruleAn object with slotsOpposite
InheritanceNoYesOpposite
Can be read by a personYesYesSame
Used in expert systemsYesYesSame

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.

Back to the topic list

Q7. Reasoning: forward and backward chaining

From the syllabus · Unit 2

From the papers

  • “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)

  1. Put the known facts in working memory.
  2. Find rules whose conditions are all true.
  3. Fire one rule (using a conflict resolution rule) and add its conclusion.
  4. Repeat until no new fact appears.

Backward chaining (goal driven)

  1. Pick a goal.
  2. Find a rule that concludes the goal.
  3. Make each condition of that rule a new sub goal.
  4. 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.

Diagram: Reasoning: forward and backward chaining

Same or opposite: forward and backward chaining

PointForward chainingBackward chainingSame or opposite
Starts fromFactsGoalOpposite
Driven byDataGoalOpposite
Typical useMonitoring, designDiagnosisOpposite
Uses IF THEN rulesYesYesSame

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.

Back to the topic list

Q8. Expert system tools, languages and shells

From the syllabus · Unit 2

From the papers

  • “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.

Diagram: Expert system tools, languages and shells

Same or opposite: expert system shell and programming language

PointShellProgramming languageSame or opposite
Starting pointEngine ready, knowledge base emptyNothing readyOpposite
Speed of buildingFastSlowOpposite
Freedom of designLimitedFullOpposite
Used to build expert systemsYesYesSame

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.

Back to the topic list

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

  1. General languages: Lisp, Prolog. Everything is written by the builder.
  2. Rule languages and engines: OPS5 style and CLIPS. The engine is given and the rules are written.
  3. Shells: a whole engine with explanation and interface. The builder adds the knowledge.
  4. 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.

Diagram: Stages in tool development and knowledge engineering tools

Same or opposite: rule engine and shell

PointRule engineShellSame or opposite
Includes an interface and explanationNoYesOpposite
Needs programming around itYesLessOpposite
Applies rules to factsYesYesSame
Knowledge base is empty at the startYesYesSame

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.

Back to the topic list

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

  1. Feasibility study.
  2. Rapid prototype with a few rules.
  3. Extend the prototype in rounds.
  4. Full test with experts.
  5. Release and maintenance.
  • The work is iterative: after each test the knowledge is corrected.

Growth of a prototype.

Round 1: 20 rules cover 40 percent of the cases. Round 2: 80 rules cover 70 percent. Round 3: 200 rules cover 90 percent.

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.

Diagram: Tasks and general stages in building an expert system

Same or opposite: prototype and final system

PointPrototypeFinal systemSame or opposite
RulesFewManyOpposite
PurposeTest the ideaDaily useOpposite
Tested against an expertYesYesSame
Changed after testingOftenLess oftenOpposite

Exam tip. List the tasks and the stages in order. State that the work is repeated in rounds. Add the growth example as numbers.

Back to the topic list

Start with the latest papers

Previous year papers will be added soon!

Expert Systems (AI-803-B) FAQs

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.