Difference between revisions of "Code Reading Exercise"

From CDOT Wiki
Jump to: navigation, search
(Questions)
Line 20: Line 20:
 
<tr>
 
<tr>
 
<td>1</td>
 
<td>1</td>
<td></td>
+
<td>main.c</td>
<td></td>
+
<td>main.java</td>
<td></td>
+
<td>filefunctions.cs, ... file for each command line function</td>
<td></td>
+
<td>parameters.cs</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 17:44, 18 January 2007

Questions

  1. Which file(s) did you have to examine?
  2. What are your first reactions to these files when you examine them?
  3. How is the code for working with command-line switches organized at the method, class and project levels? (e.g. is is all in one class? broken across multiple classes? spread across many methods? etc)
  4. How are invalid or non-existent Filenames dealt with?
  5. Find and describe 2 similarities between the code you examined in both projects.
  6. Find and describe 2 differences between the code you examined in both projects.

Answers

Make Ant NAnt XBuild
1 main.c main.java filefunctions.cs, ... file for each command line function parameters.cs
2
3
4
5
6