Sunday, September 15, 2019
Software Engineering Assignments
1.For each of the following documents, indicate in which phse(s) of the software life cycle it is produced: final user manual, architectural design, SQA plan, module specification, source code, statement of work, test plan, preliminary user annual, detailed design, cost estimate, project plan, test report, documentation.2.Order the following tasks in terms of the waterfall model: acceptance testing, project planning, unit testing, requirements review, cost estimating, high level design, market analysis, low-level design, systems testing, design review, implementation, requirement specification.3.How does a phased life cycle model assist software management?SOFTWARE METRICS1.What is McCabeââ¬â¢s cyclomatic number? Determine the same for:2.In Halsteadââ¬â¢s metrices, what is the significance of : (i)operators and operands (ii)potential operands, (iii)Length (iv)Estimated length (v)Volume (vi)Potential volume (vii)Implementation Level3.How is effort and time calculated in Halstead method?4.Why is the number of decisions + 1 an important method for calculating McCabeââ¬â¢s cyclomatic no.? (Ans: It would be very time consuming to have to construct the control flow graph for large programs).5.Why is monotonicity an important characteristic of a size or effort metric such as Halsteadââ¬â¢s effort metric? (Ans: If adding more code can cause the value of the effort metric to decrease, then the metricââ¬â¢s behavior is not understandable. It may also mean that the metric is manipulated).6.Why is complexity not readily measurable? (Ans: Complexity is not well defined and each one has different interpretation. It is interaction between person and code that makes it difficult to define). 7.Calculate McCabeââ¬â¢s complexity on the following source code. Draw a control flow graph. Read x,y,z;Type = ââ¬Ëscaleneââ¬â¢; If(x= =y or x= =z or y = =x) type = ââ¬Ëisoscelesââ¬â¢; If(x= =y or x= =z) type ââ¬Ëequilateralââ¬â¢; If(x> =y+z or y > =x+z o r z>= x+y)) type ââ¬Ënot a triangleââ¬â¢; If(x< =0 or y< =0 or| z
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.