Midterm Examination CS540: Introduction to Artificial Intelligence

Similar documents
CS 188 Introduction to AI Fall 2005 Stuart Russell Final

Mock Exam Künstliche Intelligenz-1. Different problems test different skills and knowledge, so do not get stuck on one problem.

CS 188 Introduction to Fall 2007 Artificial Intelligence Midterm

Introduction to Spring 2009 Artificial Intelligence Midterm Exam

Final exam of ECE 457 Applied Artificial Intelligence for the Spring term 2007.

CSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9

Propositional Logic: Bottom-Up Proofs

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

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010

CS540 ANSWER SHEET

CS221 Practice Midterm

Guest Speaker. CS 416 Artificial Intelligence. First-order logic. Diagnostic Rules. Causal Rules. Causal Rules. Page 1

CS 4700: Foundations of Artificial Intelligence

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

Introduction to Fall 2008 Artificial Intelligence Midterm Exam

Final exam of ECE 457 Applied Artificial Intelligence for the Fall term 2007.

Logic: Top-down proof procedure and Datalog

CS 730/730W/830: Intro AI

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

CS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning.

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Final. Introduction to Artificial Intelligence. CS 188 Spring You have approximately 2 hours and 50 minutes.

Tentamen TDDC17 Artificial Intelligence 20 August 2012 kl

Name: UW CSE 473 Final Exam, Fall 2014

6.825 Techniques in Artificial Intelligence. Logic Miscellanea. Completeness and Incompleteness Equality Paramodulation

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

CS 4100 // artificial intelligence. Recap/midterm review!

Introduction to Spring 2006 Artificial Intelligence Practice Final

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

Final. CS 188 Fall Introduction to Artificial Intelligence

The Wumpus Game. Stench Gold. Start. Cao Hoang Tru CSE Faculty - HCMUT

Midterm. Introduction to Artificial Intelligence. CS 188 Summer You have approximately 2 hours and 50 minutes.

Examination Artificial Intelligence Module Intelligent Interaction Design December 2014

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Overview. 1 Introduction. 2 Preliminary Background. 3 Unique Game. 4 Unique Games Conjecture. 5 Inapproximability Results. 6 Unique Game Algorithms

Propositional logic II.

AI Programming CS S-09 Knowledge Representation

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic

Propositional Reasoning

CS360 Homework 12 Solution

cse 311: foundations of computing Fall 2015 Lecture 6: Predicate Logic, Logical Inference

Deductive Systems. Lecture - 3

CS 520: Introduction to Artificial Intelligence. Review

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Logic: Intro & Propositional Definite Clause Logic

Introduction to Spring 2009 Artificial Intelligence Midterm Solutions

Logical Agents (I) Instructor: Tsung-Che Chiang

Lecture 5 : Proofs DRAFT

KE/Tableaux. What is it for?

Inference in first-order logic

Alpha-Beta Pruning: Algorithm and Analysis

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Thursday 17th May 2018 Time: 09:45-11:45. Please answer all Questions.

cis32-ai lecture # 18 mon-3-apr-2006

CSE 473: Artificial Intelligence Autumn Topics

Inference in first-order logic. Production systems.

Introduction to Arti Intelligence

CS 771 Artificial Intelligence. Propositional Logic

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz )

Logik für Informatiker Formal proofs for propositional logic

Alpha-Beta Pruning: Algorithm and Analysis

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

Andrew/CS ID: Midterm Solutions, Fall 2006

CS 380: ARTIFICIAL INTELLIGENCE LOGICAL AGENTS. Santiago Ontañón

CS 4700: Foundations of Artificial Intelligence Homework 2 Solutions. Graph. You can get to the same single state through multiple paths.

AUTOMATED REASONING. Agostino Dovier. Udine, October 2, Università di Udine CLPLAB

Logical Agent & Propositional Logic

Adam Blank Spring 2017 CSE 311. Foundations of Computing I

