Question

In: Computer Science

Complete exercises 5.A.   As part of your assignment, provide a response IN YOUR OWN WORDS to...

Complete exercises 5.A.   As part of your assignment, provide a response IN YOUR OWN WORDS to the following questions.

Which of the following rules are syntactically invalid in propositional definitive clause logic, and why? (Assignment part A)

bikeCrashed ← cycledDrunk

goByBus ∨ goByCar ← bikeBroke

goByBus ← ¬haveGas ∨ bikeBroke

In propositional definite clause logic (PDCL),

What is an atom? Give the definition and an example from a domain of your choice. (Assignment part B)

What is a body? Give the definition and an example from a domain of your choice. (Assignment part C)

What is a definite clause? Give the definition and an example from a domain of your choice. (Assignment part D)

What is a knowledge base? Give the definition and an example with four clauses from a domain of your choice. (Assignment part E)

What is an interpretation of a knowledge base KB? Give the definition and an example for your KB. (Assignment part F)

What is a model of a knowledge base KB? Give the definition and an example for your KB. (Assignment part G)

Rubric

For each part of the assignment (A-G) rate the completeness on a scale of 1 – 5 where one indicates that the question was either not answered or the answer did not respond to the question to 5 where there was a complete response to the question.

Solutions

Expert Solution

PART A) bikeCrashed<- Cycleddrunk

The rules bikecrashed<- Cycleddrunk is correct rule as it is of the form a<-b where a is the atom and b is the body. The atom is starting with small letter b as bikecrashed so this rule is syntactically valid.

2)gobyBus v gobycar <- bikebroke

The clause a<-b is valid if the head of clause a is atom and b is body but here the head of clause is body b (gobyBus v gobycar) so this rule is invalid in propositional definitive clause logic.

3)goby bus<-~havegas v bikebroke

The atom a=gobybus. and body =~havegas V bikebroke

The above clause is sytactically invalid because clause body cannot be connected by  V(union) and (~) operations. It can only be connected by intersection.

PART B) An atom is the symbol which starts with lowercase letters for example bird_eats_fruit ,apple_is_red these all are symbols which start with lowercase letters.

PART C) A body is an atom or of the form where B1 and B2 represents the bodies. For example:

apple_is_rotten bird_eats_apple is a body, student_are_happygo_to_picnic are examples of body.

PART D) A definite clause is a rule of the form

h<-b where h is the atom and b is the body For example:

student_is_succesful <- student_work_hardstudent_is_motivated

neha_sleeps_in_room <- night_time light_is_off

PART E) knowledge base is a set of definite clauses. knowledge base store information in form of rules  and clauses. Example of knowledge base which contain four clauses are-

student_are_happy

apple_is_fruit

student_are_succesful <- student_study_hard student_are_motivated

bird_eats_fruits

PART F) The interpretation of the knowledge base is done by assigning the truth value to each atoms in every clauses.The values of atoms can be true or false. The interpretation of above knowledge base is

student_are_ happy =false

apple_is_fruit=true

student_study_hard=true

student_are_successful=true

student_are_motivated=false

bird_eats_fruits=true

PART G) The model of knowledge base is the interpretation in which all clauses are true .The model of above knowledge base contains all those clauses in which truth value is true.

apple_is_fruit=true

student_study_hard=true

student_are_successful=true

bird_eats_fruits=true


Related Solutions

5 The preferred response will include an explanation in your own words, and a good example....
5 The preferred response will include an explanation in your own words, and a good example. Why is leasing sometimes referred to as “off-balance sheet financing? Discuss the four conditions that would require a lease to be classified as a capital lease.
wite 3-5 senctences response to this post in your own words . COLLAPSE Genetic treatment is...
wite 3-5 senctences response to this post in your own words . COLLAPSE Genetic treatment is is gene therapy, which is using genetic material to help fight a disease, it is for the health and well being of the patient. Genetic enhancement is adjusting the genetic makeup of a person by using genetic material to do so. Summarize Glannon, Savulescu, and Sandel’s reasons for considering genetic enhancement ethically acceptable or unacceptable. Glannon finds genetic enhancement as an unfair advantage, and...
Provide complete answers to the following items in your own words. Radiation Safety concerns in CT....
Provide complete answers to the following items in your own words. Radiation Safety concerns in CT. In your response, please acknowledge the public’s perception of radiation exposure and the Cedars Sinai brain scan case. List ways to minimize patient dose. Research and define Image Gently and Image Wisely initiatives at the ASRT. What role does “Smart mA” play is patient dose reduction? What is the relationship between image quality and dose reduction when scanning extremities?
In your own words, please explain the Conflict Perspective. Provide an example. In your own words,...
In your own words, please explain the Conflict Perspective. Provide an example. In your own words, please explain the Interactionist Perspective. Provide an example.
In your own words, provide a definition of negotiation.
In your own words, provide a definition of negotiation.
PLEASE COMPLETE BOTH PORTIONS! Provide 200 words in a response to this posting: How important is...
PLEASE COMPLETE BOTH PORTIONS! Provide 200 words in a response to this posting: How important is profit to a company to grow internationally and how does it affect poverty? When it comes to growing a company internationally, profit is the second most important thing. Although a company does have to show signs of profit to gain shareholders, developing a product or service that has the power to change the lives of others is most important. Without this product or service...
I need a three sentence response for A and B. In your own words please. Your...
I need a three sentence response for A and B. In your own words please. Your response can be an agree or disagree( why or why not) or if you want to add to the statement or if there are any question for the statement. A)I do believe access to good health care should be available for everyone, but with that being said I don't think the answer is universal health care. For lower income families their needs to be...
* Please use your own words. * Please provide sources for your answers. 1. Provide an...
* Please use your own words. * Please provide sources for your answers. 1. Provide an example of any two leading companies from the same industry which are competing directly for marketshare. Give a short profile (300-500 words) for each (provide references for your answers). 2. If you are the manager of one of these companies, what pricing policy do you adopt to be in the first position? Why? (100-200 words) 3. When the whole sector of the market is...
3. The preferred response will include an explanation in your own words, and a good example....
3. The preferred response will include an explanation in your own words, and a good example. From the point of view of an issuing corporation, please describe the primary advantages and disadvantages of issuing preferred stock.
The preferred response will include an explanation in your own words, and a good example. Please...
The preferred response will include an explanation in your own words, and a good example. Please explain how a company computes their weighted average cost of capital, and why is it important? Compare the various components of the cost of capital, and include the tax advantages, if any, in the explanation.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT