SE 3M04 T1 2002
Assignment 1b
- Due: Wednesday September 25, in class
- Code will be handed out Wednesday September 18, in class
- Goal: learn to review someone else's work and provide constructive
critiques.
- Tasks:
- Verify that the written requirements are complete.
- Verify that the tests cover all the cases in the code.
- Read the code and report any bugs you find.
- Read the log - does it seem complete?
- Deliverables:
- Report on the students' requirements (1/2-1 page). Indicate:
- Given the students' requirements document, could you reproduce the exact
functionality of the accompanying code?
- From the document, can you predict exactly what will
happen if given the following lines:
- R13a a b 13ohm
- R 0 1 4
- V
- R1 1 0 13
- .Foo
- Any other comments you may have on the requirements
- Report on the students' tests (provided input Spice files) (1-2 pages).
- Are there tests (ie input spice files) that cover all the components:
- resistors (3.1.1)
- capacitors (3.1.4)
- inductors (3.1.7)
- voltage sources (with no distortion) (3.2.1)
- current sources (with no distortion) (3.2.1)
- Does the program output and expected output actually match?
- Are there tests for degenerate cases of the components? If
some are missing, please give examples. Degenerate cases are
ones that have some (possibly subtle) oddity that may (or may not)
make them invalid components. For example
- R 0 1 4
Resistor with no name
- V
Voltage source with not enough components (and no name)
- R1 1 0 13
extra spaces
- .Foo
Not a component at all
- Report on the code (1/2-1 page).
- Can you find bugs? Be explicit. (It is expected that
there is at least one!).
- Does it match the students requirements?
What about the original assignment requirements? Is everything in
the requirements (both) implemented? Is there some functionality
in the code not mentionned in the requirements (students' or original)?
- Report on the log (1/2 page). Does the log seem complete?
Justify your answer.
Back to main page