CS217 Assignment 9, Due Monday, May 29, 2000

Submit solution files in a directory, assgn9, by hsp.
The files must contain at least your name and a comment before each problem, indicating its number and other info you feel is required.

Projects

  1. Prepare a presentation to be given Day 27 Monday, May 29 or Day 28 Wednesday, May 31, on a topic you'd like the class to know about.
    Sample topics
    • An aspect of Java, such as
      • Arrays vs Vectors
      • Classes vs Interfaces
      • Iterator vs Enumeration
      • Threads
      • Streams
    • Types and type checking, as in Ch 7
    • The typed OOL in Ch 8
    • Scheme, who uses it?
    • Java vs C++
    • CPS

  2. Define and test classes written in our defined statically typed OOL from Chapter 8, and in another, such as School, Java.
    Some examples.
    • Queues as in Fig 2.3, p60
    • Rational or Complex numbers
    • Collections that can be sorted in one or more was
    • Nodes for constructing dynamic data structures
    See the exercises in 6.4.5, p222-229 for some ideas.

    For loading the STDOOL interpreter and type checker, see the bottom of Day 25 notes.

    interp8loop.scm adds loops, arrays, other primitives to 8-interp.scm.

    Be sure both (run pgm) returns the intended value and (type-check pgm) returns the programs type, for the STDOOL version of your program, pgm.

Remember, submit a assgn9 directory containing solution files by hsp.