• Logic Programming Skills Quiz Form

    Logic Programming Skills Quiz Form
  • Which of the following is a fact in Prolog?*
  • What does the following Prolog query return? ?- member(X, [a, b, c]).*
  • In logic programming, what is unification?*
  • Which of the following is a recursive rule in Prolog?*
  • What is the result of the following query? ?- append([1,2], [3,4], X).*
  • Given the rule: even(0). even(X) :- X > 0, Y is X-2, even(Y). What will the query ?- even(4). return?*
  • Should be Empty:
Select theme: