Artificial Intelligence Programs Using Prolog

6. Write a Prolog program to remove the Nth item from a list.
7. Write a Prolog program, remove-nth(Before, After) that asserts the After list is the Before list with the removal of every n’th item from every list at all levels.
8. Write a Prolog program to implement max(X,Y,Max) so that Max is the greater of two numbers X and Y.
9.Write a Prolog program to implement maxlist(List,Max) so that Max is the greatest number in the list of numbers List.
10. Write a Prolog program to implement sumlist(List,Sum) so that Sum is the sum of a given list of numbers List.
11. Write a Prolog program to implement GCD of two numbers.
12. Write a Prolog program to implement reverse(List,ReversedList) that reverses lists.
13. Write a Prolog program to implement palindrome(List).
14. Write a Prolog program to implement maxlist(List,Max) so that Max is the greatest number in the list of numbers List using cut predicate.
15. Write a Prolog program to implement two predicates evenlength(List) and oddlength(List) so that they are true if their argument is a list of even or odd length respectively.

18 comments:

  1. please send these programs-
    1.write a program which shows backtracking mechanism.
    2.wap to categorize bird characterstics.
    3. wap to read and display home address of a person using compound variable.
    4. wap to show the working of cut operators.
    5. wap to count the no. of list elements.
    6. wap to add integer into a list.
    7. wap to replace an integer from a list.
    8. wap to delete an integer from a list.
    9. wap to represent family relationship.
    10. wap to implement 8-queens problem.
    11. wap to depth first search and breadth first search algoritham.
    12. wap to union of two list.
    13. wap to finding intersection of two list.
    14. wap to solve monkey banana problem.

    ReplyDelete
    Replies
    1. Write a prolog program of a* search algorithm

      Delete
  2. Very informative and impressive post you have written, this is quite interesting and i have went through it completely, an upgraded information is shared, keep sharing such valuable information. Artificial intelligence program

    ReplyDelete
  3. Prolog is one of the most powerful languages of Machine learning. It is also very easy to learn and practice. To know more about machine learning provider and machine learning technologies, click know more, and you will get all your answers.

    ReplyDelete
  4. Thanks For Shairing This Programe of Artificial Intelligence.
    Artificial Intelligence Training in Noida

    ReplyDelete
  5. Really this is great post. It helps to lots of people to understand how to write Artificial Intelligence Programs Using Prolog. Thank you very much. keep blogging.

    ReplyDelete
  6. Artificial Intelligence or AI can simply be interpreted as a systemic procedure that deals with the process of making machines or computers to perform various coherent tasks which normally require the use of human intelligence for accomplishing the tasks.
    For More Info: Artificial Intelligence Institute in Delhi

    ReplyDelete
  7. Artificial Intelligence - Artificial intelligence or AI is used to describe machines that are capable of imitating human intelligence. AI is prevalent in our daily lives we use it in search engines, automated emails, online customized ad campaigns, chat boxes,
    smart devices, and smartphones. Artificial intelligence uses machine learning. Computers use complicated algorithms and historical data to make the propensity model. The propensity model can start predicting events. There are four types of AI:- Reactive machines, Limited memory, Theory of the mind and Self-awareness. For more visit: computermobile.info

    ReplyDelete
  8. prolog programming help

    We are the No.1 company that offers excellent online assignment help and gets an A+ grade in your assignments. We help students online and available 24 x 7.

    to get more - https://qualityassignmenthelp.com/

    ReplyDelete
  9. This is good information and really helpful for the people who need information about this.
    Artificial intelligence Training in Delhi
    Artificial intelligence Course in Delhi

    ReplyDelete
  10. Reliable notes to know everything about how to use prolog for aritifical intelligence programs.
    http://todayssimpleaiformarketing.com/

    ReplyDelete
  11. Hi Dear,
    Thanks for sharing such a useful blog. Really! This Blog is very informative for us which contains a lot of information about the Counselling For Men. I like this post. Please visit at "prolog assignment help",Get online Prolog Programming help is fun for experts from QualityAssignmentHelp.com.We have highly professional ideas to provide and we value the client deadline. We have experts team in Python programming help.


    Visit Here - https://qualityassignmenthelp.com/portfolio/prolog-sample-assignment-help-programming-help/Thanks

    ReplyDelete
  12. This comment has been removed by a blog administrator.

    ReplyDelete
  13. Thanks for post, it Very informative and impressive post you have written, this is quite interesting and i have went through it completely, an upgraded information is shared, keep sharing such valuable information. Artificial intelligence program

    ReplyDelete
  14. Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.artificial intelligence course in delhi

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete