Derrick Stolee, Assistant Professor
Department of Mathematics
Department of Computer Science
Iowa State University

COM S 229 - Advanced Programming Techniques
Topics for Exam 2
Here is a short list of the topics covered in each lecture, specifically the ones that will be fair game for Exam 2. See the Lecture Notes for more information on these topics.

Of course, some knowledge of C from earlier topics will be required in order to answer questions on these topics.
W 02/12C String Library Methods: strlen, strcpy, strcat, strcmp, strstr
Incomplete Code: optest.c
Finished Code: optest-finished.c increment.c
M 02/17String manipulation with pointer arithmetic.
Code: words.c
W 02/19Exercise: parens.
F 02/21(Nothing important was discussed. As usual.)
Code: pixeltest.c
M 02/24Self-referential structs, linked list.
Code: linkedlist.h linkedlist.c
W 02/26Linked lists with void* values, Function pointers.
Code: linkedlist.h linkedlist.c
F 02/28More on function pointers.
Code: error.c fibonacci.c linkedlist.c linkedlist.h matrices.c
M 03/03C++: A basic "Hello, World!"
W 03/05C++: Pass-By-Reference.
Code: hello.cpp copy.cpp testoutput.cpp sort.cpp reftest.cpp
F 03/07C++ Class by example: String.
Code: String.hpp String.cpp Makefile (Makefile is for 03/10 lecture)
M 03/10C++ Using classes, new, delete, copy constructors.
Code: String.hpp String.cpp stringtest.cpp Makefile