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

1.  Develop a Web page via href attribute of anchor tag and the attribute: vlink, alink, etc. 2.  Develop a Web page, in which when the user clicks on the link it will go to the

What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu

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

What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c

Explain the Comma Operator- Computer Programming? The comma has two utilization and the most common use is as a parameter separator for data types and function parameter lists. H

Objective: to show if the sizes of the clusters influence the communication cost among a set on nodes Write a K-Means  program  for a set of M points randomly distributed on an

Write a function called threshold1 (in a file called 'threshold1.m'. The function takes three arguments. The first two are arbitrarily sized arrays, A and B, and the third is a pos

This section is proposed to be a catch all for several of the fundamental concepts which are used occasionally in working with systems of differential equations. There will not be

Pascal program: Exactly what you need to do to generate your empirical data is specific to your individual assignment. However, some rules apply to all of you: 1. The gener