|
![]() The Art and Science of C, by Eric Roberts, |
|
This course introduces
important and practical programming tools and techniques that enable
writing programs of greater complexity. Typical programming assignments
include counting the relative frequencies of words in
a passage of text, using recursion to solve problems such as the
"Towers of Hanoi", and simulating games such as Tic Tac Toe or
Conway's Game of Life. The course will use the C-compiler included in
Borland Turbo C++ 4.5. The students are requested to write 30
programming exercises during this part in addition to theoretical
exercises, a project and a test.
Prerequisites: C11A or equivalent. Suggested
completion time: 1.5 quarters.
|
|
The course is divided into several lessons, all of
which begin with a lecture presented as
digitized audio accompanied by formatted text.
|
|
|
|
|
|
A sample exercise screen, where students are asked to identify programming errors |
After most lectures, students are asked to try some sample
exercises about the new material. Each week,
students report their exercise scores to their
instructor, who keeps detailed student records and identifies special
problem areas.
|
| Students are given regular programming assignments throughout the course. Students learn to compile, execute, and debug their programs. Their programs are submitted to their instructor, who checks their work for accuracy. The students complete 30 smaller assignments in addition to a larger project assignment. |
The Towers of Hanoi |