Computer Science

profilekr.sanzay
HW.pdf

FINAL TEST (100 pts) CPSC 547

SPRING 2020 DUE: May 15, 2020 @ the end of class.

NOTE:

1. Make any reasonable assumptions if necessary. 2. List references if used. 3. DO NOT DISSCUSS SOLUTIONS WITH CLASSMATES. VIOLATION

OF THIS WILL AUTOMATICALLY RESULT IN AN “F” FOR THE CLASS.

STUDENT NAME:

ID # :

SECTION NUMBER:

Problem 1: (20 points) Short Answers Your answers should be short and to the point. a. Use an example to explain what is an entity in a process? What is an attribute?

b. Define a measure that can be used to judge a code’s quality. Name one situation you

could use this measure. c. Name the situation one has to use XmR Chart not the XandR Chart. d. LOC (Lines of Codes) is one of the most commonly used size and complexity metric. How

could this measurement data be misused if the operational definition of LOC is incomplete or improper?

e. How can the status table (Fig. 2.14: Status of Action-Planning Activities) given on

Page 39 of the textbook help you better plan the implementation of your organization’s measurement program incrementally?

Problem 2 (20 points) (The Use of Goal-Question-Metric (GQM) Paradigm) A measurement program can be successful if it is designed with goals of the project in mind. The GQM approach provides a framework involving three steps: 1. List the major goals of the software project. 2. Derive from each goal the questions that must be answered to determine if the goals

are being met. 3. Decide what must be measured in order to be able to answer the questions

adequately. By deriving the measurement this way, it becomes clear how to use the resulting data. As an example, Figure below show how several metric might be generated from a single goal. Goal:

Evaluate effectiveness of coding standard Questions:

Who uses it? What is coder Productivity? What is code quality? Metrics:

Proportion Experience of Code Size Effort Errors of coders coders -LOC -using std -with std -Function points -using language -with language -with environment Suppose you are managing a software development project for which reliability is a major concern. A continual stream of anomalies is discovered in the software during the testing phase, and you suspect that the software will not be of sufficient quality by the shipping deadline. Construct a GQM tree (like the one given above) that will clearly help you to make an informed decision about when to ship the software. Justify why? Problem 3: (20 points) XmR Chart The following table shows the number of defects found during requirement inspections for each of 20 components of a new system. Please calculate the control limits for the XmR charts. Based on the charts, is the process of inspection stable? Can you trust the conclusion? If not, why? Model Number

# defects

1 24 2 64 3 10 4 59 5 9 6 35 7 13 8 16 9 34

10 23 11 8 12 32 13 15 14 38 15 40 16 15 17 10 18 19 19 7 20 19

Problem 4: (20 points) You are asked to select metrics to monitor the software team’s productivities each quarter in your department. Using the guidance given in this class, write a plan on how to establish such a measurement program. The plan should include objectives, specific tasks taken as well as staffs involved in each task. Please make necessary assumptions if necessary. Problem 5: (CMMI Questions 20 points) True or False. Please JUSTIFY your answers.

a. QPM (Quantitative Project Management) defined in CMMI covers both

organizational level activities and project level activities.

b. XmR chart is the only method one can use to implement Process Performance Baselines defined in SP 1.4 in the process area OPP (Organizational Process Performance).

c. Measurement and Analysis (MA) defined in CMMI is placed as a Level 2 PA (Process Area) because it could be used to support activities defined in PAs in Level 3, Level 5, and Level 5.

d. Specific Practices given under Specific Goal 1 in MA have no relations with the Specific Practices defined in Specific Goal 2 of the same PA. .

e. XmR chart is not an example of Process Performance Models defined in SP 1.5 in the process area OPP (Organizational Process Performance).