Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.25 KB

File metadata and controls

41 lines (36 loc) · 1.25 KB

Marking Scheme for Assignment 2

Check Sequence

add v 123
add v 234
add v 345
add v
add v 123 445
add v x
chg (valid) 1
chg (valid)
chg (valid) x
chg (invalid) 1
del (valid)
del (valid) 234
del (invalid)
del *

Marks

Items Marks
Valid add 1
Invalid add (incorrect # of parameters) 1
Invalid add (failed to convert int) 1
Did not assume add_entry() must return true in parse_arg() 1
Valid chg 1
Invalid chg (incorrect # of parameters) 1
Invalid chg (failed to convert int) 1
Invalid chg (illegal address) 1
Valid del 1
Invalid del (incorrect # of parameters) 1
Invalid del (illegal address) 1
del * 0
No memory leak 0

-1 for not following instructions of posting homework on GitHub.

-1 for crashing when there is no items in entries after first command (replicate by add then del immediately).