SlideShare a Scribd company logo
1
CS 471 TEST ONE ( 2025)
INSTRUCTIONS
Answer all questions in the space provided. Anything written outside the provided space will
not be marked. Total Mark is 100. Marks are indicated beside each question. Time allowed
is 2 hours.
PERSONAL DETAILS
NAME:__________________________________________ ID:_______________________
Question One
For each sentence, indicate whether it is true or false. [1 mark each]
i. The Turing test evaluates a system’s ability to act rationally. _____________________
ii. A simple reflex agent can be rational. _______________________
iii. A “rational agent” is one that always performs the best action in a given situation.
__________________
iv. It is impossible for an agent to act rationally in a partially observable environment.
__________________
v. A nominally fully observable environment can be rendered partially observable due to
errors and noise in an agent's sensors. ______________________
vi. Chess and checkers are examples of games that have a partially observable environment.
_____________________
vii. An agent's environment is said to be stochastic if the next state is completely determined
by the current state and the agent’s action. ___________________
viii. Minimax with and without alpha-beta pruning can sometimes return different results.
____________________
ix. The alpha-beta algorithm is preferred to minimax because it computes the same answer as
minimax while usually doing so without examining as much of the game tree.
__________________
x. Alpha-beta pruning can alter the computed minimax value of the root of a game search tree.
__________________
xi. In A* search, the first path to the goal which is added to the fringe will always be optimal.
____________________
xii. A greedy search uses a heuristic function to expand the node that appears to be closest to
the goal. __________________
xiii. A search algorithm is complete if it always finds a solution if there is one.
____________________
xiv. The minimax algorithm (and its variant alpha-beta) can only be applied to zero-sum games.
(In zero-sum game, if one player wins, the other loses). ________________________
xv. In a game tree where each player has Y possible moves at every turn, the number of leaf
nodes at level X is given by YX. ____________________________
2
Question Two
a) A student is developing a robot that can roll a die. The robot grips and releases the die with
an arm that can also twist, and uses two cameras that can see the entire rolling area at once
for feedback. The goal is to develop methods that can roll the die in a way that increases
the chance of landing on a desired side of the die. Please consider the environment, that is
the robot, die, and rolling area. Is this environment (justify your answers!):
Fully observable? ____________________ Reason: ______________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Deterministic? ____________________ Reason: ________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Episodic? ____________________ Reason: ____________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Static? ____________________ Reason: _______________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Discrete? ____________________ Reason: _____________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[5 marks]
b) Now consider the case that the robot from (a) is being programmed to roll dice in a
competitive game. A group of robots are all collected into one area, and each given a die.
If a robot rolls a die that brings the sum of rolled values to an even number, that robot is
eliminated from the running. These games are played again and again with the robots that
haven’t been eliminated until only one winner remains. The rolling area has been expanded
to accommodate the other robots, and as a result, the robot now has to sweep this larger
area in order to see all of the already rolled dice. In addition, the robots don’t have to take
turns. The robot should be constantly strategizing over what kind of roll to perform
3
depending on the values of the other dice that have already been rolled. Which of the
answers to the previous question have been changed, and why? [2 marks]
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
c) Consider a computer program that is playing online tic-tac-toe. Is the environment of this
intelligent agent (justify your answers!):
Fully observable? ____________________ Reason: ______________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Deterministic? ____________________ Reason: ________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Static? ____________________ Reason: ______________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Discrete? ____________________ Reason: ___________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[4 marks]
4
d) Consider a self-driving car as an intelligent agent. Name two items for each of the PEAS
elements.
Performance measures: [1]_______________ __________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Environment:[1] __________________________________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Actuators: [1] ___________________________________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Sensors: [1] ____________________________________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[8 marks]
e) Consider a medical diagnosis system (A medical diagnosis system that helps healthcare
professionals identify diseases or conditions by analysing patient data to provide accurate
and timely diagnoses). Name item(s) for each of the PEAS elements.
Performance measure (2 items): [1] ___________________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Environment (2 items): [1] __________________________________________________
________________________________________________________________________
________________________________________________________________________
5
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
Actuator (1 item): [1] _____________________________________________________
________________________________________________________________________
________________________________________________________________________
Sensor (1 item): [1] ______________________________________________________
________________________________________________________________________
________________________________________________________________________
Question Three (Blind Search Methods)
a) When formulating a search problem in AI, six (6) pieces of information must be provided.
State these six pieces of information. [6 marks]
[1]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[3]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[4]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[5]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
[6]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
b) Consider the description of the farmer, wolf, goat and cabbage problem:
A farmer with his wolf, goat, and cabbage come to the edge of a river they wish to cross.
There is a boat at the river's edge, but, of course, only the farmer can row. The boat also
can carry only two things (including the rower) at a time. If the wolf is ever left alone with
the goat, the wolf will eat the goat; similarly, if the goat is left alone with the cabbage, the
goat will eat the cabbage.
Represent this as a search problem. [6 marks]
6
7
c) Consider the search tree below and answer the questions that follow.
i. What is the depth of node Q? _________________________
ii. How many open nodes are shown in the tree? _________________________
iii. How many closed nodes are shown in the tree? _________________________
[1 mark each]
d) Consider the search graph below, where S is the start node and G1 and G2 are goal nodes.
Arcs are labelled with the cost of traversing them and the estimated cost to a goal is reported
inside nodes.
8
Assume the following:
When placing expanded child nodes on a queue, the child nodes are placed
in alphabetical order.
We never generate child nodes that appear as ancestors of the current node in the search
tree.
For each of the search strategies listed below, indicate which goal state is reached (if any)
and list, in order, the states expanded. Show your working.
i. Breadth First [3 marks]
ii. Depth First [7 marks]
9
iii. Uniform Cost [5 marks]
Question Four (informed Search methods)
a) State briefly the difference between Informed search and blind search methods. [2 marks]
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
b) State briefly the main difference between Greedy Search and A* Search. [2 marks]
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
10
________________________________________________________________________
________________________________________________________________________
c) Assume the following search graph, where S is the start node and G1 and G2 are goal
nodes. Arcs are labelled with the cost of traversing them and the estimated cost to a goal is
reported inside nodes.
What is the order that greedy search will expand the nodes? (Show your working)
[3 marks]
11
What is the order that A* search will expand the nodes? (Show your working)
[7 marks]
Question Five (Adversarial Search)
a) State briefly the two rules to follow when carrying out alpha-beta pruning. [4 marks]
[1]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
12
________________________________________________________________________
[2]_____________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
b) Consider the problem of search in a three-player game. You may assume that there are no
alliances. The evaluation function now has three values (x; y; z), so that x is the value of
the state for player 1, y is the value for player 2 and z is the value for player 3. Player 1
moves first (at the root), followed by player 2 and then 3.
Extend minimax search to 3 player games in the figure below and complete the game tree
by filling in the backed-up value triples for all nodes. Indicate the move chosen by player
1 by circling the corresponding state. [4 marks]
c) Shown below is a game tree where the root node is a MAX node. Assuming that nodes are
searched left-to-right using the alpha-beta algorithm, which nodes would not be examined?
[8 marks]
13
Space for corrections
Space for rough work

