Prolog programming language, Computer Engineering

Assignment Help:

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.


Related Discussions:- Prolog programming language

Hard disk technology - computer architecture, Hard Disk Technology: Fi...

Hard Disk Technology: Figure of a computer hard disk drive           HDDs record data by magnetizing ferromagnetic material directionally, to represent

Stepwise refinement of the program, What do you understand by stepwise refi...

What do you understand by stepwise refinement of the program? The method of "Stepwise refinement" means to take an object and move it from a general perspective to a exact leve

New execution of listpermutations, Update the permutation algorithm from th...

Update the permutation algorithm from the text to obtainthe correct list of permutations even if the string haves repeated letters. For example, if you call ListPermutations on the

Determine the current allocation state and granted process, An operating sy...

An operating system contains 3 resource classes. The number of resource units in these classes is 7, 7 and 10. The current resource allocation state is shown below:

What are the disadvantages of bespoke software, What are the disadvantages ...

What are the disadvantages of Bespoke Software -  Very dependent on suppliers of the software; if they go out of business there would be little or no support if problems occ

Addition of array elements using two processors, Q. Addition of array eleme...

Q. Addition of array elements using two processors? In this example we have to find sum of all elements of an array A of size n. We will divide n elements in 2 groups of roughl

Write the html code to web page to insert an image, Write the HTML code to ...

Write the HTML code to accomplish the web page to insert an image onto a page using good.gif as image and having "welcome" as the ALT text. The HTML code to accomplish the web

Temporary registers w and z, Why the temporary registers W and Z are named ...

Why the temporary registers W and Z are named so I mean we start from A,B,C,D,E then H and L coz H stands for higher bit nd L for lower bit of the address pointed by memory pointer

Explain the term- viruses, Explain the term- Viruses Use of firewalls a...

Explain the term- Viruses Use of firewalls and ant-virus software to prevent viruses entering a computer. It's also sensible not to open attachments/emails from "unknown" sourc

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd