Multiple choice

A common property of logic programming languages and functional languages is

  1. both are procedural language

  2. both are based on$\lambda$−calculus
  3. both are declarative

  4. all of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

$\lambda$-calculus" It provides the semantics for computation with functions so that properties of functional computation can be studied. Both the languages require declaration before use of any object. Both are procedural. So option (4) is correct. Both the languages are based on $\lambda$ calculus, procedural & declarative