Answer: Prolog is a declarative programming language.
This means that in prolog, you do not write out what the computer should do
line by line, as in procedural language such as C and Java. The
general idea behind declarative language is that you describe a situation.
Based on this code, the interpreter or compiler will tell you a solution in the
case of prolog, it will tell you whether a prolog sentence is true or not and,
if it contains variables, what the values of the variables need to be
Prolog is most
useful in the areas related to Artificial Intelligence research.
Post a Comment