Explain what is SWI-Prolog?



 Explain what is SWI-Prolog?..

Answer / chaitanya

SWI-Prolog is a free prolog compiler licensed under GPL, targeting primarily the research and education.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

What will happen if the value of all the test-forms are nil? a) Nothing b) COND form is nil c) Both a & b d) None of the mentioned

1 Answers  


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

0 Answers  


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

1 Answers  


Which has a template that calls for particularly peculiar argument evaluation? a) COND b) Consequent c) Trigger d) Sphere

1 Answers  


Explain what is CLOS in LISP? What are the goals of the common lisp object system?

1 Answers  






 What is the output of the given statement? * (defstruct triangle (base 0) (altitude 0)) * (defun area (figure) (cond ((triangle-p figure) (* 1/2 (triangle-base figure) (triangle-altitude figure))))) * (setf triangle (make-triangle :base 2 :altitude 3)) * (area triangle) a) Triangle b) 7 c) 6 d) 10

1 Answers  


 What is the programming structure for LISP?

1 Answers  


 In “cuts” what is the Parent goal in Prolog?

1 Answers  


Explain what is LISP constants?

1 Answers  


 Which notation facilitates uniformity in lisp? a) Prefix b) Postfix c) Infix d) None of the mentioned

1 Answers  


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

1 Answers  


 Is it possible to call LISP functions from other languages?

1 Answers  


Categories