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
Software restructuring Software restructuring changes source code and / or data an effort to make it amenable to future changes. In general, restructuring does not change the o

Q 1 Define a software process. How do software myths affect a software process? Ans: A Software process is a Coherent set of activities for designing, specifying, implementin

EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

What is the diamgram .

Processes and procedures make sure the correct steps are being implemented to facilitate a successful finished off a task. They also make sure a process is repeatable.

What are the phases of Problem solving Loop? Problem definition shows the problem to be solved. Technical developmentSolve the Problem by some Technology. Solution Integr

The University needs to develop an online student registration system for new CAO entrants. This system will allow new students to enroll in their university course. Each student i

Differentiate between regression testing and re-testing - Re-testing: - It means testing a single defect that was just fixed. Only one test is performed here. - The ta

What is a document version? Ans) A document version is a first release (or complete re-release) of a document, as opposed to a revision resulting from issuing change pages to a