Projects
Remember, submit a assgn9 directory containing solution files by hsp.
- 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
- Define and test classes written in our defined statically typed OOL from Chapter 8, and in another, such as School, Java.
Some examples.See the exercises in 6.4.5, p222-229 for some ideas.
- 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
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.