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
Q. Show the Importance of function point? Importance of function point: - This is self-determining of the languages tools or methodology used for implementation. - They

Q. Advantage of software life cycle model? The advantage of this model is the wide range of options to accommodate the good features of outer life cycle models. It becomes equi

List the points of a simplified design process. Ans. A design process may comprise a series of steps followed by designers. Depending on the product or else service some of t

What is Big-bang waterfall model? Big bang Model of S/w development is based on the big bang theory. A huge quantity of people, money and time are put together, lot of energy

A University has asked you to design and implement a simple database to store student and module details (including details of which school students belong to and which schools run

Question 1 What is MASM? Explain its features Question 2 Explain the significance of Lexical analysis and Syntax analysis Question 3 What are macros and macro processors

What does it mean by business process engineering tools ?

What is the use of Architectural design? The Architectural design defines the relationship between major structural elements of the software, the "design patterns" that may be

Q. Explain about non-functional requirement for a software ? Ans) Nonfunctional requirements are the basic characteristics of the system which will not be expressed as function

What is Review? Ans) A method or meeting during which a work product or set of work products, is shown to project personnel, managers, users, customers, or other interested part