Midterm: CS 6375 Spring 2018

Sampling from Bayes Nets

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

CSC242: Intro to AI. Lecture 11. Tuesday, February 26, 13

First Order Logic: Syntax and Semantics

Final. CS 188 Fall Introduction to Artificial Intelligence

CS188 Fall 2000 Solutions to Midterm

Artificial Intelligence Chapter 7: Logical Agents

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

Proof Rules for Correctness Triples

Inference Methods In Propositional Logic

CS 188: Artificial Intelligence Spring 2007

Intelligent Agents. Pınar Yolum Utrecht University

CS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón

CS 662 Sample Midterm

) (d o f. For the previous layer in a neural network (just the rightmost layer if a single neuron), the required update equation is: 2.

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Logical Agent & Propositional Logic

A Quick Lesson on Negation

CS 730/830: Intro AI. 1 handout: slides. Wheeler Ruml (UNH) Lecture 11, CS / 15. Propositional Logic. First-Order Logic

Inference in first-order logic

Principles of AI Planning

Alpha-Beta Pruning: Algorithm and Analysis

Midterm II. Introduction to Artificial Intelligence. CS 188 Spring ˆ You have approximately 1 hour and 50 minutes.

CS:4420 Artificial Intelligence

Adversarial Search & Logic and Reasoning

Automated Reasoning Lecture 2: Propositional Logic and Natural Deduction

CS 380: ARTIFICIAL INTELLIGENCE

Discrete Mathematics Exam File Spring Exam #1

SF2972 Game Theory Written Exam with Solutions June 10, 2011

Introduction to Machine Learning Midterm Exam

Parts 3-6 are EXAMPLES for cse634

Transcription:

Midterm Examination CS540: Introduction to Artificial Intelligence November 1, 2005 Instructor: Jerry Zhu CLOSED BOOK (One letter-size notes allowed. Turn it in with the exam) LAST (FAMILY) NAME: FIRST NAME: Problem Score Max Score: 5 points each 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Total 100 1

1. A* search Run A* on the following graph, starting from S. Write done the order of *expanded* states, and determine which goal (G1 or G2) is reached. Numbers on the edges are the edge costs. The heuristic function h is shown within each state. Everything being equal, expand states in alphabetical order. S 1 3 2 A 3 8 4 5 G1 0 B 2 9 G2 0 2. Search heuristics If h1 and h2 are admissible heuristics, circle all admissible heuristics below: A. 0.1*h1 + 0.9*h2 B. min(h1, h2) C. min(h1, 2*h2) D. min(h1, 0.5*h2) E. h1 h2 2

3. Local minimum In the following graph coloring problem, each node is either labeled + or -. The score of the graph is the number of edges connecting two nodes with the SAME color. A. If our objective is such that no adjacent nodes have the same color, should we minimize or maximize the score? B. If the successor function is to change the label of a SINGLE node, in greediest hill climbing which node should we change in the following graph? Mark that node. + + - + + + + - + 4. Constraint Satisfaction Problem In the following graph with 100 nodes, each node can take label + or -. The constraints are that adjacent nodes cannot have the same label. The left-most node is already labeled +. The remaining nodes have candidate label list {+, -}. + A. If we run forward checking after the left-most node is labeled, what will happen? B. If we run constraint propagation (2-consistency) after the left-most node is labeled, what will happen? 3

5. Gradient descent Assume we want to find the minimum of f(x)=x 4. We use gradient descent by iterating x x 0.1 * f (x) where 0.1 is the step size, and f (x) is the derivative of f(x). A. If we start at x=1, what will happen eventually? You don t have to compute exact numbers for many iterations, instead you should use the trend to answer the question. B. If we start at x=3, what will happen eventually? 6. Convexity The function (x-a) 2 is convex. So is (x-b) 2. The function 2(x-a) 2 (x-b) 2 is: A. always convex B. always concave C. sometimes convex and sometimes concave, depending on the values a, b D. none of above 4

7. Game Tree with Chance node Fill in the game theoretic values for all nodes. ma x Chance p=0.3 p=0.7 mi n mi n mi n -1 2 3 2 7 8. Matrix normal form of game Write down the matrix normal form of the following game: ma x mi n 1 3 2 5

9. Mixed strategies in game For the following zero-sum game, if A plays with mixed strategy (1/3, 1/3, 1/3), and B plays with mixed strategy (1/2, 1/2), what is the game theoretic value for A? A B -1-1 -2 3 2 2 10. Dominate strategy Perform iterative elimination of strictly dominated strategies on the following MNF for non-zero sum game: 6, 3 7, 9 1, 7 4, 9 9, 2 6, 4 2, 2 3, 3 9, 4 8, 6 7, 4 5, 6 5, 6 5, 8 0, 5 3, 4 6

11. Nash equilibrium Circle all Nash equilibria in the following zero-sum game: 9 2 8 3 6 9 8 7 10 12. Propositional logic We define a new propositional logic connective, which has the following truth table: P Q P Q T T F T F T F T F F F F Write down the truth table for ( P Q ) ( Q P ). 7

13. Unification Write down the Most General Unifier for the following pairs of FOL clauses. A, B are objects and x, y, z are variables. A. middle(left(x), x, right(x)), middle(left(a), A, y) B. middle(left(x), x, right(x)), middle(left(y), A, z) C. middle(left(x), x, right(b)), middle(left(y), A, right(y)) 14. alpha-beta pruning Perform alpha-beta pruning on the following game tree. Write down the game theoretic value, alpha, beta for applicable nodes, and mark which branches are pruned. As usual the root node is max. 1 3-0 2 8

15. Propositional logic Given the propositional logic KB: P Q ( R Q ) Use resolution refutation to prove ( R P ). Clearly write down all the steps. 9

16. English to FOL The English sentence: I saw the duck in the park with a telescope. is famous for its ambiguity. We have defined the following objects and predicates for you: I, Duck, Park, Telescope V(x, y, z): x visually detected y using device z L(x,y): x is located in y P(x,y): x possesses y As an example, this is one possible (although somewhat unusual) FOL interpretation of the original sentence, and its English re-interpretation: x V(I, Duck, x) L(Duck, Park) P(Duck, Telescope) I saw the duck (using some device maybe just my eyes), the duck is in the park, and the duck has a telescope. Write down 5 more different FOL interpretations of the original sentence. You do not have to re-interpret them in English. You may define new predicates if necessary. 1. 2. 3. 4. 5. 10

17. FOL backward chaining Given the FOL KB: above(x, z) ontop(z, y) above(x, y) ontop(x, y) above(x, y) ontop(a, B) ontop(b, C) When proving above(a, C), what might happen if we always scan the KB from top to bottom, and apply the first rule in the KB whose right-hand-side matches the sub-goal we are trying to prove? 18. Propositional logic Show that the following KB is inconsistent. You can use and mix whatever sound rules (e.g. Modus Ponens, resolution). 1. ( A D) 2. A B 3. E ( D C) 4. ( B A ) E 11

19. Uninformed search In uniform cost search, can we have a few edges with negative weights in the graph? A. No, it will surly screw things up B. Yes, it doesn t matter C. It depends Be sure to justify your answer. 20. In GoogSoft, software engineers A and B form a two-person team. Their year-end bonus depends on their relative performance. A is slightly better than B, but A wants to work less. Explicitly A and B notice the following bonus outcome: B-works hard B-slacks A-works hard 9, 7 10, 0 A-slacks 0, 10 9, 9 A. If A and B act rationally, which actions will they take? What is the outcome? B. How can A and B minimize their work? C. As A and B s manager, what can you do to prevent A and B from slacking? 12

(scratch paper) 13