| Category | Points | Min | Max |
Calculate
- Test -6/2=-3: 6 [enter] N [enter] 2 [enter] / [enter] == -3
- Test -3*2=-6: 3 [enter] N [enter] 2 [enter] * [enter] == -6
- Test Factorial(0)=1: 0 [enter] ! [enter] == 1
- Factorial -13 is not 'an unlucky number'
- Verify calculations for arbitrary Decimal, Hex, and Binary Values
TAs will provide random test cases during demo
- Verify that running MP2 < MP2.IN
- Produces final output matching MP2.OUT
- Last calculated value=FFD4
- Points
- Performs all standard logic opeations ( & | ^ ~ )
[3 pts/each = 12 pts]
- Performs all standard math operations ( + - * / % N )
[3 pts/each = 18 pts]
- Performs all standard Factorial operation ( ! )
[5 pts]
| | 0 | 35 |
FormatOutput
- Formats OutputBuffer for Decimal, Hex, and Binary Output
- Test for 2's complement display of binary numbers:
1 [enter] N [enter] MH [enter] == FFFF
1 [enter] N [enter] MB [enter] == 1111111111111111
- Verify output for arbitrary Decimal, Hex, and Binary Values
TAs will provide random test cases during demo
| | 0 | 15 |
Penalty/Bonus
Before 5pm on deadline: +1 pt/weekday
After 5pm on deadline: -10 pts/weekday
| | -50 | 5 |
| Functionality SubTotal
| | 0 | 55 |
|
|