Open kwokyto opened 3 years ago
Q9: Magic number / Magic string / Magic literal all belong to the same class. In that sense it is true. Q26: Hmmm.. I think I have taken care to avoid ambiguities in the main paper. You can make your assumption/argument known in the notes (as suggested in the announcement). I will take a look when marking.
Thank you prof @okkhoy ! Can I check with you on one more question? Is code coverage on Intellij not static? This is question 29.
code coverage is not static. you need to run the code to identify coverage.
Question 9
Why is this true? How specific will you be? I would argue because this is a problem with magic strings not numbers.
Question 26
The solution states that "system testing covers both", but I feel that it is a little unfair given the way the statement is phrased? For example, there is a difference between "X covers -ve testing" and "X only covers -ve testing". Would leeway be given for ambiguous statements like this?