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



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

Answer / chaitanya

When running the subgoals in a rule’s body, the parent goal is referred to the goal that caused the matching of the head of the current rule.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

How many types of variables are available in lisp? a) 1 b) 2 c) 3 d) 4

1 Answers  


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

0 Answers  


 Mention who is referred as a Member in Prolog?

1 Answers  


Which is used to represent the prompt in lisp? a) # b) $ c) & d) *

1 Answers  


Which is a string of boxes linked by arrow like pointers in LISP? a) Lisp b) List c) Variables d) Pointers

1 Answers  






What is the output of the following statement? * (setf whole-list ‘(monday tuesday wednesday thursday friday)) * (defun both-ends ()(setf whole-list (cons (first whole-list) (last whole-list)))) a) Monday b) BOTH-ENDS c) Friday Monday d) Monday Friday

1 Answers  


Explain List of artificial intelligence projects?

0 Answers  


 What is the output of the given statement in LISP? * (setf bins (make-array 4 :initial-element ‘e)) * (aref bins 0) a) E b) 0 c) 4 d) None of the mentioned

1 Answers  


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

1 Answers  


Which is used to build the lisp procedures?

1 Answers  


Explain what is Local Variables?

1 Answers  


 What is the value of last consequent form in the triggered clause? a) Value of the entire COND b) Trigger c) Consequent d) All of the mentioned

1 Answers  


Categories