| Category | Points | Min | Max |
Functionality
- Programs generates correct list of events: +50
(Features that must work)
- Properly prints list of events
in Date, Event, and Days columns either in
order of list or in order of days.
- Selects only those events between 0 =<
Days =< Lookahead
- Program assembles, runs, and terminates without errors or crashing
(Ignore LIB291 message)
- Deductions:
- Miscomputes Days for yearly wrap-around: -10
Check that Days > 300
for "New years (1/1)" with Lookahead = 350
Note: New Years is 7 days after Xmas (not 6)
- Fails for other values of numrec: -10
Remove a record in events.inc and reassemble
- Fails for other data sets: -10
Add new records in events.inc and reassemble
- Assumes hardcoded variable addresses: -10
Add 'junkvar db 0' at start of variable
section and reassemble
| | 0 | 50 |
Modularity (* percentage of code written)
- Follows all specifications of Assignment: +5
- Awkward use of conditional jumps or loops: -2
- Use of hardcoded addresses rather than pointers: -3
- Use of hardcoded structure offsets: -0
No deduction on this assignment.
Topic will be covered later in the semester
| | -5 | 0 |
Technique & Style (* percentage of code written)
- Compact and Efficient code: +5
- Extraneous of registers and/or variables: -3
- Excessive coding (More than 2 pages): -2
| | -5 | 0 |
Comments (* percentage of code written)
- Clear and precise comments: +5
- Sports Announcer-type comments: -1
- Sparse and/or unclear comments: -3
| | -5 | 0 |
Penalty/Bonus
Before Tue 2/11: +1 pt/day
Deadline after 2/11: -5 pts/day
| | -50 | 5 |
| Total | | 0 | 50 |