AMIETE – CS/IT (OLD SCHEME)

 

Flowchart: Alternate Process: JUNE 2009Code: AC16 / AT13                                                        Subject: SOFTWARE ENGINEERING

Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE: There are 9 Questions in all.

·      Question 1 is compulsory and carries 20 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Out of the remaining EIGHT Questions answer any FIVE Questions. Each question carries 16 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

 

 

Q.1       Choose the correct or the best alternative in the following:                                 (2 10)

 

a.    Outcome of requirements specification phase is  

                                                                 (A)  Design document. (B) Software requirements specification.

                                                                 (C)  Test document.                  (D) Flow of control.

 

b.       Program volume of a software  product is    

(A) V = N log2n                                   (B) V = (N/2) log2n

                                                                 (C) V = 2N log2n                     (D) V = N log2n  + 1

 

c.    Waterfall model is not suitable for  

(A) Small projects.                               (B) Complex projects.

                                                                 (C) Software development. (D) Accommodating change.

 

d.    Software reliability is defined with respect to

(A) Quality.                                         (B)  Speed.

                                                                 (C) Time.                           (D)  None of the above.

 

e.       Function point can be calculated by

(A) UFP * CAF                                   (B)  UFP * FAC

                                                                 (C) UFP * Cost                 (D)  UFP *  Productivity

 

f.        Which of the following is a risk assessment activity?

(A) Risk resolution                               (B)  Risk management planning

                                                                 (C) Risk analysis                      (D)  Risk monitoring

 

g.       When two modules refer to the same global data area, they are related as

(A) External coupled.                           (B)  Data coupled.

                                                                 (C) Content coupled.            (D)  Common coupled.

 

h.       Testing of software with actual data  and in actual environment is

(A) Alpha testing.                                (B)  Beta testing.

                                                                 (C) Regression testing.                  (D)  Unit testing.

 

i.         Regression testing is primarily related to

(A) Maintenance testing.                      (B) Data flow testing.

                                                                 (C) Development testing.           (D) Functional testing.

 

j.         In data flow testing, objective is to find

(A) All dc-paths that are not du-paths.

                                                                 (B) All du-paths.

                                                                 (C) All du-paths that are not dc-paths.

                                                                 (D) All dc-paths.

 

Answer any FIVE Questions out of EIGHT Questions.

Each question carries 16 marks.

 

 

  Q.2     a.   Explain the following software life cycle models:                                                  (5)

                   (i) Prototyping model                                                                                             

                   (ii) Spiral model

 

             b.   Explain various levels in Capability Maturity Models (CMM)                              (5)

 

c.       Explain the strategy of bottom-up design and top-down design.                          (3)

 

d.       Explain the differences between functional testing and structural testing.               (3)

 

  Q.3     a.   Explain the following maintenance models:                                                          (5)

                   (i) Iterative enhancement model

                   (ii) Boehm’s model

 

             b.   Give the equations for estimation of the following software maintenance costs models and explain their functionality:                                         (5)

                   (i) Belady and Lehman model

                   (ii) Boehm model

 

             c.   Explain the properties of object oriented design.                                                 (4)

 

             d.   Explain the features of validation during SRS specification.                                  (2)

 

  Q.4     a.   Explain the following modularity techniques:                                                        (6)

                   (i) Module coupling and types of module coupling

                   (ii) Module cohesion and types of module cohesion

 

             b.   Explain dynamic modeling and functional modeling design methodologies used in object oriented design.                                                                 (4)

 

             c.   Explain various types of verification techniques used in software design.               (6)

 

  Q.5     a.   In software requirements analysis and specification explain the following:             (5)

                   (i) Characteristics of SRS

                   (ii) Components of SRS

 

             b.   Explain problem analysis phase of SRS.                                                              (5)

 

             c.   Explain the differences between throw-away prototyping and evolutionary prototyping.                   (4)

 

             d.   Consider the following statements and draw E-R diagrams:                                 (2)

                   (i) Each country has country flag

                   (ii) Employees may or may not have employee passport.


 

  Q.6     a.   Consider the following program  and calculate  N (program length),  

                   V (program volume) and  (effort):                                                                   (6)

                 Program Test(in1, out1);

                        var  p,q,r,s : integer

                        begin

                              readln(p,q,r)

                               if ( p >= r)  then

                                    s :=  r *  p;

                               else

                                     s :=  p/r;

                               writeln (s);

                         end                                                                                                                                                                                                                                                          

 

             b.   Give the classification of  software metrics.                                                         (6)

 

             c.   Explain analysis of software metrics.     (4)

 

  Q.7     a.   Explain various components of the following:                                                       (4)

                   (i) Risk assessment

                   (ii) Risk control

 

             b.   A new project with estimated 500 KLOC embedded system has to be developed. Project manager has a choice of hiring from two pools of developers. Very highly capable with very little experience in the programming language being used or developers of low quality but a lot of experience with programming language. What is the impact of hiring all developers from one or the other pool? Calculate E (effort in person-months) D (duration of development in months).  Assume the value of

                   ai = 2.8 , bi =1.20,   ci  = 2.5 and   di = 0.32 for embedded mode. Assume EAF for little experience in programming is 0.9348 and EAF for more experience in programming is 1.12.                   (6)

 

             c.   Explain the following software project planning methods:                                     (6)

                   (i) COCOMO  model

                   (ii) Putnam Resource allocation model

 

Q.8       a.   Consider a program with an initial failure intensity of  5 failure/CPU hour and total of 50 failures. Calculate the failures experienced after 10 CPU hour and 100 CPU hour of execution.       (4)

 

             b.   Give the mathematical equation for the following software reliability models:                        (3)

                   (i) Basic model

                   (ii) Logarithmic Poisson model

 

             c.   Explain the following software reliability techniques:                                             (6)

                   (i) Software reliability and hardware reliability

                   (ii) Macro model

 

             d.   Differentiate static and dynamic testing tools.                                                       (3)

 

 

  Q.9     a.   Explain types of functionality testing. 

                   Consider a program for determining the previous date. Its input is a triple of day,  month and year with the values in the range

1 <=  month <= 12

1  <= day      <=  31

                          1900 <=  year <= 2025

                   The possible output would be  previous date or invalid input date. Design the   boundary value test cases.                                                              (5)

 

             b.   Explain types of structural testing.                                                                                                  

                   Consider the following graph and calculate the cyclomatic complexity by             (5)

 
 

 

 

 

 

 

 

 

 

 

 

 

 


                   (i) McCabe’s equation                        

                   (ii)  Predicate method                                  

                   (iii) Region method

 

             c.   Compare and contrast the following:                                                                   (6)

                   (i) Integration testing and system testing

                   (ii) Core dump and traces