All Exams Test series for 1 year @ ₹349 only
Question

Which one among the following is NOT a non-procedural computer language?

The correct answer is
Python

Identifying Non-Procedural Computer Languages

A non-procedural language, often called a declarative language, focuses on describing what the program should accomplish without specifying how to achieve it (the control flow). This contrasts with procedural languages, which detail the sequence of steps.

Language Classification

Let's analyze the given options:

  • LISP: Primarily a functional programming language, emphasizing expressions and recursion. It is considered non-procedural.
  • Python: A multi-paradigm language that supports procedural, object-oriented, and functional programming. However, it is predominantly used in an imperative/procedural style.
  • Prolog: A classic logic programming language based on formal logic. It is inherently non-procedural.
  • ML (Meta Language): A family of functional programming languages known for strong type systems and automatic memory management. It is non-procedural.

Conclusion

Among the options, LISP, Prolog, and ML are primarily categorized as non-procedural (declarative) languages. Python, while supporting functional features, is more commonly classified and used as a procedural/imperative language. Therefore, Python is the correct answer as it is NOT strictly a non-procedural language compared to the others listed.

Was this answer helpful?

Important Questions from Programming in C

  1. Which one is the reserved word in C language ?

  2. Which of the following is the feature(s) of High level programming languages?

    I. Portability

    II. Easy debugging

  3. Which of the following is a type of subprogram?

    I. Function

    II. Subroutine

  4. In object-oriented programming, which keyword ensures that a member variable belongs to the class itself rather than to any specific object, thereby allowing all instances to share a single copy of that variable?

  5. The condition num! = 65 cannot be replaced by

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App