Assignment 1 | |
CSE 415: Introduction to Artificial Intelligence The University of Washington, Seattle, Winter 2003 | |
The reading for this assignment is Chapters 1 and 2 in The Elements of
Artificial Intelligence Using Common Lisp.
| |
Part A. Do exercises 1 through 4 on page 87.
When doing exercise 4, you may assume that the argument list
does not have any sublists, and so a one-way recursion will suffice.
Turn in Part A on Monday, Jan. 13 at the beginning of class. This is should be a printout showing a session with Common Lisp. You can use a combination of input and output together with comment lines (beginning with a semicolon) to show that you have verified each of your answers on the computer. | |
Part B.
Log into
INFACT-FORUM
using your
UW general access account name as your username, and
your student number as your password.
Read the message named "Intelligence for the Husky Helper".
Post your own personal answer to this question. Deadline:
Tuesday, Jan 14 at noon. After that deadline has passed,
you'll be able to see the answers of other people in your
group. Work online with your group discussing the pros and
cons of different people's ideas, and come up with a group-consensus
solution by Friday, January 17, at 5:00 PM.
| |
Part C:
Write Lisp function definitions for any two
of the following requirements.
1. (add-pairs '(2 5 1.5 100 3 8)) -> (7 101.5 11) 2. (increment-nums '(2 fun 5.3 yes)) -> (3 FUN 6.3 YES) 3. (vowels-to-a '(r i o t e r)) -> (R A A T A R) 4. (nest-Symbols '(a b 2 3)) -> ((A) (B) 2 3) Part C is due Wednesday, Jan 22, at the beginning of class. Turn in a printout similar to that for part A. |