Implement a two-dimensional table in prolog, Programming Languages

Implement a two-dimensional table in Prolog. Your program will contain:

1.  An insert_entry predicate that takes a table, row, column and an entry and inserts the entry at the given position creating a new table

2.  A search_entry predicate that takes a table, row and column and unifies its fourth argument with the entry at the indicated position of the table

3.  Write code that creates a table and populates it with at least 2 rows and 2 columns

 

Posted Date: 3/28/2013 3:54:39 AM | Location : United States







Related Discussions:- Implement a two-dimensional table in prolog, Assignment Help, Ask Question on Implement a two-dimensional table in prolog, Get Answer, Expert's Help, Implement a two-dimensional table in prolog Discussions

Write discussion on Implement a two-dimensional table in prolog
Your posts are moderated
Related Questions
Write a Prolog predicate has_duplicates(L) that is true if list L contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,e,b,

Please explain about sub programming.

Write a java program for inserting a particular node.

The scenario As an XML expert you are required to model a system for an online furniture shop. After an interview with the shop manager you have the following information: T

Create a visualization (programming project) and demonstrate it in the class. The project should be related to distributed systems. (A distributed system consists of multiple auton

We are looking for Pool Services Software Our company Pool Hands LLC is looking to build software for our internal use. We would like the software built therefore that it could

1.  A function that produces the Collatz sequence and counts the number of terms. 2.  A main function that calculates interesting values about the Collatz sequence. 1.The Col

ADO. NET ADO.NET (ActiveX Information Things for .NET) is a set of programs elements that developers can use to accessibility data and data solutions. It is an element of the platf

Describe URL and hostname part? The hostname part of the URL should be a valid Internet hostname. It can also be an IP address like as 204.29.207.217 or 128.235.252.184. The

I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME