2020 MMP-AI Assignment 01
2020 MMP-AI Assignment 01
Translate the above sentences into formulas in predicate logic and Prove that
Ellen is not married.
Translate these sentences into formulas in predicate logic and Prove that Prince's car consumes a lot
of petrol.
5. What is wrong with the following argument?
Men are widely distributed over the earth.
Socrates is a man.
Therefore, Socrates is widely distributed over the earth.
How should the facts represented by these sentences be represented in logic so that this
problem does not arise?
6. Demonstrate the use of Cut, Fail and Repeat Predicates in Prolog with example
7. Write a prolog program to compute factorial of a given number.
8. Write a prolog program to find the sum of first N natural numbers.
9. Write a prolog program to find sum of all the numbers of a list
10. Write a prolog program to count vowels in a list of characters.
11. Write a prolog program to find maximum number from a list
12. Write a prolog program to append two given list. Show the tracing of the program by
taking two sample lists in goal state.