[Suggested model answers. Questions are open-ended, so well-reasoned answer may score 100% even though not exactly as below]
1. (a) Do you think that software engineers should be certified to practice professionally in the same way that medical practitioners, lawyers or architects? Justify your answer. [5 pts]
[Deductions for:
(b)Choose one of the professions listed above that you know something about.
(i) How does your education in CS differ from the education of a practioner in that field? [5 pts]
At least two of
(ii) Compare what might happen if a computing professional or a practitioner in the example field makes a mistake that directly leads to the death of a person. [5 pts]
At least two of
2. You have been asked to develop a small application that analyzes each course offered by the College of Computing and reports the average grade obtained in the course for a given quarter (or semester).
Draw a context diagram for the software problem. [20 pts]
No right answer, but
3. For the following software process models that are described in Pfleeger's textbook (Chapter 2) list (i) benefits and (ii) drawbacks, and (iii) describe how the model handles a significant change in the requirements late in development (for example, suppose that you were implementing the system described in Question 2 on the understanding that different sections held during a term were essentially different courses but then learned just before delivery that sections of the same course should be merged):
(a) Waterfall model
[Benefits 3pts]
[Drawbacks 3pts]
[Changes 4pts] .
(b) V model
[Benefits 3pts]
[Drawbacks 3pts]
[Changes 4pts]
(c) Phased development
[Benefits 3pts]
[Drawbacks 3pts]
[Changes 4pts]
4. Write a Java application CategorizeTriangle (with error handling where appropriate) that does the following:
CategorizeTriangle reads three integer values. The values are interpreted as representing the lengths of the sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles or equilateral. Use the guidelines discussed in class and in Pfleeger's textbook (Chapter 6) to write and comment the program. You should be able to compile the program and convince yourself that it works. [35 pts or 10 pts]
Note: This question has been scored out of 10 (i.e. 10/75 of entire assignment marks) and out of 35 as originally specified (35% of assignment marks). Assignment grade is the higher of the two grades obtained. Deductions indicated below are for marks out of 10.
Style and layout
Correctness
Additional considerations