COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is TRUE?
A
COBOL is the language meant for scientific research
B
ADA is a logic programming language
C
LISP is a dialect of SCHEME
D
Artificial Intelligence is the area where Prolog is applicable
Explanation: 

Detailed explanation-1: -Prolog is used in some areas like database, natural language processing, artificial intelligence, but it is pretty useless in some areas like a numerical algorithm or instance graphics. In artificial intelligence applications, prolog is used.

Detailed explanation-2: -Prolog stands for programming in logic. it is a logic programming language for artificial intelligence. An artificial intelligence developed in Prolog will examine the link between a fact, a true statement, and a rule, a conditional statement, in order to come up with a question, or end objective.

Detailed explanation-3: -Prolog is a logic programming language associated with artificial intelligence and computational linguistics. Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages.

There is 1 question to complete.