[SOLVED] CompSci2211a - Software Tools and Systems Programming-Computer Science- ASSIGNMENT 4

30.00 $

Category:

Description

5/5 - (1 vote)

Assignment overview The purpose of this assignment is to provide the student with experience with pointers and variable addresses in memory. The other purpose of this assignment is to provide the student with more than just experience writing code. This assignment will also concentrate on introducing the good programming practices of modularity and incremental programming.
PREPERATION: For this assignment, create a new directory under the assignments directory created in the first assignment. Label this new directory: asn4
All work should be performed in this directory. Use a UNIX editor like vi to create and compile the C code.
The code MUST compile in the UNIX environment to be considered correct.
This time the assignment will be contained within multiple files.
Assignment Overview:
The purpose of this assignment is to provide the student with more than just experience writing code. This assignment will also concentrate on introducing the good programming practices of modularity and incremental programming.
When students first start to learn to code, the exercises are fairly simple and small. As such we begin the habit of just starting to write code that completely performs the requested actions and we place most, if not all, of the code in the main function.
The reality is that although this may be adequate for uncomplicated tasks, as the programs become more detailed and complex, this practice will make the performance of programming more and more injurious to the process.
This assignment will aid in the introduction to three good programming practices. These are modularity, incremental coding, and correct use of controls (loops and conditionals).