CST 8110 - Assignment 15

Last revised: Sunday September 27, 1998 01:06.

This assignment is due in my assignment box by 13:45pm on Wednesday, August 6.

All assignments are evaluated based on their neatness and how closely they follow the assignment submission guidelines published in the online course notes.

Purpose and Instructions

This assignment demonstrates your ability to understand basic loop constructs. To do this assignment correctly, you must read and understand the Chapter 5 sections dealing with WHILE loops.

The CST 8110 Blue Book contains the Algonquin standard for writing WHILE statements in C and pseudocode. The appendices contain many examples of WHILE statements used in programs and pseudocode. Use these examples to guide you.

Before you begin this assignment, read the first half of Chapter 5. Review the Self-Check exercises for sections 5.1, 5.2, 5.3, and 5.4. You do not have to hand in these exercises; however, you must know how to do them.

Assignment:

  1. Finish reading Chapter 5. This is the last chapter we cover in this course.
  2. Review the Self-Check exercises for sections 5.1, 5.2, 5.3, and 5.4 on your own; bring questions to your Lab if you have difficulties. You do not need to hand in these exercises; however, you must know how to do them.
  3. Write the following programs in Algonquin standard form:
  4. Hand in the source code listings of the above programs.
  5. Hand in one page of output from each program. For the program on page 224, start input at 1 inch and stop at 60 inches.

Notes:

Evaluation

The aggregate of all assignment marks comprises 25% of your final mark. All assignments must be completed satisfactorily to get credit for the course, even if the assignments are submitted too late to receive a mark. (See the course outline.)

Late assignments are handled according to the policy given in the course outline.