Language model used in LISP is _________ .

2015

Language model used in LISP is _________ .

  1. A.

    Functional programming

  2. B.

    Logic programming

  3. C.

    Object oriented programming

  4. D.

    All of the above

Attempted by 406 students.

Show answer & explanation

Correct answer: A

Answer: Functional programming

Explanation:

  • Lisp emphasizes functions as first-class values and uses lambda expressions, reflecting a functional programming model.

  • Code and data share the same list-based representation (homoiconicity), which supports functional manipulation of programs.

  • While other paradigms (for example, logic programming or object-oriented programming via extensions) can be expressed in Lisp, they are not the language's primary model.

Key takeaway: Lisp is best known as a functional programming language.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…