|
Comp202: Principles of Object-Oriented Programming II
Fall 2007 -- Exam 1
Need-to-Knows
|
This list should be considered
a partial list at best! Check back often to see if new items
are added. You are responsible for all topics covered in class, labs
and assignments, even if they do not appear here.
- Linear structures
- Know how to use both the immutable
IList and the mutable
LRStruct frameworks.
- Be able to write both forward and reverse
accumulation algorithms.
- Be able to write higher order functions (algortithms/visitors)
such as FoldL and
FordR.
- Be able to write the lambda functions that
work with FoldL and/or
FordR to do things like add the
elements, print the elements, reverse the list, append the list,
etc.
- Lazy evaluation
- Understand and be able to program the decorator
design pattern.
- Be able to write an
ALazyEval to create simple infinite lists, e.g. arithmetic
sequences, Fibonnacci sequence, etc.
- Trees
- Be able to use and write algorithms for
BiTrees.
- Be able to write lambda functions for both
pre/in/post-order traversals and depth/breadth traversals.
- New Java 5.0 features (see links on main
Comp202 homepage for details --
http://java.sun.com/developer/technicalArticles/releases/j2se15langfeat/)
- Autoboxing/unboxing
- Variable argument lists ("varargs")
- Simplified for-loop syntax
- Generics will not be on this exam.
- General design
- MVC design pattern
- Decoupling of parts of a system by breaking into
autonomous pieces
- Utilizing abstract behaviors
- Commands
- Strategies
- Factories
- Lambdas
Last Revised
Monday, 25-Jan-2010 16:14:00 CST
©2007 Stephen Wong and Dung Nguyen