...
GATE 2005
December 19, 2024
Logical-Reasoning
December 20, 2024
GATE 2005
December 19, 2024
Logical-Reasoning
December 20, 2024

GATE 2005

Question 3

A common property of logic programming languages and functional languages is:

A
both are procedural languages
B
both are based on λ-calculus
C
both are declarative
D
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.

Leave a Reply

Your email address will not be published. Required fields are marked *