ASSIGNMENT 1 Solution

$30.00

Description

(submit via moodle, you may scan or take a picture of your paper answers) Submit only pdf or txt files (in a zip if you have multiple files)

Problem 1. (15 points)

For each of the scenarios below, classify the environment based on the seven classifications discussed in class (i.e. fully/partially observable, single/multi-agents, etc.). Additionally for each of the seven classifications, provide a single sentence supporting your reasoning.

  1. Sorry! (the board game, read up on it here: https://en.wikipedia.org/wiki/Sorry!_(game) )

  1. Tennis.

  1. You are exploring an undiscovered underwater cave system with a robot equipped with just a camera for sensing.

Problem 2. (20 points)

Consider the graph shown below. Assume you start at “Arad” and want to go to either “Dobreta” or “Urziceni”. Show step-by-step how you would solve this with a breadth first graph search. When adding to the breadth first search queue, do it in lexicographical order (i.e. If you were starting at “Iasi” you would first add “Neamt” then “Vaslui” as N is before V in the alphabet). At each step show:

  1. the “fringe” nodes (the queue)

  2. the “explored” nodes (stuff that has left the queue)

  3. which node you are taking next from the fringe set to move to the explored set

Problem 3. (25 points)

For each of the situations specify: (a) The initial state, (b) possible actions from the initial state, (c) a general description of other states, and (d) whether the approach is incremental or complete-state.

  1. You work at Amazon and someone placed a large order of stuff that you will have to pack into three separate boxes. Each box has a weight limit and a dimension limit that cannot be exceeded. (You do know that these three boxes are capable of storing all the items.)

  1. You are imitating Google maps and want to find the shortest distance between two locations using roads.

  1. You are trying to figure out how to win the game checkers.

Problem 4. (25 points)

Between depth first search, breadth first search and uniform-cost search, for each part say which search is most appropriate? Support your answer with one to two sentences explaining why this search is the best, along with a description of how you will represent the problem as a tree or graph.

  1. You want to open one of your locks (the spin-type shown below, where you need to enter 3 sets of numbers by spinning first clockwise, second counter-clockwise and third clockwise again) but you have forgotten the numbers and need to brute force it.

  1. You go to the renaissance festival and walk through the hedge maze ( https://en.wikipedia.org/wiki/Hedge_maze ). You do not know the structure of the maze. How should you walk through the rooms to reach the end?

  1. You are performing a dance routine and know how to execute 20 different moves. Each moves uses a certain set of muscles and receives a fixed amount of points. You have time to execute 5 moves during your performance, and you want to get the most points possible (without overusing the same muscles too much).

Problem 5. (15 points)

For each of the following, state whether the task is being done rationally. (Note: this is the strict artificial intelligence definition of “rational”.)

  1. A human playing the card game “War” (someone else deals the cards) (Game rules: https://www.pagat.com/war/war.html )

  1. A robot looks at historical trends on the stock market to try an invest to get you the most money.

  1. You want to find a treasure buried square area as fast as possible. All you have to detect the treasure is a metal detector, so you “zig-zag” (go perpendicular to an edge until you reach the other side, the move the furthest away to ensure you do not miss anything with the metal detector and go back (again perpendicular)) as shown below until the metal detector finds the treasure. Once you have located the treasure you dig it out.


error: Content is protected !!