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
need a program of any multiplication algorithm implemented in assembly language x86 without using mul command

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

Write a Fortran LOGICAL FUNCTION, called "is_prime", which determines if a given integer value is a prime number or not (A prime number is a natural number which has only two disti

Create a Money data structure that is made up of amount and currency.  (a) Write a constructor for this data structure   (b)  Create accessors for this data structure (c)

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of inte

ASP.NET and ASP.NET AJAX ASP.NET AJAX, formerly known as "Atlas", is an Enthusiasm rendering of an AJAX centered structure, designed for ASP.NET (although it can be used on other s

Corrected Exercise #1: 1. Explain the following unexpected result: why did you get the system date command instead of the script? $ whereis date date: /bin/date ... $ echo $PATH

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

Define Call by value - Computer Programming? Functions are raise by writing their name and an appropriate list of arguments within parenthesis. Usually these arguments are in t

write c++ source code to find the number of digits in a given integer? pls ans