Question map
Which one among the following is NOT a non-procedural computer language?
Explanation
Non-procedural languages, also known as declarative languages, focus on specifying 'what' the program should accomplish rather than the sequential steps of 'how' to do it [1]. These primarily include functional and logic programming paradigms [1]. LISP is a classic functional language used for symbolic manipulation, while Prolog is the most prominent logic programming language [1]. ML (Meta Language) is also a well-known functional programming language. In contrast, Python is primarily classified as an imperative and procedural language, although it supports multiple paradigms including object-oriented and functional features. While modern languages often blend paradigms, Python's core execution model is based on a series of commands and state changes, making it the least 'non-procedural' among the given options. Therefore, Python is the correct answer as it is fundamentally a procedural/imperative language.
Sources
- [1] https://en.wikipedia.org/wiki/Nonprocedural_language