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
What do you mean by  the computer based system? The computer based system can be termed as "a set or an arrangement of elements that are managed to accomplish some predefined g

What is the meaning of cardinality in data modelling? Cardinality in data modelling, cardinality specifies how the of occurrences of one object is linked to the number of occur

Explain the role and functions of a Systems Analyst in the overall project development.

Hello, I have an assignment and have to derive a regular expression based on a CFG provided but i dont know how. please help.

Explain Testability? Ans) (1) The degree to which a scheme or component facilitates the establishment of test criteria and the performance of tests to verify whether those crite

Define cyclomatic complexity? Cyclomatic complexity defined as software metric which gives the quantitative measure of logical complexity of the program. The Cyclomatic comp

Test Case A test case is a unit level document describing the inputs, steps of implementation and the expected result of each test condition for each requirement from the BRD.

Searching the Database: Searching the database and printing the results of a search are important features associated with CDS/ISIS package. The query formulation strategy pro


State the Testing and Debugging Testing is process of verifying if the application matches needs and reporting bugs; Testing is usually done by an independent testing team wher