Midterm Examination. CSCI 561: Artificial Intelligence

Similar documents
UMBC CMSC 671 Midterm Exam 22 October 2012

CS 540: Introduction to Artificial Intelligence

Midterm. CS440, Fall 2003

15-381: Artificial Intelligence Assignment 3: Midterm Review

CSE 473 Midterm Exam Feb 8, 2018

CS188 Spring 2010 Section 3: Game Trees

CS188 Spring 2010 Section 3: Game Trees

UMBC 671 Midterm Exam 19 October 2009

CSC 396 : Introduction to Artificial Intelligence

mywbut.com Two agent games : alpha beta pruning

UNIVERSITY of PENNSYLVANIA CIS 391/521: Fundamentals of AI Midterm 1, Spring 2010

1. Compare between monotonic and commutative production system. 2. What is uninformed (or blind) search and how does it differ from informed (or

Playing Games. Henry Z. Lo. June 23, We consider writing AI to play games with the following properties:

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46

Your Name and ID. (a) ( 3 points) Breadth First Search is complete even if zero step-costs are allowed.

CS 171, Intro to A.I. Midterm Exam Fall Quarter, 2016

Artificial Intelligence Lecture 3

ARTIFICIAL INTELLIGENCE (CS 370D)

CS188 Spring 2014 Section 3: Games

CS188: Artificial Intelligence, Fall 2011 Written 2: Games and MDP s

5.4 Imperfect, Real-Time Decisions

Problem 1. (15 points) Consider the so-called Cryptarithmetic problem shown below.

CS 229 Final Project: Using Reinforcement Learning to Play Othello

CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2. Assigned: Monday, February 6 Due: Saturday, February 18

CS-171, Intro to A.I. Mid-term Exam Winter Quarter, 2015

CS 1571 Introduction to AI Lecture 12. Adversarial search. CS 1571 Intro to AI. Announcements

COMP9414: Artificial Intelligence Adversarial Search

Adversarial Search 1

Artificial Intelligence. Minimax and alpha-beta pruning

Announcements. Homework 1 solutions posted. Test in 2 weeks (27 th ) -Covers up to and including HW2 (informed search)

Foundations of Artificial Intelligence

CMPUT 396 Tic-Tac-Toe Game

CS510 \ Lecture Ariel Stolerman

Project 1. Out of 20 points. Only 30% of final grade 5-6 projects in total. Extra day: 10%

V. Adamchik Data Structures. Game Trees. Lecture 1. Apr. 05, Plan: 1. Introduction. 2. Game of NIM. 3. Minimax

Algorithms for Data Structures: Search for Games. Phillip Smith 27/11/13

CS 771 Artificial Intelligence. Adversarial Search

6.034 Quiz 1 October 13, 2005

Lecture 14. Questions? Friday, February 10 CS 430 Artificial Intelligence - Lecture 14 1

Homework Assignment #2

Adversary Search. Ref: Chapter 5

Adversarial Search and Game- Playing C H A P T E R 6 C M P T : S P R I N G H A S S A N K H O S R A V I

CS61B Lecture #22. Today: Backtracking searches, game trees (DSIJ, Section 6.5) Last modified: Mon Oct 17 20:55: CS61B: Lecture #22 1

Computer Science and Software Engineering University of Wisconsin - Platteville. 4. Game Play. CS 3030 Lecture Notes Yan Shi UW-Platteville

Game-Playing & Adversarial Search

CSEP 573 Adversarial Search & Logic and Reasoning

Artificial Intelligence Search III

: Principles of Automated Reasoning and Decision Making Midterm

CS 2710 Foundations of AI. Lecture 9. Adversarial search. CS 2710 Foundations of AI. Game search

2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard

Generalized Game Trees

The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.

Written examination TIN175/DIT411, Introduction to Artificial Intelligence

2 person perfect information

Best of luck on the exam!

6.034 Quiz September Jake Barnwell Michaela Ennis Rebecca Kekelishvili. Vinny Chakradhar Phil Ferguson Nathan Landman

Computer Game Programming Board Games

Artificial Intelligence. 4. Game Playing. Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder

Adversarial Search. Human-aware Robotics. 2018/01/25 Chapter 5 in R&N 3rd Ø Announcement: Slides for this lecture are here:

Heuristics, and what to do if you don t know what to do. Carl Hultquist

CSE 473: Artificial Intelligence Fall Outline. Types of Games. Deterministic Games. Previously: Single-Agent Trees. Previously: Value of a State

Set 4: Game-Playing. ICS 271 Fall 2017 Kalev Kask

CS61B Lecture #33. Today: Backtracking searches, game trees (DSIJ, Section 6.5)

5.4 Imperfect, Real-Time Decisions

Comp th February Due: 11:59pm, 25th February 2014

CS 188: Artificial Intelligence Spring Announcements

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 2 February, 2018

CSC 380 Final Presentation. Connect 4 David Alligood, Scott Swiger, Jo Van Voorhis

For slightly more detailed instructions on how to play, visit:

COMP5211 Lecture 3: Agents that Search

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence

CS 188 Introduction to Fall 2014 Artificial Intelligence Midterm

Artificial Intelligence Ph.D. Qualifier Study Guide [Rev. 6/18/2014]

EXAMINATIONS 2002 END-YEAR COMP 307 ARTIFICIAL INTELLIGENCE. (corrected)

Parallel Randomized Best-First Search

Adversarial Search. Robert Platt Northeastern University. Some images and slides are used from: 1. CS188 UC Berkeley 2. RN, AIMA

Game-playing AIs: Games and Adversarial Search FINAL SET (w/ pruning study examples) AIMA

Game-Playing & Adversarial Search Alpha-Beta Pruning, etc.

Game Playing State-of-the-Art. CS 188: Artificial Intelligence. Behavior from Computation. Video of Demo Mystery Pacman. Adversarial Search

CS 5522: Artificial Intelligence II

Instability of Scoring Heuristic In games with value exchange, the heuristics are very bumpy Make smoothing assumptions search for "quiesence"

CS 4700: Artificial Intelligence

Games (adversarial search problems)

CS188 Spring 2011 Written 2: Minimax, Expectimax, MDPs

Programming Project 1: Pacman (Due )

game tree complete all possible moves

Foundations of AI. 5. Board Games. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard and Luc De Raedt SA-1

CS 188 Fall Introduction to Artificial Intelligence Midterm 1

Contents. Foundations of Artificial Intelligence. Problems. Why Board Games?

Applications of Artificial Intelligence and Machine Learning in Othello TJHSST Computer Systems Lab

Foundations of AI. 6. Board Games. Search Strategies for Games, Games with Chance, State of the Art

CMSC 671 Project Report- Google AI Challenge: Planet Wars

Module 3. Problem Solving using Search- (Two agent) Version 2 CSE IIT, Kharagpur

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence

CS 188: Artificial Intelligence

Foundations of Artificial Intelligence

Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am

Foundations of Artificial Intelligence

AI Approaches to Ultimate Tic-Tac-Toe

CS 32 Puzzles, Games & Algorithms Fall 2013

Transcription:

Midterm Examination CSCI 561: Artificial Intelligence October 10, 2002 Instructions: 1. Date: 10/10/2002 from 11:00am 12:20 pm 2. Maximum credits/points for this midterm: 100 points (corresponding to 35% of overall grade). 3. 4 questions. 4. Credits/points for each question is indicated in the brackets [ ] before the question. 5. No books (or other material) are allowed. 6. Attach extra sheets (available upon request) if required (write full name on each extra sheet). 7. Write down name and student ID on every sheet. 8. No questions during the exam. 9. When finished raise completed exam sheets until approached by proctor. 10. Adhere to the Academic Integrity code. 1 of 1

Midterm Examination CSCI 561: Artificial Intelligence October 10, 2002 Student ID: Last Name: First Name: Problem Score Max score (%) 1. 20 2. 25 3. 25 4. 30 Total score 100% 2 of 2

1. [20%] Search Methods. (a) [12%] The major four criteria for evaluating search methods are: time complexity, space complexity, optimality, and completeness. Using one or more of these criteria, attempt to justify the following statements as well as possible: (i) Iterative deepening search is preferred over breadth-first search. (ii) Bidirectional search is preferred over breadth-first search (iii) The A* algorithm is preferred over the hill-climbing method (b) [2%] Why worry about the complexity of a search algorithm? (c) [2%] Give at least two ways by which loop detection can be implemented (they may not need to be optimal). (d) [4%] Briefly describe how simulated annealing works. In particular, precise how the algorithm behaves at very high temperatures, and how it behaves at very low temperatures. 3 of 3

2. [25%] Game Playing. Consider the following game tree in which the evaluation function values are shown below each leaf node. Assume that the root node corresponds to the minimizing player. Assume that the search always visits children left-to-right. A Min B C D Max E F G H I J K 4 3 1 5 2 8 2 (a) [5%] Compute the backed-up values computed by the minimax algorithm. Show your answer by writing values at the appropriate nodes in the above tree. (b) [10%] Which nodes will not be examined by the alpha-beta pruning algorithm? (c) [10%] In general (not just for the above tree), if the search always visits children right-to-left instead of left-to-right, (i) The minimax value computed at the root will be changed. (just write down yes or no) (ii) The number of nodes pruned will be changed. (just write down yes or no) 4 of 4

3. [30%] Problem Solving. We are now trying to solve the miniature of Tower of Hanoi problem. There are 3 towers (A, B, C), and 2 disks (small one and large one). The purpose of this problem is to move both disks from the tower A to tower C (as illustrated in the figure below), subject to following conditions: You can move only one disk at a time You cannot put the large disk on top of the small disk. A B C A B C The possible state can be denoted as follows: a:(b c) where a is the state number, b is the tower number for the large disk, and c is the tower number for the small disk. For example 3:(1 3) implies that the large disk is on tower 1 and the small disk is on tower 3 in state 3. If we use this notation, the following nine states are possible. 1:(1 1), 2:(1:2), 3:(1 3), 4:(2 1), 5:(2 2), 6:(2 3), 7:(3 1), 8:(3 2), 9:(3 3) (a) [5%] Which ones are the initial state and goal state? (b) [10%] Enumerate all possible moves between states. For example, 1->2, 3 means that it is possible to transition from state 1 to state 2 or state 3. 5 of 5

(c) [10%] Find a solution using depth-first search. Show the search tree and the order in which it is traversed. Assume that cycles are detected and eliminated by never expanding a node containing a state that is repeated on the path back to the root. 6 of 6

4. [30%] Propositional Logic. (a) [10%] Define the following precisely (i) Validity of a sentence (ii) Satisfiability of a sentence (b) [20%] Assume that the following sentences are in our Knowledge Base (~A denotes the negation of A): ~A ~A => ~B and ~C ~B => ~D and ~E ~C => D or E or F Using the inference rules that we studied in class for propositional logic, prove that F is true. When you derive F, specify exactly the sequence of inference rules that you used. 7 of 7