Subject

    Computer Science

    Topic

    Artificial Intelligence

    PROLOG answers a query mainly by ____.

    a)
    forward chaining from all facts
    b)
    backward chaining from the goal, searching depth-first
    c)
    breadth-first search over all rules
    d)
    random sampling

    Explanation

    It starts from the query and tries to prove it by finding rules whose head matches, exploring them depth-first.

    Find Tutors

    View all Tutors