Explaining operations of cut and fail productions in prolog


Question 1) Explain how is knowledge manipulated?

b) What do you mean by backtracking?

c) Explain functor with example.

d) What do you mean by goal?

e) Distinguish between Prolog and Logic

f) What do you mean by syntax tree?

g) What is Meta-Interpreter in Prolog?

h) Write down the applications of knowledge based systems?

i) Describe neural nets in detail.

j) What is resolution?

Question 2) Define operations on list. Describe membership and append relation.

Question 3) Describe the operations of cut and fail productions in Prolog.

Question 4) Develop a predicate Sum (Int,Result), which succeeds if the result is the Sum of all the integers between 0 and Int in Prolog.

Question 5) Distinguish between:

(a) Facts and Rules.

(b) Iteration and recursion.

Question 6) Write a program to determine factorial of the number using Prolog.

Question 7) What are data structures available in Prolog? Write a Prolog program for merging two ordered lists.

Question 8) Explain the following with respect to Prolog.

(a) Abstract Data Types.

(b) A Production System.

(c) Search strategies.

(d) Rules based expert system.

Question 9) Write a Prolog code for the farmer, wolf, goat and cabbage problem:

(a) Execute the code and draw search space.

(b) Alter the rule ordering to produce alternative solution paths.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Explaining operations of cut and fail productions in prolog
Reference No:- TGS08345

Expected delivery within 24 Hours