MT2 - Kutztown University

advertisement
CSC354, Intro to Software Engineering
Kutztown University, Fall 2012
Covers chapters 5,6,8
Name: ______________________________________
Mid Term Exam Two: Answer all questions.
1. [7pts] Explain the three principal stages of testing for a commercial software system and the
various activities performed within each stage of testing.
The three principal stages of testing are:
1. Development Testing
This is white-box testing performed by developers. Activities include:
a. Unit Testing
b. Component Testing
c. Integration Testing
2. Release Testing
This is black-box in-house testing performed by a separate test team on a particular release
of the system. Activities include:
a. Requirements-based Testing
b. Scenario Testing
c. Performance Testing
d. Stress Testing
3. User Testing
This is performed by end users of the system at the client’s site. Activities include:
a. Alpha Testing
b. Beta Testing
c. Acceptance Testing
2. [7pts] Draw the context model for an automated Hiring System.
Description of the Hiring System is as follows: A Hiring Manager is charge of posting job descriptions,
evaluating applications for open positions, scheduling interviews, and sending the hiring letters to
successful applcants. Applicants for all open positions submit their completed applications through the
automated system. All applicants must also submit a separate non-disclosure form.
Sample solution is shown below.
3. [3pts] What are the advantages of explicitly designing and documenting a software architecture?
Advantages are:



It improves stakeholder communications
It encourages a detailed analysis of the system
It helps with large-scale reuse.
4. [5pts] Explain the fundamental architectural views proposed in Krutchen’s 4+1 model.
A logical view that shows the key abstractions of the system
A process view that shows the interacting processes in the system
A development view that shows how the system is decomposed for development
A physical view that shows the distribution of software on the system hardware
Scenarios and test cases tie them all together.
5. [8pts] Draw the Sequence Diagram for a Supervisor to login, assign one or more tasks to Users, and then
logout, as in your Web Application project. Describe the various objects of the Sequence Diagram using
UML notation.
Download