AFortran
BProlog
CC
DCobol
Answer:
B. Prolog
Read Explanation:
PROLOG (Programming in Logic) is the primary programming language used for Artificial Intelligence applications. It is a high-level programming language that is particularly well-suited for tasks involving symbolic reasoning, knowledge representation, and logical inference - all core components of AI systems.
Key Features of PROLOG:
Based on formal logic and symbolic computation
Excellent for pattern matching and automated reasoning
Widely used in expert systems, natural language processing, and theorem proving
Employs declarative programming approach
Why Other Options Are Incorrect:
FORTRAN: Primarily designed for mathematical and scientific computing, not AI applications
C: A general-purpose procedural programming language, not specifically designed for AI
COBOL: Business-oriented language mainly used for data processing in business applications
PROLOG remains one of the foundational languages in AI development, alongside other modern AI languages like Python and Lisp.
