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
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Question: (a) Explain the concepts of Inheritance and Polymorphism in Lingo programming. (b) Write short descriptions on parent scripts and child objects in Lingo object

Dynamic Binding: - Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding (late binding) means that the code associa

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

This assignment is an individual programming assignment using Perl. It addresses objectives 3, 4, 5 and 8 as listed in the Subject Outline document. The assignment is based on them

Explain the applet Element ? Applets are embedded in web pages by using the and tags. The APPLET element is same to the IMG element. Like IMG APPLET references a source fil

I need help with this question. The problem i''m having is that what''s the syntax for using dynamic memory allocation of objects of one class in the constructor of some other clas

VARIATION OF PARAMETERS - HIGHER ORDER DIFFERENTIAL EQUATIONS We now require taking a look at the second method of finding a particular solution to a differential equation

Write a Program to illustrate the call by value? #include . int compute_sum(int m); int main( void) { int n=3, sum; printf("%d\n",n); /*3 is printed */ sum=compute_sum(n

Write a java program for inserting a particular node.