

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Course: CS 420 - Artificial Intelligence Class 18CTT – Term I/20 20 - 2021
Question 1. The N - queens problem requires you to place N queens on an N N chessboard such that no queen attacks another queen. (A queen attacks any piece in the same row or column or diagonal). Here are some important facts:
d) Use some hill-climbing variant that can lead to a solution. Draw the search tree from S (Only draw the branches that lead to a solution; for each node on the tree, write down its h ( ) value). There are multiple ways that lead to solutions. Following are the only two configurations which exist for the 4 queen’s problem.
Question 2. Consider the game search tree shown below, in which a square denotes MAX’s move and a circle for MIN’s move. Write down the utility value for each node of the tree using Minimax algorithm. Show where alpha-beta pruning occurs by crossing out corresponding branches. Briefly explain for each case. Refer to the full explanation in http://web.cs.ucla.edu/~rosen/161/notes/alphabeta.html