Re: Setup Reminder & Other Matters
Dear CSCI-316 Students,
After you have completed the exercises in the Preliminary-Lisp-Exercises document, you should start to do the reading and exercises specified in items (1)-(4) below. Note that 1b, 2b, 2d, 3a, and 3d refer to parts of Lisp Assignment 1 (which is posted in the Assignments section on Brightspace), and that 1a and 1b should be done before we meet for our 6th class on Wednesday of next week (9/17).
See you in class on Monday.
Pages of Touretzky to Read; Exercises to Do
Before our 6th class (Wednesday, Sep. 17)
- Read secs. 2.1-2.8 on pp. 31-41.
- Do parts A and B of Lisp Assignment 1.
Before our 7th class (Monday, Sep. 29)
- Read secs. 2.9-2.14 on pp. 41-64.
- Do part C of Lisp Assignment 1.
- Read secs 3.7-3.10 on pp. 86-90.
- Do part D of Lisp Assignment 1.
- Read sec. 2.17 on pp. 72-73.
- Read secs. 6.3 and 6.4 on pp. 161-65.*
Before our 8th class (Monday, Oct. 6)
- Do part E of Lisp Assignment 1.
- Read sec. 3.17 on p. 104.
- Read sec. 5.3 on pp. 138-40 (pp. 138-39 in the free older edition).
- Do part F of Lisp Assignment 1.
- Reminder: Wednesday, Oct. 8 is the on-time submission deadline for Lisp Assignment 1.
Before or soon after our 9th class (Wednesday, Oct. 8)
- Do Lisp Assignment 2 and submit that assignment on mars; the on-time submission deadline for Lisp Assignment 2 is Friday, Oct. 10.
Note on APPEND
Although the calls of APPEND in 6.3 have only 2 arguments, APPEND accepts any number of arguments! For example:
(append '(1 2 3) '(5 6) '(7 8 9 10) '(11))
returns (1 2 3 5 6 7 8 9 10 11).
Note on SDRAW Functions
The function SDRAW that is mentioned at the end of sec. 6.4 and the related functions SDRAW-LOOP and SCRAWL are described on pp. 186-187. These functions are available to you on mars when you start Clisp using the cl command.
Dr. T. Yung Kong
Professor
Computer Science Department
Queens College, CUNY
Flushing, NY 11367, USA