The Department of Computer Science & Engineering
cse@buffalo

CSE202: Programming in Lisp

Course
Grades
Email

Welcome

Policies
    Grades
    Inc
    Intgrty

Preface
Part I
  Chap 1
  Chap 2
  Chap 3
  XEmacs
  Chap 4
  Chap 5
  Chap 6
  Chap 7
  Chap 8
  Chap 9
Part II
  Chap 10
  Chap 11
  Chap 12
  Chap 13
  Chap 14
  Chap 15
  Chap 16
  Chap 17
  Chap 18
  Chap 19
  Chap 20
  Chap 21
  Chap 22
  Chap 23
Part III
  Chap 24
  Chap 25
  Chap 26
  Chap 27
  Chap 28
  Chap 29
  Chap 30
  Chap 31
  Chap 32
CHAPTER 5: STRINGS AND CHARACTERS
Notes
  1. Read Chapter 5.

  2. Do the exercises of Chapter 5 in acl running within XEmacs.

  3. Create a file named ch5.cl and put into it the answers to Exercises 5.19, 5.20, and 5.21.

    The answer to Exercise 5.19 will be a string. This is a tricky question. Contemplate Exercise 5.17 if you're confused.

    The answer to Exercise 5.20 will either be T or NIL This is easy. Just type the form into the Lisp listener, and transcribe the answer.

  4. There will be two answers to Exercise 5.21, each of which is either T or NIL Again, just ask Lisp, and transcribe the answers.

  5. Submit ch5.cl, either by executing submit_cse202 ch5.cl as a shell command, or by having Lisp evaluate (shell "submit_cse202 ch5.cl"). Notice that you can execute any shell command from within Lisp by evaluating the function shell with one argument, which is a string consisting of the shell command.

  6. Remember to do all the exercises of Chapter 5, not just the ones I'm asking you to submit.

Next

Copyright © 1999, 2000 by Stuart C. Shapiro. All rights reserved.

Stuart C. Shapiro <shapiro@cse.buffalo.edu>