Page 20 - SOFTWARE TESTING & QUALITY ASSURANCE
P. 20

Unit 1: Introduction to Software Testing



                   way of money or by way of replacing the defective product. It can also damage the reputation of the
                   company.
               •   The  Waterfall model of software development is a traditional  model which follows  sequential
                   method of software development. V and Spiral models, which employ testing as an integral part of
                   software development, are more efficient than the Waterfall model. Agile is considered to be the
                   most advanced and efficient type of software development model. Extreme Programming (XP) is a
                   method developed based on the agile model, which uses test driven development to develop highly
                   efficient software.
               1.5   Keywords
               Confined: Within bounds or limits
               IEEE: IEEE is the acronym of Institute of Electrical and Electronics Engineers. It is the world's largest
               professional association dedicated to advancing technological innovation and excellence for the benefit
               of humanity. They foster development of national and international standards.
               Race Condition: A race condition occurs when a program doesn't work as it is supposed to, because of
               an unexpected call or ordering of events that produce contention or a clamor over the same resource.
               Recursion: Recursion is a process of defining or expressing a function or procedure in terms of itself.

               1.6.   Self Assessment

                1.   State whether the following statements are true or false:
                     (a)  Software testing identifies the areas of weakness in an application or product.
                     (b)  The year 1988-2000 followed prevention oriented approach.
                     (c)   Testing is a process of executing a program with the intent of finding errors -- was pointed
                         out by Myers.

                     (d)  Some compromises will be made in the requirements or design of the software to meet the
                         delivery requirements.
                     (e)  Sometimes efficient tools such as editors, compilers, and debuggers generate wrong codes
                         which cause errors in the software.

                     (f)   The analysis phase defines the software and the hardware requirements relevant for the
                         software development process.
                2.   Fill in the blanks:
                     (a)  Software testing is an _______________________ and _______________________ process to
                         detect a mismatch, a defect or an error.
                     (b)  Many bugs occur due to lack of _______________________ when a developer tries to modify
                         software developed by another developer.

                     (c)   The _______________________ of fixing a bug differs depending on the development stage
                         at which it is detected.
                     (d)  In Test Driven Development (Agile), the _______________________ is not written until the
                         test code does not clear the test case requirements test.
                3.   Multiple Choice Questions

                     (a)  Demonstration oriented testing was followed during which of the following period?
                                  (i)   1957-1978         (ii) 1979-1982        (iii) 1983-1987          (iv) 1988-2000
                     (b)  Which of the following factors causes errors due to incorrect usage of logic or syntax?
                                  (i)   Communication failure (ii)  Human (iii)  Lack of skilled testing (iv)  Unrealistic timeframe






                                        LOVELY PROFESSIONAL UNIVERSITY                           13
   15   16   17   18   19   20   21   22   23   24   25