Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (55.6k points)

a) FORTRAN

b) PROLOG

c) C

d) COBOL

e) None of the above

3 Answers

0 votes
by (119k points)

The correct answer is option (B) PROLOG. The computer languages mostly used for Artificial Intelligence are Prolog, Python, Java, Lisp, and C++. Prolong supports pattern matching, tree-based data structures for Artificial Intelligence. Prolog is a rule-based and declarative language that is efficient for fast prototyping for AI programs. You can enroll this Artificial Intelligence course in case you want to learn Artificial Intelligence.

Want to master A.I concepts? Sign up for this Artificial Intelligence Course!

0 votes
by (37.3k points)

The correct answer is b) PROLOG.

PROLOG - Programming in Logic.

It is primarily used for developing logic-based artificial intelligence applications, particularly for applications that require logical reasoning and knowledge representation, and it was created in the early 1970s. The key features of the prolog are the declarative nature, facts and rules, queries, and backtracking. It is used in Natural Language Processing (NLP) and automated theorem-proving. It is excellent for problems that require symbolic reasoning.

Other languages used in AI - are Python, Java, C++, and Lisp.

The other options in the question are not mainly used for AI:

  • FORTRAN is primarily used for scientific and engineering applications.
  • C is a general-purpose language, not specialized for AI.
  • COBOL is used for developing business applications, not AI.

0 votes
by (1.9k points)

Among these choices, Prolog is the best known language for AI.

Explanation About the other options

FORTRAN. Now, though this one was long used to have an active role in scientific computations and was never well known so much more about AI designs.

PROLOG is Specifically designed with an application to AI and which is utilized abundantly in symbolic reasoning as well as logical programming, for the development of an expert system, as in applying a natural language process, since the pattern-matching capabilities are bettered along with better of logical inference.

C. Although C is a general power language, which may well be used in AI, especially for performance-critical applications, this language is even less specialized for AI-specific tasks than Prolog.

COBOL This one is used primarily in business applications and isn't usually related to the domain of AI development.

 Prolog can be indeed relevant to the domain of AI.

In summary, among all the options provided, Prolog is the most relevant programming language in artificial intelligence.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...