Back to the 2022 paper

Module 1: Introduction and Search Techniques

20227m

Consider the Water Jug problem as stated here. "You are given two jugs, a 4-gallon one and a 3-gallon one. Neither has any measuring marker on it. There is a pump that can be used to fill the jugs with water. How can you get exactly 2 gallons of water into the 4-gallon jug?" Represent this as a problem in State Space Search and state its Production Rules. Show at least one solution to this problem.

Similar questions