How to prepare a programming homework assignment

The following visual instruction should help in preparation your first programming assignments in EE102 or EE221. The instruction is illustrated with use of Micrososft Visual C++. However, it may be extended to any windows console application type program in any computer language prepared using any compiler.

1. Prepare the homework, so that the program can be compiled and run without any errors. Idellay the program should also do what it is supposed to do as described in the homework assignment.

2. Run the program

3. Interact with the program as necessary until it terminates

4. Start capturing the console window screen by clicking on an icon in the upper left hand corner and selecting EDIT/MARK.

5. Drag the mouse (move while depressing a button) and select the area to be copied

6. Copy the selected area into the clipboard - it will be copied as text

7. Paste the copied text from the clipboard into your program. Rememebr to place C++ (or other language) beginning comment and end of comment symbols. (/* and */ in C/C++/Java)

8. Dispose of the running program window by clicking on it and then pressing ENTER.

9. Inspect your program. You may want repeat the steps 2 through 8 one or more times to test how the program behaves for different date entered. That will become more important when the complexity of your assignments increase.

9. Print the program and captured screens inserted as comments using available printer.

You may want to select the most convenient printer.

Remember that is is sufficient to turn in the printout unless othervise posted. Do keep the source code of your program for future reference at least until the very end of the course. Also check your score with the grade database available on-line from time to time.

web site front local main page print this page   general bookmarks software bookmarks go back close this page copyright info