Declarative programming languages, Computer Engineering

Declarative programming languages:

We notice that declarative programming languages can have some better compensation over procedural ones. Actually, it is often said that a Java program written into to do the same as a Prolog program regularly takes about 10 times the number of lines of code. There many "AI" researchers try out an idea in Prolog just before implementing it more fully in other languages, means Prolog can be used to perform searches more easily (we see later this).

A recognized declarative language that is used a lot by "AI" researchers is Prolog, that is based on first-order logic. Further more for any declarative programming language, the two most important phases are: how information is represented, so the underlying search routine upon this language is based.

Robert Kowalski give this in a most succinct way:

"'Algorithm = Logic + Control'".

Posted Date: 1/10/2013 5:49:22 AM | Location : United States







Related Discussions:- Declarative programming languages, Assignment Help, Ask Question on Declarative programming languages, Get Answer, Expert's Help, Declarative programming languages Discussions

Write discussion on Declarative programming languages
Your posts are moderated
Related Questions
Resolution of externally defined symbols is performed by Ans. By Linker resolution of externally defined symbols is performed.

Q. Functions for various communication modes? MPI offers both non-blocking and blocking send/transmitting and receive operations for all modes. Functions for various commun

What is parallel adder? Draw and explain block diagram for 4 bit parallel adder. Ans: By using full adder circuit, any two bits can be added along with third input like a ca

Split Bus Operation - universal serial bus :   USB 2.0 devices utilize a special protocol in the reset time that is called "chirping", to negotiate the high speed mode

State the hardware faults and softwate faults - protection against hardware faults could be to keep backups or use GFS; use of UPS (in case of power loss) and parallel system a

Q. Describe the Horizontal Frequency or cycle? Horizontal Frequency: The time to scan one line connecting the right edge to left edge of the screen horizontally is known as t

Problem (a) Distinguish between how NTFS and FAT store time. Describe your answer. (b) Unix epoch starts as from January 1, 1970, 00:00:00 GMT. Provide that Unix stores

How the at-user command serves mainly in lists? The AT USER-COMMAND event serves mostly to handle own function codes.  In this case, you should make an individual interface wit

solve the primal problem using duality and determine the primal and dual solution P= 300x1 + 300x2 S.T. 2x1 + 3x2 => 13 3x1 = 2x2 => 15 x1,x2 => 0

Heuristic Search Strategies: Generally speaking that, a heuristic search is one which have uses a rule of thumb to improve an agent's performance in solving the problems via s