More Related Content

PDF
Artificial Intelligence MCQ Part 1 | 50 AI MCQs | Multiple Choice Questions &...
PPTX
Midterm review for CS156
DOCX
SCSJ3553 - Artificial Intelligence Final Exam paper - UTM
PDF
Ai exam-2014-08-19-solutions
PPTX
module4 [Autosaved]Artificial Intelligent.pptx
PPTX
AI3391 Artificial Intelligence Session 20 partially observed games.pptx
PDF
SPIE Conference V3.0
PPT
Topic - 6 (Game Playing).ppt
Artificial Intelligence MCQ Part 1 | 50 AI MCQs | Multiple Choice Questions &...
Midterm review for CS156
SCSJ3553 - Artificial Intelligence Final Exam paper - UTM
Ai exam-2014-08-19-solutions
module4 [Autosaved]Artificial Intelligent.pptx
AI3391 Artificial Intelligence Session 20 partially observed games.pptx
SPIE Conference V3.0
Topic - 6 (Game Playing).ppt

Similar to Introduction to artificial intelligence test.pdf (20)

DOCX
QB - Aptitude test questions, engineering medical entrance sample ...
PPTX
upload3.pptx
PPT
484-7.ppt
PPTX
Capgemini 1
PDF
CS3491_Artificial Intelligence and data science _ QB
PDF
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
PPTX
AI3391 ARTIFICAL INTELLIGENCE Session 3 Nature of environment.pptx
DOCX
Soft computing one marks Q&A 50
PPT
GamePlaying numbert 23256666666666666662
PDF
Cognitive systems institute talk 8 june 2017 - v.1.0
PPTX
Physics of Intelligence
PPT
PDF
Ee693 questionshomework
PDF
20181212 ibm aot
PPT
Artificial Intelligence AI Topics History and Overview
PPT
Artificial Intelligence AI Topics History and Overview
PDF
Gate Computer Science Solved Paper 2007
PDF
8th semester Computer Science and Information Science Engg (2013 December) Qu...
PDF
Pgcet Computer Science 2015 question paper
PPT
Lecture4 (1)
QB - Aptitude test questions, engineering medical entrance sample ...
upload3.pptx
484-7.ppt
Capgemini 1
CS3491_Artificial Intelligence and data science _ QB
ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
AI3391 ARTIFICAL INTELLIGENCE Session 3 Nature of environment.pptx
Soft computing one marks Q&A 50
GamePlaying numbert 23256666666666666662
Cognitive systems institute talk 8 june 2017 - v.1.0
Physics of Intelligence
Ee693 questionshomework
20181212 ibm aot
Artificial Intelligence AI Topics History and Overview
Artificial Intelligence AI Topics History and Overview
Gate Computer Science Solved Paper 2007
8th semester Computer Science and Information Science Engg (2013 December) Qu...
Pgcet Computer Science 2015 question paper
Lecture4 (1)
Ad

