software testing, Software Engineering

1. Answer the following questions for the method search() below: public static int search (List list, Object element) // Effects: if list or element is null throw NullPointerException // else if element is in the list, return an index // of element in the list; else return -1 // for example, search ([3,3,1], 3) = either 0 or 1 // search ([1,7,5], 2) = -1 Base your answer on the following characteristic partitioning: Characteristic: Location of element in list Block 1: element is first entry in list Block 2: element is last entry in list Block 3: element is in some position other than first or last (a) “Location of element in list” fails the disjointness property. Give an ex- ample that illustrates this. (b) “Location of element in list” fails the completeness property. Give an example that illustrates this. (c) Supply one or more new partitions that capture the intent of “Loca- tion of e in list” but do not suffer from completeness or disjointness problems
Posted Date: 2/5/2013 3:40:18 PM | Location :







Related Discussions:- software testing, Assignment Help, Ask Question on software testing, Get Answer, Expert's Help, software testing Discussions

Write discussion on software testing
Your posts are moderated
Related Questions

Testing is a process of implementing a program with the intent of finding an error. Various level of testing are :    Unit Testing     Integrating testing     Valida

Applicability: It is another significant characteristic of a model. The model should be judged by its degree of applicability across software products that change in size, structu

Discuss the design steps of the transform mapping. Re-examine the fundamental model. Re-examine and refine the DFD for the software. Determine the DFD has either the

What is Path Analysis? Ans) Program analysis performed to identify all possible paths through a program, to detect incomplete paths, or to discover portions of the program that

Bottom-up testing is a method of integration testing. A test engineer makes and uses test drivers for components that have not yet been developed, because, with bottom-up testing,


What are Quality reviews? This is the principal method of validating the quality of a process or of a product. A group examines part or all of a process or system and its do

How can we re-engineering of any product One additional difficulty in adopting this approach is large investment which exists in software system maintenance. It requires additi

An activity in which a system or component is implemented under specified conditions, the results are observed and an evaluation is made of some problem of the system or component.