GATE 2005
December 19, 2024Logical-Reasoning
December 20, 2024GATE 2005
Question 3 |
A common property of logic programming languages and functional languages is:
both are procedural languages | |
both are based on λ-calculus | |
both are declarative | |
both use Horn-clauses |
Question 3 Explanation:
Functional and logic programming languages are also called declarative languages; programs in these languages are said to describe (declaratively) what to do and not (operationally) how to do it.
Correct Answer: C
Question 3 Explanation:
Functional and logic programming languages are also called declarative languages; programs in these languages are said to describe (declaratively) what to do and not (operationally) how to do it.