You are on page 1of 4

Homework Title / No.

: _________________1________________Course Code : ____CAP609 Course Instructor : _____Supreet Kaur______ Course Tutor (if applicable) : ____________ Date of Allotment : ______31/01/2012______ Date of submission : _____9/02/2012_____ Student’s Roll No.______RD1004A06______ Section No. : __________D1004_________ Declaration: I declare that this assignment is my individual work. I have not copied from any other student’s work or from any other source except where due acknowledgment is made explicitly in the text, nor has any part been written for me by another person. Student’s Signature : Sarbjit Kaur Evaluator’s comments: _____________________________________________________________________ Marks obtained : ___________ out of ______________________ Content of Homework should start from this page only:

Q.1) How product specification helps in finding the bugs? Ans: A product specification document (PSD) is a document written by a company that defines a product they are making, or the requirements for one or more new features for a new or an existing product. A product specification document generally define the problems(Bugs/Errors) that a product (or product feature) must solve, but should avoid defining the technical solution to those problems. This distinction allows engineers to use their expertise to provide the optimal solution to the requirements defined in the product specification document. Features of Product Specification: 1)Establish the basis for agreement between the customers and the suppliers on what the software product is to do. 2)Reduce the development effort. 3)Provide a basis for estimating costs and schedules. The description of the product to be developed as given in it is a realistic basis for estimating project costs and can be used to obtain approval for or price estimates. 4)Facilitate transfer: It makes it easier to transfer the software product to new users or new machines.

the waterfall model describes a development method that is linear and sequential. Software Engineering. objectvies of the company. IEEE: Standards Collection. installation and checkout phase. Because in Product Specification. which are as: Specification of software. Because the it discusses the product.5)Serve as a basis for enhancement. Q. A Product Specification helps to find out the bugs. 1994 Edition. code and other external errors. Design. test phase. typically a concept phase. there requirements are defined and if the software is not fulfilling the requirements or much satisfying/providing extra features which are not defined in Product Specification then these norms can be define as bugs and Product Specification works as the great analyzer. It defines the requirements. published by the Institute of Electrical and Electronic Engineers Inc. Product Specification helps to reduces the cost of bugs by finding the errors. requirements phase.) A model of the software development process in which the constituent activities. design phase. possibly with overlap but with little or no iteration. Product Specification can also be define as the software testing. Ans: The waterfall model is the development life cycle model for software engineering. cost for the software etc.2) Waterfall model is also called as the one –shot or once through model. Through Product Specification the reasons behind the bugs can be solved easily. and operation and maintenance. There are mainly five steps of water fall model which are as: . As it provides a baseline for validation and verification. Organizations can develop their validation and Verification plans much more productively from a good Product Specification. are performed in that order. Often considered the classic approach to the systems development life cycle. Discuss the statement. Because it helps to create an analyzer techniques for the software testing. implementation phase.

Because Water fall model follows the joint application development (JAD) which emphasis on that once the step has been completed then there is no backward option to fix the bugs. There is an example that while testing the Software for Mobile. Thus Waterfall model is also called as the one –shot or once through model.Waterfall model is also called as the one –shot or once through model because when the software developers starts to develop the software it is mandatory for them to first to complete the one step then they can move to another steps and if they find some bugs after the completion of the step then they can't access or move to backward. There is only need to test the software once a while after the development because when the s/w will be tested again and again then there is possibility that more and more bugs will be accomplished then it will increase the cost to fix the bugs. So if the software testing will be done again and again then it will immune more. It will also increase the work load. 3) Ques:The more you test the software more immune it becomes to your test. Such as the s/w can never test completely and there is no surety that all the bugs will be fixed after testing. Then they have only one option that they have to re-start from the very first step which may cause more cost. And offcourse the cost of the bug will be increases. Q: 4. . Ans: The more software testing will be done the more it immune because there are curtain testing axioms which may fulfill or not. Justify using example. Difference between static black box testing and dynamic black box testing. there may occur that the s/w is fulfilling the desired needs but at some phases it may causing the low speed or low battery backup.

This type of testing can be used by the developer who wrote the code. This is the verification portion of Verification and Validation. The testing theory related to equivalence partitioning says that only one test case of each partition is needed to evaluate the behaviour of the program for the related partition. Test cases are the specific inputs that you'll try and the procedures that you'll follow when you test the software. It has to be supplemented by boundary value analysis. Dynamic black box testing: Testing software without having an insight into the details of underlying code is dynamic black-box testing.It is generally not detailed testing. . Code reviews. What do you mean by equivalence partitioning? Why is it important? Ans: Equivalence partitioning is a software testing technique that divides the input data of a software unit into partitions of data from which test cases can be derived. To use more or even all test cases of a partition will not find new faults in the program. It's dynamic because the program is runningyou're using it as a customer would. Even static testing can be automated. And. or document. but checks mainly for the sanity of the code. Q: 5). Thus the number of test cases can be reduced considerably.Ans: Static static black box testing: Static testing is a form of software testing where the software isn't actually used. In other words it is sufficient to select one test case out of each partition to check the behaviour of the program. The values within one partition are considered to be "equivalent". test cases are designed to cover each partition at least once. thereby reducing the total number of test cases that must be developed. Once you know the ins and outs of the software you're about to test. This is done with an eye toward completeness or appropriateness for the task at hand. In principle. It is primarily syntax checking of the code and/or manually reviewing the code or document to find errors. A static testing test suite consists of programs to be analyzed by an interpreter or a compiler that asserts the programs syntactic validity. Equivalence partitioning is not a stand alone method to determine test cases. it's black-box because you're testing it without knowing exactly how it workswith blinders on. your next step is to start defining the test cases. inspections and walkthroughs are also used. This technique tries to define test cases that uncover classes of errors. static testing involves reviewing requirements and specifications. in isolation. algorithm.