Prolog programming language, Computer Engineering

Prolog Programming Language :

Probably programming languages are procedural: than the programmer specifies exactly the right instructions (algorithms) required to get an agent to function correct. Well it comes as a surprise to many people in which there is another way to write programs. Declarative programming is whenever the user declares what the output to a function should look such given some information about the input. So after that the agent searches for an answer that fits the declaration, so that returns any it finds.

According to given an example, just visualize a parent asking their child to run to the shop and buy some groceries. Now for do this in a declarative fashion, there the parent simply has to write down a shopping list first. So the parents have "programmed" their child to perform their particular task in the knowledge in which the child has underlying search routines that will enable him or her to catch to the shop, and come home after find and buy the groceries.

Just to instruct their child in a procedural fashion, and they would have to tell the child to go out of the front door, and then turn left, and walk down the street, than stop after 70 steps, so on.

Posted Date: 1/10/2013 5:45:59 AM | Location : United States







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

Write discussion on Prolog programming language
Your posts are moderated
Related Questions
Define restoring method? The hardware method just explained is called the restoring method. The reason for this name is that the partial reminder is restored by adding the divi

The advantages of specifying parameters during instantiation method are: -  All values to all the parameters do not need to be specified. Only those parameters that are assigne

Advantage  1.       By doing threading we neglect the recursive method of traversing a Tree , which makes use of stack and consumes many memory and time . 2.       The node

MX is conceptually easy, yet bears the fruit of years of domain experience and research. In a nutshell, JMX describes a standard means for applications to expose management functio

Standard typewriter : You must have seen this manually operated machine. Standard typewriters of various makes such as Remington, Fact, Godrej, etc., are available in the market.

Question: (a) Describe the importance of Micro-Programming and point out one area where Micro-Programming is extensively used. (b) Below is a diagram of an 8086 processor.

The three main elements of LDB are:- Structure Selections and Database Program.

What is the difference among using a filter and a query to find records? Filter is used to quickly limit the records as we are already viewing in a Datasheet or a form to those

What functions connect( ) and accept ( ) call in Socket interfacing? connect() system call: Clients use procedures connect to initiate connection with an exact server. The

Uniform Path Cost Search - artificial intelligence: A breadth first search will find the solution with the shortest path length from the initial state to the goal state. In fa