McqkartGet appPractise

Which of the following computer languages is used for artificial intelligence?

APROLOG ✓ Correct
BFORTRAN
CC
DCOBOL
Correct answer: (A) PROLOG
Explanation

PROLOG stands for Programming in Logic and is a computer language strongly associated with artificial intelligence.

It was developed by Alain Colmerauer and his team at Marseille, France, in 1972.

PROLOG is a declarative logic-programming language: the programmer states facts and rules, and the system infers conclusions.

It is widely used in natural language processing, expert systems, and automated theorem proving.

FORTRAN (Formula Translation), created in the 1950s, is used mainly for scientific and numerical computation.

COBOL (Common Business Oriented Language) is designed for business and administrative data processing.

C is a general-purpose procedural language developed by Dennis Ritchie at Bell Labs and is foundational for system programming.

LISP is another classic artificial-intelligence language, historically paired with PROLOG in AI work.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →