Which algorithm will work backward from the goal to solve a problem? A. Forward chaining B. Backward chaining C. Hill-climb algorithm D. None of the mentioned

[amp_mcq option1=”Forward chaining” option2=”Backward chaining” option3=”Hill-climb algorithm” option4=”None of the mentioned” correct=”option2″]

The correct answer is B. Backward chaining.

Backward chaining is a problem-solving technique that starts with the goal and works backward to find the evidence needed to achieve that goal. It is a top-down approach to problem solving.

Forward chaining is a problem-solving technique that starts with the evidence and works forward to find the goal. It is a bottom-up approach to problem solving.

Hill-climb algorithm is a heuristic algorithm for finding the optimal solution to a problem. It works by iteratively improving a solution until it reaches a local optimum.

None of the mentioned algorithms work backward from the goal to solve a problem.