Question: In the following question, a knowledge base has been given. In addition, some input data is also provided. Using forward chaining answer the requested question.
In the following question, a knowledge base has been given. In addition, some input data is also provided. Using forward chaining answer the requested question. Show all steps of inference.
Knowledge base: If X studies CS, and 4th -year student THEN X must take the senior Project If X studies MATH and 3rd -year student THEN X must do an internship If X takes a senior project THEN X writes a program If X does an internship THEN X writes a report
Data: John studies CS and he is a fourth-year student
Question: What should John write (if any)? [Remember: you need to use forward chaining otherwise your answer is not accepted]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
