UPSC CAPF (AC) 2024 Paper I · Question 1
Question 1 of the UPSC CAPF (AC) 2024 Paper I (4 August 2024). Try it first, then open the answer and explanation.
Which one among the following is NOT a non-procedural computer language?
- LISP
- Python
- Prolog
- ML
निम्नलिखित में से कौन-सी, एक अप्रक्रियात्मक (non-procedural) कंप्यूटर भाषा नहीं है?
- LISP
- Python
- Prolog
- ML
Show answer
Answer: (2) Python
उत्तर: (2) Python
Non-procedural (declarative) languages describe what result is wanted rather than the step-by-step procedure: LISP and ML are functional languages and Prolog is a logic-programming language. Python is essentially a procedural (imperative) language in which programs are written as ordered statements, loops and functions, so it is the one that is NOT non-procedural.