Docsity

Local Beam Search - Artificial Intelligence - Exam, Exams of Artificial Intelligence

Toggle sidebar
bg1
C P E / CSC 4 8 0 A R T I F I C I A L
I N T E L L I G E N C E
M I D T E R M S E C T I O N 1
FA L L 2 0 0 5
PRO F. F RA NZ J. K UR FE SS
CAL PO L Y, C O M PUTE R SC I E N C E DE P A R TM E N T
This is the Fall 2005 midterm exam for the CPE/CSC 480 class. You may use textbooks,
course notes, or other material, but you must formulate the text for your answers yourself.
The use of calculators or computers is allowed for viewing documents or for numerical
calculations, but not for the execution of algorithms or programs to compute solutions for
exam questions. The exam time is 80 minutes.
Student Name:
Signature:
Date:
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Local Beam Search - Artificial Intelligence - Exam and more Exams Artificial Intelligence in PDF only on Docsity!

C P E / C S C 4 8 0 A R T I F I C I A L

I N T E L L I G E N C E

M I D T E R M S E C T I O N 1

FA L L 2 0 0 5

PRO F. FRA N Z J. KU RF ES S

CAL PO L Y, COM P UTE R SC IEN CE DE PA RT MEN T

This is the Fall 2005 midterm exam for the CPE/CSC 480 class. You may use textbooks, course notes, or other material, but you must formulate the text for your answers yourself. The use of calculators or computers is allowed for viewing documents or for numerical calculations, but not for the execution of algorithms or programs to compute solutions for exam questions. The exam time is 80 minutes.

Student Name:

Signature: Date:

PA RT 1 : MU LTIP LE CH OI CE QUE S TIO NS

Mark the answer you think is correct. I tried to formulate the questions and answers so that there is only one correct answer. Each question is worth 3 points. [ 30 points] a) Which statement characterizes a rational agent best?

! An agent that performs reasoning steps to select the next action.

! An agent that can explain its choice of an action.

! An agent that always selects the best action under the given circumstances.

! An agent that is capable of predicting the actual outcome of an action.

b) What is the most significant aspect that distinguishes an agent with an internal state from a reflex agent?

! An agent that selects its actions based on rules describing common input-output associations.

! An agent that also considers relevant information from previous percepts when it makes a

decision.

! An agent that tries to reach a desirable state.

! An agent that tries to reach the most desirable state, according to some metrics that measures the

degree of desirability for states. c) Which of the following statements is the best characterization of a static environment?

! an environment that does not change while the agent is deliberating

! an environment that does not change through the lifetime of an agent

! the agent does not perceive any changes during a certain time, although changes may occur that

the agent is not capable of picking up with its sensors

! an environment that can only be changed through actions of the agent itself

d) In the context of search algorithms, which of the following issues indicates if an agent is guaranteed to find a solution, provided that one exists?

! time complexity

! space complexity

! completeness

! optimality

e) On the basis of the general tree search method as described in the textbook, which simple strategy results in depth-first search?

! append newly generated nodes at the beginning of the fringe (search queue)

! append newly generated nodes at the end of the fringe (search queue)

! insert newly generated nodes in the fringe (search queue) according to their path cost (lowest

values first)

! insert newly generated nodes in the fringe (search queue) according to their heuristic function

(lowest values first)

PA RT 2 : SHO RT QUE S TIO N S

In this part of the exam, you should answer the questions in about one paragraph per sub- question.

  1. Which search method is the result of running greedy search with the heuristics given below? Explain your answers! [ 10 points] a. the path cost, g(n) , as heuristic function b. the negative path cost, - g(n) , as heuristic function
  1. Explain the main aspects of and discuss the difference between a rationa l agent and an omniscient agent. [ 10 points] a. Rational Agent: b. Omniscient Agent:
  1. Traverse the environment from the starting point A to the goal O according to the Depth-First Search method. [ 15 points] Step Current Tile Fringe 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

A B C D

E F G H

I J K L

M N O P

  1. Traverse the environment from the starting point A to the goal O according to the Breadth-First Search method. [ 15 points] Step Current Tile Fringe 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

A B C D

E F G H

I J K L

M N O P