COMP 590-096 Fall 2010

Midterm Review

Terms

Be able to define the following terms and answer basic questions about them:

  • Agents and environments
  • Rationality
  • PEAS
  • Environment characteristics: fully vs. partially observable, deterministic vs. stochastic, episodic vs. sequential, static vs. dynamic, discrete vs. sequential, single-agent vs. multi-agent, known vs. unknown
  • Agent types: reflex, model-based reflex, goal-based, utility-based
  • Search
  • Search problem formulation: initial state, actions, transition model, goal state, path cost
  • State space
  • Search tree
  • Evaluation of search strategies: completeness, optimality, time complexity, space complexity
  • Uninformed search strategies: breadth-first search, uniform cost search, depth-first search, iterative deepening search
  • Informed search strategies: greedy best-first, A*
  • Heuristics: admissibility, dominance
  • Local search: hill climbing, beam search, annealing
  • Constraint satisfaction problems
  • Backtracking search
  • Heuristics: most constrained/most constraining variable, least constraining value
  • Forward checking, constraint propagation, arc consistency
  • Games
  • Zero-sum games
  • Game tree
  • Minimax
  • Alpha-beta pruning
  • Evaluation function
  • Quiescence search
  • Horizon effect
  • Game theory
  • Normal form representation
  • Dominant strategy
  • Nash equilibrium (both pure and mixed strategy)
  • Pareto optimality
  • Logic
  • Propositional logic
  • Syntax and semantics
  • Entailment
  • Inference: soundness, completeness, inference rules
  • Inference for definite clauses: forward chaining, backward chaining
  • First order logic
  • Propositionalization
  • Substitution, unification

Example test questions

  1. Suppose you have to design an agent to play the game of Scrabble. Write a PEAS specification for the agent and characterize the task environment according to the seven relevant categories (list them first).
  2. Can an environment be both known and unobservable? Give an example.
  3. What is the distinction between a world state and a search tree node?
  4. Discuss the relative strengths and weaknesses of breadth-first search vs. depth-first search for AI problems.
  5. Explain why it is a good heuristic to choose the variable that is most constrained but the value that is least constraining in a CSP search.
  6. Suppose you have an oracle that correctly predicts the opponent’s move in any state. Using this, formulate the definition of a game as a single-agent search problem. Describe an algorithm for finding the optimal move.
  1. Consider the following game tree (MAX moves first):

  2. Write down the minimax value of every non-terminal node next to that node.
  3. How will the game proceed, assuming both players play optimally?
  4. Cross out the branches that do not need to be examined by alpha-beta search in order to find the minimax value of the top node, assuming optimal move ordering.
  5. Consider the following game:

PlayerA: Action 1 / Player A: Action 2
Player B: Action 1 / A = 2, B = -2 / A = -3, B = 3
Player B: Action 2 / A = -3, B = 3 / A= 4, B = -4
  1. Find dominant strategies (if any).
  2. Find pure strategy equilibria (if any).
  3. Find mixed strategy equilibria (if any).
  1. Use a truth table to prove De Morgan’s Law: ¬ ()  ¬ ¬
  1. According to some political pundits, a person who is radical (R) is electable (E) if he/she is conservative (C), but otherwise is not electable. Which of the following are correct representations of this assertion?
  2. (R  E)  C
  3. R  (E  C)
  4. R  ((C  E) E)
  1. Which of the following statements are correct?
  2. False |= True.
  3. True |= False.
  4. (A  B) |= (A  B).
  5. A  B |= A  B.
  6. A  B |= A  B.
  7. Which of the following are valid (necessarily true) sentences?
  8. (x x=x)  (yz y=z).
  9. x P(x) P(x).
  10. x Smart(x)  (x=x).
  11. Translate into first-order logic the following sentences:
  12. No two people have the same social security number.
  13. There is an agent who sells insurance policies only to people who are not insured.
  14. Politicians can fool some of the people all of the time, and they can fool all of the people some of the time, but they can’t fool all of the people all of the time.