ECE291 Computer Engineering II Lockwood, Spring 1997

Machine Problem 2: Grading Report

Please print this page and provide it to the TA when you demonstrate your machine problem. The TA should verify each functionality item, initial the 'Demo' box, assign functionality and bonus points, then copy your files to the HANDIN floppy. This page should be stapled to the front of your printed .ASM program.

Name:
Date Submitted:
Demo To: Graded By:
Handin to floppy
Score recorded
Gold Star
Programming Excellence
CategoryPointsMinMax
Main
  • Reads Difficulty level
  • Generates a list of 10 questions.
  • Repeats for additional games
 
010
Random
  • Generates a number in range: [ 0 .. 2^16-2 ]
  • First call returns RandSeed = 13
  • Matches pattern generated by library routine (ver 1.2 of LIB291)
 
05
PickNum
  • Returns number between [ 0..Range ] in AX
  • Result varies with level (0..9, 0..15, 0..99, 0..181)
 
05
PickOp
  • Returns an operation in BL in { + - * / % & | ^ }
  • Only returns { + - * / } at level 0
 
05
ShowOp
  • Prints like: Question Qnum: Num1 operation Num2
 
05
ReadNum
  • Reads numbers from keyboard
  • Allows backspacing
  • Allows negative numbers
  • Rejects invalid input
  • Quits program when escape pressed
 
07
CalcResult
  • Calculates correct result for each of the 8 operations and all possible input values.
 
08
CMPResult
  • Scores 1 point for correct answers
  • Prints correct answer when input is incorrect
 
05
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
 
-50
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
 
-50
Comments (* percentage of code written)
  • Clear and precise comments: +5
  • Sports Announcer-type comments: -1
  • Sparse and/or unclear comments: -3
 
-50
Penalty/Bonus
Before Tue 2/21: +1 pt/day
Deadline after 2/21: -5 pts/day
 
-505
Total
 
050