answersLogoWhite

0

There is such subject as mathematical logic there are used predicated and etc. to define simple things. There is programming languages that use the same elements and they are used in search algorithms, Artificial Intelligence and other fields.

One of the most know such languages is Prolog.

It's different from other programming languages because of predicates ideology. You could tell that John is a man, at later ask such questions is John a man, who is a man and etc.

For example:

likes(david, samanta).

likes(samanta, tom).

?- likes(david, samanta).

yes

?- likes(samanta, david).

no

?- likes(samanta, tom).

yes

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


This a prewritten function that is built into a programming language?

Library Function Starting out with Programming Logic and Design by Tony Gaddis Page 218


What has the author Rong Yang written?

Rong. Yang has written: 'P-Prolog, a parallel logic programming language' -- subject- s -: P-Prolog - Computer program language -, Logic programming, Parallel programming - Computer science - 'Xing zou Yunnan' -- subject- s -: Description and travel


How do you draw Logic Gates in C language?

The C language is not a graphics language and you cannot draw logic gates using it. C is a programming language, and it is possible to use a graphics library to do so, but you did not specify which library you were using. Please restate the question.


How c language convert into machine language?

With a compiler, which is a program that "knows" how to transform the programming language logic in to machine code and make it perform from that.


What is RX logix 1000?

It is a programming language / piece of software used to program logic controllers for automating machines.


What has the author James H Andrews written?

James H. Andrews has written: 'Logic Programming' -- subject(s): Automatic theorem proving, Logic programming, Programming languages (Electronic computers), Semantics 'Proof-Theoretic Characterisations of Logic Programming'


What has the author Isaac Balbin written?

Isaac Balbin has written: 'Logic programming' -- subject(s): Bibliography, Logic programming


Is XML a programming language?

It is programming languages that are referred to in terms of "high level" and "low level".Extensible Markup Language(XML) is a markup language not a programming language, it is a data formatting specification that makes the presentation of data independent of programs (so that data can be passed between programs).For this reason the answer to your question is "neither".


What has the author Akikazu Takeuchi written?

Akikazu Takeuchi has written: 'Parallel logic programming' -- subject(s): Parallel logic programming


What is the difference between Pro log and C plus plus language?

Prolog is a high-level general purpose logic programming language, typically used in artificial intelligence applications. C++ is an intermediate-level general purpose programming language, suitable for a broad range of applications.


What has the author Samuel Joseph Carlin written?

Samuel Joseph Carlin has written: 'A fuzzy logic rule base in the Java programming language'