Recently uploaded (20)

PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Insiders guide to clinical Medicine.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
Classroom Observation Tools for Teachers
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial diseases, their pathogenesis and prophylaxis
Renaissance Architecture: A Journey from Faith to Humanism
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
VCE English Exam - Section C Student Revision Booklet
Insiders guide to clinical Medicine.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial disease of the cardiovascular and lymphatic systems
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Computing-Curriculum for Schools in Ghana
Classroom Observation Tools for Teachers
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O5-L3 Freight Transport Ops (International) V1.pdf
Ad

Introduction to artificial intelligence test.pdf

  • 1. 1 CS 471 TEST ONE ( 2025) INSTRUCTIONS Answer all questions in the space provided. Anything written outside the provided space will not be marked. Total Mark is 100. Marks are indicated beside each question. Time allowed is 2 hours. PERSONAL DETAILS NAME:__________________________________________ ID:_______________________ Question One For each sentence, indicate whether it is true or false. [1 mark each] i. The Turing test evaluates a system’s ability to act rationally. _____________________ ii. A simple reflex agent can be rational. _______________________ iii. A “rational agent” is one that always performs the best action in a given situation. __________________ iv. It is impossible for an agent to act rationally in a partially observable environment. __________________ v. A nominally fully observable environment can be rendered partially observable due to errors and noise in an agent's sensors. ______________________ vi. Chess and checkers are examples of games that have a partially observable environment. _____________________ vii. An agent's environment is said to be stochastic if the next state is completely determined by the current state and the agent’s action. ___________________ viii. Minimax with and without alpha-beta pruning can sometimes return different results. ____________________ ix. The alpha-beta algorithm is preferred to minimax because it computes the same answer as minimax while usually doing so without examining as much of the game tree. __________________ x. Alpha-beta pruning can alter the computed minimax value of the root of a game search tree. __________________ xi. In A* search, the first path to the goal which is added to the fringe will always be optimal. ____________________ xii. A greedy search uses a heuristic function to expand the node that appears to be closest to the goal. __________________ xiii. A search algorithm is complete if it always finds a solution if there is one. ____________________ xiv. The minimax algorithm (and its variant alpha-beta) can only be applied to zero-sum games. (In zero-sum game, if one player wins, the other loses). ________________________ xv. In a game tree where each player has Y possible moves at every turn, the number of leaf nodes at level X is given by YX. ____________________________
  • 2. 2 Question Two a) A student is developing a robot that can roll a die. The robot grips and releases the die with an arm that can also twist, and uses two cameras that can see the entire rolling area at once for feedback. The goal is to develop methods that can roll the die in a way that increases the chance of landing on a desired side of the die. Please consider the environment, that is the robot, die, and rolling area. Is this environment (justify your answers!): Fully observable? ____________________ Reason: ______________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Deterministic? ____________________ Reason: ________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Episodic? ____________________ Reason: ____________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Static? ____________________ Reason: _______________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Discrete? ____________________ Reason: _____________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [5 marks] b) Now consider the case that the robot from (a) is being programmed to roll dice in a competitive game. A group of robots are all collected into one area, and each given a die. If a robot rolls a die that brings the sum of rolled values to an even number, that robot is eliminated from the running. These games are played again and again with the robots that haven’t been eliminated until only one winner remains. The rolling area has been expanded to accommodate the other robots, and as a result, the robot now has to sweep this larger area in order to see all of the already rolled dice. In addition, the robots don’t have to take turns. The robot should be constantly strategizing over what kind of roll to perform
  • 3. 3 depending on the values of the other dice that have already been rolled. Which of the answers to the previous question have been changed, and why? [2 marks] ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ c) Consider a computer program that is playing online tic-tac-toe. Is the environment of this intelligent agent (justify your answers!): Fully observable? ____________________ Reason: ______________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Deterministic? ____________________ Reason: ________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Static? ____________________ Reason: ______________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Discrete? ____________________ Reason: ___________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [4 marks]
  • 4. 4 d) Consider a self-driving car as an intelligent agent. Name two items for each of the PEAS elements. Performance measures: [1]_______________ __________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Environment:[1] __________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Actuators: [1] ___________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Sensors: [1] ____________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [8 marks] e) Consider a medical diagnosis system (A medical diagnosis system that helps healthcare professionals identify diseases or conditions by analysing patient data to provide accurate and timely diagnoses). Name item(s) for each of the PEAS elements. Performance measure (2 items): [1] ___________________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Environment (2 items): [1] __________________________________________________ ________________________________________________________________________ ________________________________________________________________________
  • 5. 5 [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Actuator (1 item): [1] _____________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Sensor (1 item): [1] ______________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Question Three (Blind Search Methods) a) When formulating a search problem in AI, six (6) pieces of information must be provided. State these six pieces of information. [6 marks] [1]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [3]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [4]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [5]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ [6]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ b) Consider the description of the farmer, wolf, goat and cabbage problem: A farmer with his wolf, goat, and cabbage come to the edge of a river they wish to cross. There is a boat at the river's edge, but, of course, only the farmer can row. The boat also can carry only two things (including the rower) at a time. If the wolf is ever left alone with the goat, the wolf will eat the goat; similarly, if the goat is left alone with the cabbage, the goat will eat the cabbage. Represent this as a search problem. [6 marks]
  • 6. 6
  • 7. 7 c) Consider the search tree below and answer the questions that follow. i. What is the depth of node Q? _________________________ ii. How many open nodes are shown in the tree? _________________________ iii. How many closed nodes are shown in the tree? _________________________ [1 mark each] d) Consider the search graph below, where S is the start node and G1 and G2 are goal nodes. Arcs are labelled with the cost of traversing them and the estimated cost to a goal is reported inside nodes.
  • 8. 8 Assume the following: When placing expanded child nodes on a queue, the child nodes are placed in alphabetical order. We never generate child nodes that appear as ancestors of the current node in the search tree. For each of the search strategies listed below, indicate which goal state is reached (if any) and list, in order, the states expanded. Show your working. i. Breadth First [3 marks] ii. Depth First [7 marks]
  • 9. 9 iii. Uniform Cost [5 marks] Question Four (informed Search methods) a) State briefly the difference between Informed search and blind search methods. [2 marks] ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ b) State briefly the main difference between Greedy Search and A* Search. [2 marks] ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________
  • 10. 10 ________________________________________________________________________ ________________________________________________________________________ c) Assume the following search graph, where S is the start node and G1 and G2 are goal nodes. Arcs are labelled with the cost of traversing them and the estimated cost to a goal is reported inside nodes. What is the order that greedy search will expand the nodes? (Show your working) [3 marks]
  • 11. 11 What is the order that A* search will expand the nodes? (Show your working) [7 marks] Question Five (Adversarial Search) a) State briefly the two rules to follow when carrying out alpha-beta pruning. [4 marks] [1]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________
  • 12. 12 ________________________________________________________________________ [2]_____________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ b) Consider the problem of search in a three-player game. You may assume that there are no alliances. The evaluation function now has three values (x; y; z), so that x is the value of the state for player 1, y is the value for player 2 and z is the value for player 3. Player 1 moves first (at the root), followed by player 2 and then 3. Extend minimax search to 3 player games in the figure below and complete the game tree by filling in the backed-up value triples for all nodes. Indicate the move chosen by player 1 by circling the corresponding state. [4 marks] c) Shown below is a game tree where the root node is a MAX node. Assuming that nodes are searched left-to-right using the alpha-beta algorithm, which nodes would not be examined? [8 marks]