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

JAVA, HOW WAS JAVA INVENTED?

HOW WAS JAVA INVENTED?

Explain control word, What is control word? A control word is a word wh...

What is control word? A control word is a word whose individual bits show the various control signals.

What are the limitations of a cyclotron, Q. What are the limitations of a c...

Q. What are the limitations of a cyclotron? Limitations (i) Maintaining a consistent magnetic field over a large area of the Dees is difficult. (ii) At high rapidity

Explain how does cpu perform read and write operation, Q. Explain how does...

Q. Explain how does CPU perform Read and Write operation on peripheral device taking suitable example in case of Synchronous Technique.

Version control systems, The next major set of tasks to tackle are delete a...

The next major set of tasks to tackle are delete and update. Version control systems typically version updates to a ?le and only store the differences between the ?les. Two system

Write a perl script, Write a PERL script which takes a file named input.txt...

Write a PERL script which takes a file named input.txt as an input and processes it. The input file has the following format: firstname lastname: pass/fail score%. A sample input f

What is a structure, What is a structure? A structure is a collection o...

What is a structure? A structure is a collection of variables under a single name. These variables can be of different types, and each has a name which is used to select it fro

Describe loading disk operating system, Q. Describe Loading Disk Operating ...

Q. Describe Loading Disk Operating System? Different version of DOS, such as 2.0, 3.0, 3.2, 4.0, 5.0, 6.0, 6.2, 6.22, 7.0, 7.2 are present. The newer versions have additional

What is dithering, Q. What is Dithering? CMYK provides only 8 colours (...

Q. What is Dithering? CMYK provides only 8 colours (C, M, Y K, Violet= C + M, Orange= M + Y, Green = C + Y, and colour of paper itself!). What about other colours?  For these t

What is optical mark recognition, Optical mark recognition (OMR)  OMR ...

Optical mark recognition (OMR)  OMR technology scans a printed form and reads pre-defined positions (where specific fields have been filled in for instance ?-?or _); system re

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