2024 · Q1
Which one among the following is NOT a non-procedural computer language?
general-scienceinformation-technology
- ALISP
- BPython
- CProlog
- DML
Explanation
Non-procedural (declarative) languages describe what the program should accomplish rather than the step-by-step procedure for doing it. LISP is a functional language, Prolog is a logic-programming language, and ML is a functional language — all three are classic non-procedural languages. Python, by contrast, is a general-purpose high-level language whose primary paradigms are procedural/imperative and object-oriented, where the programmer specifies the sequence of steps. Hence Python is the one that is NOT a non-procedural language.