ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 25 May 2017 My Price 9.00

AKSARAY UNIVERSITYEEBM 568 Expert SystemsTake-Home

Q.3(60 pts). You are just starting a quiet evening at home when an old friend calls to announce he is coming over for   dinner at your place. This being a big surprise, you immediately undertake emergency dinner preparations.

 

            Within a few minutes, you have managed to load up the BARTENDER expert system on your PC so that you can select a drink.

 

            BARTENDER is a backward‑chaining production system with rules given below. Note that when more than one rule has a consequent matching the current problem, those rules are tried in the order given in the list.

 

 

 

Rule 1:     IF     expensive wine is selected

                 AND    it is 31st of December

                 THEN   champagne

 

Rule 2:     IF     expensive wine is selected   

                 AND    first meal is steak

                 THEN   red wine

 

Rule 3:     IF     cheap wine is selected

                AND    first meal is chicken

                 AND    guest is not well‑liked

                 THEN   apple wine

 

Rule 4:     IF     cheap wine is selected

                 AND    first meal is unknown

                THEN   pink wine

 

Rule 5:     IF     beer is selected

                 AND    first meal is Mexican beans

                 THEN   Spanish beer

 

Rule 6:     IF     beer is selected

                 THEN   Tuborg

 

Rule 7:     IF     guest is concerned about his health

                 THEN   Efes 

 

Rule 8:     IF     guest is concerned about his health

                 AND    carrots are not to be served

                 THEN   carrot juice

 

Rule 9:     IF     wine is selected

                 AND    guest should be impressed

                 THEN   expensive wine

 

Rule 10:   IF     wine is selected

                 THEN   cheap wine

 

Rule 11:   IF     guest is sophisticated

                 THEN   wine

 

Rule 12:   IF     first meal is Mexican beans

                 THEN   beer

 

Rule 13:   IF     guest is not well‑liked

                 AND    first meal is provided by Restaurant X

                 THEN   beer

 

Rule 14:   IF     true

                 THEN   water

 

 

 

 

BARTENDER's hypotheses are as follows:

     ‑ champagne

     ‑ red wine

     ‑ pink wine

     ‑ apple wine

     ‑ Spanish beer

     ‑ Tuborg

     ‑ Efes

     ‑ carrot juice

- water

 

Now here are some facts to assume true, if an inquiry is made:

 

     ‑ first meal is provided by Restaurant X

     ‑ first meal is Mexican beans

     ‑ guest is not well‑liked

     ‑ guest is sophisticated

     ‑ it is 31st of December

     ‑ first meal is chicken

 

 

And here are some facts to assume false, if an inquiry is made:

 

     ‑ carrots are not to be served

     ‑ first meal is unknown

     ‑ guest is concerned about his health  

     ‑ guest should be impressed

     ‑ first meal is steak

 

 

                                                     

Note that:

 

     1. In working this problem, remember that the BARTENDER program has no means for problem solving except using the rules.

 

     2.  Assume that a user answers questions using BARTENDER's hypotheses given above.

 

     3.  Assume BARTENDER's control structure is such that it never asks the user if an assertion is true if there is any rule with that assertion in its THEN part. If there are such rules, but none verifies the assertion, the assertion is assumed to, be false.

 

     4.  Assume BARTENDER stops when one hypothesis is verified.

        

 

 

PART A

 

Simulate BARTENDER's behaviour on the given facts. Take care to use the hypotheses in the given order. Indicate your answer by showing the sequence in which the rules fire and the name of the drink selected.

 

 

         Rule Number                     Selected Drink

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PART B

 

With some different set of facts, could BARTENDER ever recommend the red wine with Mexican beans? If not, why not?

 

SOLUTION: (10 pts)

 

 

 

 

 

 

 

 

 

 

PART C

 

With some different set of facts, could BARTENDER ever recommend carrot juice with steak? If not, why not? 

 

SOLUTION:(10 pts)

 

 

 

 

 

 

PART D

 

Assume the existing rule set is added with a collection of meta‑ rules. Each meta‑rule is to be tried, possibly initiating some backward‑chaining, before the ordinary process of hypothesis checking and backward‑chaining begins. Here are the meta‑rules:

 

M1:      IF   the first meal is chicken

             THEN delete rules 12 and 13

 

M2:      IF   expensive wine is selected

             THEN delete rules 2 and 4

             AND  replace rule 3 with rule 15 (below)

 

Rule 15:IF   cheap wine is selected

              THEN Villa Doluca

            

 

Now determine which drink will be selected again given the set of facts to be assumed true. You need only to specify the drink; do not bother to show the order the rules are used.

 

SOLUTION:(10 pts)

 

 

 

AKSARAY UNIVERSITYEEBM 568 Expert SystemsTake-Home Examination________________________________________________________________________Instructor:Prof.Dr. Mehmet R. TOLUNDate:26.04.2016Time Allowed:until April 28th2016, 15:30Name and Surname:……Haval S. AbdullahStudent Number:..152335805This exam paper contains3questions.Answerallquestions.QuestionMark GainedQ1Q2Q3Total---Good Luck---

Attachments:

Answers

(11)
Status NEW Posted 25 May 2017 08:05 AM My Price 9.00

-----------

Attachments

file 1495702033-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)