recategorized by
12,351 views
13 votes
13 votes

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

  1. both are procedural languages 

  2. both are based on $\lambda$-calculus

  3. both are declarative

  4. both use Horn-clauses

recategorized by

3 Answers

Best answer
10 votes
10 votes

Answer : both are declarative
Major logic programming language families include Prolog, Answer set programming (ASP) and Datalog. In all of these languages, rules are written in the form of clauses
Prolog is a Declarative Language .
Functional programming is a declarative programming paradigm, which means programming is done with expressions or declarations instead of statements.
Reference : for both that Prolog is a Declarative Language .and comes under logic programming languages and Functional programming is a declarative programming paradigm is Here

selected by
6 votes
6 votes

Answer is A) Both are Declarative 

Answer:

Related questions