Page 58 - DCAP305_PRINCIPLES_OF_SOFTWARE_ENGINEERING
P. 58

Principles of Software Engineering



                   Notes         in the early stage of testing process; While Black Box Testing is conducted at the later stage to
                                 verify the functional correctness of the program. Black Box Testing is also called as Behavioural
                                 Testing or Partition Testing.
                                 Object-Oriented Analysis

                                 The  principle  of  object-oriented  examination  is  to  develop  solution  models  that  satisfy  the
                                 customer requirement. The object oriented analysis generates model of the problem sphere of
                                 influence. It represents classes, objects and interaction between objects. We use UML (unified
                                 modeling language) to represent the analysis details. Use case diagram, class diagram, are used
                                 to model the object oriented analysis using UML.
                                 Object-Oriented Design

                                 The object-oriented design converts the object-oriented analysis model into a design model. This
                                 serves a draw-round for software building. Object-oriented design supports following object
                                 oriented concepts such as abstraction, information hiding, functional independence, modularity.
                                 Design is the initial step in moving towards from the problem domain to the solution domain.
                                 A detailed design include specification of all the classes with its attributes, detailed  interface.
                                 The purpose of design is to specify a working  solution that  can be easily translated into a
                                 programming language code.
                                 The object-oriented design is classified into:

                                    •  Architectural design
                                    •  Detailed design
                                 Architectural design

                                 Architectural designs divide the system into dissimilar sub systems known as packages. Then
                                 the  dependence,  relationship  and  communication  between  the  packages  are  also  identified.
                                 Package diagram is use to represent architectural design using UML.
                                 Detailed design

                                 It describes the detailed description of the classes that is all the attributes (variables and functions).
                                 The detailed class diagram represents the detailed design using UML.

                                                Object-modelling technique (OMT) was introduces by Rumbaugh in 1994.


                                                Be aware while changing names of object elements, the consistency of the
                                                design is must be not affected.
                                 Self Assessment Questions
                                    1.  ........................... is a white box testing technique that can be used to detect improper use
                                      of data values due to coding errors.
                                       (a)  Software testing           (b)  Data-flow testing

                                       (c)  Static data-flow testing   (d)  Dynamic data-flow testing
                                    2.  The primary purpose of ........................ is to uncover possible bugs in data usage during
                                      the execution of the code.
                                       (a)  software testing           (b)  data-flow testing
                                       (c)  static data-flow testing   (d)  dynamic data-flow testing





        52                                LOVELY PROFESSIONAL UNIVERSITY
   53   54   55   56   57   58   59   60   61   62   63