Test 3 (Autumn Repeat):<BR>B.Eng. (Telecommunications Engineering)

Test 3 (Autumn Repeat):
B.Eng. (Telecommunications Engineering)

General

This test is made up of two parts:

  1. Reformatting and correcting a given program.

  2. Modifying this corrected program in certain specified ways.

Note that marks will be awarded purely on the content of the final report. Therefore, at all stages of the test, please describe your plans, problems encountered, tests carried out and, when the required tasks have been completed, describe any conclusions drawn from the exercise.

Part 1 (60%)

The program PARLLEL.C is supposed to calculate the equivalent resistance of a set of separate resistors , , etc. connected in parallel, according to the following equation:

The program is currently poorly laid out and formatted, and has various other defects. You are required to:

Part 2 (40%)

Modify the program PARLLEL.C (as corrected in part 1) as follows:

Correct any defects manifested in your modified program. Ensure that you test the program severely in an effort to reveal any remaining run time defects.



McMullin@ugmail.eeng.dcu.ie
Fri Jun 30 12:53:42 BST 1995