AI Languages Interview Questions
Questions Answers Views Company eMail

 What is the output of the given statement in LISP? * (Setf part-bins (make-array ‘(4))) * (setf (aref part-bins 0) ‘nails); * (setf (aref part-bins 1) ‘nuts); * (setf (aref part-bins 2) ‘bolts) * (setf (aref part-bins 3) ‘bike) * (aref part-bins 2) * (setf (aref part-bins 4) ‘car) a) Nails b) Nuts c) 2 d) Error

1 1616

 Explain what is prolog programming language? What is it based on?

1 1492

Name the sector where prolog programming language is used?

1 5722

 Explain why PROLOG language is stated as a procedural language?

1 3050

Explain what is List structures in Prolog?

1 1662

 Why in prolog it is said that Program and Data are the same thing?

1 1693

 Mention who is referred as a Member in Prolog?

1 1848

 Mention what is the difference between = and = = in Prolog?

1 1705

 Explain why matching variable is important in Prolog? What is the method to match variables?

1 3775

 Explain what is recursion in Prolog?

1 1744

 Explain what is SWI-Prolog?

1 2142

Explain what is backtracking in Prolog?

1 2700

Mention what is the difference between Prolog and normal programming language?

1 4592

Mention what is Cut (!) in Prolog and what is the advantage of ‘Cut’ and ‘Negation’?

1 2231

Mention why you have to use “is” instead of “=” in Prolog when it comes to applying calculation logic?

1 1631


Post New AI Languages Questions

Un-Answered Questions { AI Languages }

What does the language of fopl consist of?

543


What are the different nlp tasks deep learning can be applied?

536


Explain List of programming languages for artificial intelligence?

970


What is the output of the given statement? * (defclass article() ((title :accessor article-title :initarg :title) (author :accessor article-author :initarg :author))) * (defclass computer-article (article) ()) * (defclass business-article (article) ()) * (defclass political-article (article) ()) * (setf articles (list (make-instance ‘business-article :title “Memory Prices down”))) a) Business article b) Political article c) Business article

863


Explain List of artificial intelligence projects?

917