Explain Equivalence Class Partitioning and Boundary value analysis.
Compare the two.

1 Answer

Answer :

Ans. Equivalence Class Partitioning: It is a technique in black box testing. It is designed to minimize the number of test cases by dividing tests in such a way that the system is expected to act the same way for all tests of each equivalence partition. Test inputs are selected from each class. Every possible input belongs to one and only one equivalence partition." In another words it is a method that can help you derive test cases. You identify classes of input or output conditions. The rule is that each member in the class causes the same kind of behaviour of the system. In other words, the "Equivalence Class Partitioning" method creates sets of inputs or outputs that are handled in the same way by the application. E.g.: If you are testing for an input box accepting numbers from 1 to 1000 then there is no use in writing thousand test cases for all 1000 valid input numbers plus other test cases for invalid data. Using equivalence partitioning method above test cases can be divided into three sets of input data called as classes. Each test case is a representative of respective class.
Boundary Value Analysis: It’s widely recognized that input values at the extreme ends of input domain cause more errors in system. More application errors occur at the boundaries of input domain. ‘Boundary value analysis’ testing technique is used to identify errors at boundaries rather than finding those exist in centre of input domain. Boundary value analysis is a next part of Equivalence partitioning for designing test cases where test cases are selected at the edges of the equivalence classes. E.g. if you divided 1 to 1000 input values in valid data equivalence class, then you can select test case values like: 1, 11, 100, 950 etc.

Related questions

Description : Which of the following is true about White and Black Box Testing Technique:- a) Equivalance partitioning, Decision Table and Control flow are White box Testing Techniques. b) Equivalence partitioning ... , State Transition , Use Case Testing and Decision Table are White Box Testing Techniques.

Last Answer : c) Equivalence partitioning , State Transition , Use Case Testing are black box Testing Techniques.

Description : Which technique can be used to achieve input and output coverage? It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing. A. Error Guessing B. Boundary Value Analysis C. Decision Table testing D. Equivalence partitioning

Last Answer : D. Equivalence partitioning

Description : When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as: A. Equivalence partitioning B. Boundary value analysis C. Decision table D. Hybrid analysis

Last Answer : A. Equivalence partitioning

Description : When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as: A. Equivalence partitioning B. Boundary value analysis C. Decision table D. Hybrid analysis

Last Answer : B. Boundary value analysis

Description : Which technique can be used to achieve input and output coverage? It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing. a) Error Guessing b) Boundary Value Analysis c) Decision Table testing d) Equivalence partitioning

Last Answer : d) Equivalence partitioning

Description : _____ is a white-box testing technique first proposed by Tom McCabe. a) Equivalence Partitioning b) Basis Path Testing c.) Boundary Value Analysis d) None of the above.

Last Answer : Ans : b. 

Description : One weakness of boundary value analysis and equivalence partitioning is (A) they are not effective. (B) they do not explore combinations of input circumstances. (C) they explore combinations of input circumstances (D) none of the above

Last Answer : (B) they do not explore combinations of input circumstances.

Description : In the context of requirements analysis, partitioning results in the elaboration of data, function, or behavior. (A) True (B) False

Last Answer : (A) True

Description : Explain the following: (i) Equivalence class testing. (ii) User and System documentation with examples. (iii) Core dumps.

Last Answer : Ans: (i) Equivalence class testing is based on partitioning the input domain of a program into a number of equivalence classes so that the test of a representative value of each ... indiscriminately. Sometimes it is difficult to interpret the dump which is represented using hexadecimal numbers.

Description : For a function of two variables, boundary value analysis yields (A) 4n + 3 test cases (B) 4n + 1 test cases (C) n + 4 (D) None of the above

Last Answer : (B) 4n + 1 test cases

Description : When different combination of input requires different combination of actions,Which of the following technique is used in such situation? a) Boundary Value Analysis b) Equivalence Partition c) Decision Table d) Decision Coverage

Last Answer : Ans : c

Description : One technique of Black Box testing is Equivalence Partitioning. In a programstatement that accepts only one choice from among 10 possible choices,numbered 1 through 10, the middle partition would be from _____ to _____ a) 4 to 6 b) 0 to 10 c) 1 to 10 d) None of the above

Last Answer : c) 1 to 10

Description : Equivalence partitioning is a .................. method that divides the input domain of a program into classes of data from which test cases can be derived. (A) White-box testing (B) Black-box testing (C) Orthogonal array testing (D) Stress testing

Last Answer : (B) Black-box testing

Description : Which of the following statement(s) is/are TRUE with regard to software testing? I. Regression testing technique ensures that the software product runs correctly after the changes during maintenance. II. Equivalence partitioning is a ... (1) only I (2) only II (3) both I and II (4) neither I nor II

Last Answer : (1) only I 

Description : Compare and contrast reliability and availability?

Last Answer : Ans. Reliability:The probability of failure-free system operation over a specified time in a given environment for a given purpose is called reliability Availability:The probability that a system, at ... damage data, low reliability may not be a problem. Availability takes repair time into account.

Description : What is CMM? Describe its levels & compare it with ISO 9001?

Last Answer : Ans. CAPABILITY MATURITY MODEL (CMM): CMM is a strategy for improving the software process, irrespective of the actual life cycle model used. Software Engineering Institute (SEI) of Carnegie- ... in the CMM are called out in the auditing practices of the verifying implementation common feature.

Description : What are the assumptions of the execution-time component model? Compare the execution-time component for basic model and the logarithmic Poisson model.

Last Answer : Ans. The execution-time component is based on the following assumptions: (1) Tests represent the environment in which the program will be used. (2) All failures are observed. (3) ... constant for basic model while the decrement per failure decreases exponentially as shown in the following graph.

Description : Compare the basic COCOMO model with the detailed COCOMO model .

Last Answer : Ans. COCOMO consists of a hierarchy of three increasingly detailed and accurate forms. Basic COCOMO - is a static single-valued model that computes software development effort (and cost) as a ... cost driver's impact on each step (analysis, design, etc.) of the software engineering process.

Description : Differentiate between structured analysis and structured design.

Last Answer : Ans. The aim of structured analysis is to transform the textual description of a problem into a graphic model. During structured analysis, functional decomposition of the system takes place, i ... define the structure of the solution that is suitable for implementation in some programming language.

Description : What types of models are created during software requirements analysis? (A) Functional and behavioral (B) Algorithmic and data structure (C) Architectural and structural (D) Usability and reliability

Last Answer : (A) Functional and behavioral

Description : What are the three generic phases of software engineering? (A) Definition, development, support (B) What, how, where (C) Programming, debugging, maintenance (D) Analysis, design, testing

Last Answer : (A) Definition, development, support

Description : Which is not a step of requirement engineering? (A) Requirements elicitation (B) Requirements analysis (C) Requirements design (D) Requirements documentation

Last Answer : (C) Requirements design

Description : CASE Tool is (A) Computer Aided Software Engineering (B) Component Aided Software Engineering (C) Constructive Aided Software Engineering (D) Computer Analysis Software Engineering

Last Answer : (A) Computer Aided Software Engineering

Description : The main purpose of integration testing is to find (A) design errors (B) analysis errors (C) procedure errors (D) interface errors

Last Answer : (D) interface errors

Description : Structured charts are a product of (A) requirements gathering (B) requirements analysis (C) design (D) coding

Last Answer : (C) design

Description : In function point analysis, number of general system characteristics used to rate the system are (A) 10 (B) 14 (C) 20 (D) 12

Last Answer : (B) 14

Description : In the spiral model ‘risk analysis’ is performed (A) In the first loop (B) in the first and second loop (C) In every loop (D) before using spiral model

Last Answer : (C) In every loop

Description : If the objects focus on the problem domain, then we are concerned with (A) Object Oriented Analysis. (B) Object Oriented Design (C) Object Oriented Analysis & Design (D) None of the above

Last Answer : (A) Object Oriented Analysis.

Description : The most important feature of spiral model is (A) requirement analysis. (B) risk management. (C) quality management. (D) configuration management.

Last Answer : (B) risk management.

Description : Explain the following with the help of an example (i) Common coupling (ii) Communicational cohesion (iii) Class diagram (iv) Structure chart

Last Answer : Ans. (i) Common coupling: Common coupling is when two modules share the same global data (e.g. a global variable). Changing the shared resource implies changing all the modules using it ... Whether each identifiable function is a manageable entity or should be broken down into smaller components.

Description : Evaluating testability of the requirements and system are a part of which phase:- a) Test Analysis and Design b) Test Planning and control c) Test Implementation and execution d) Evaluating ... text box which accepts alphabets in lower or upper case. Identify the invalid Equivalence class value.

Last Answer : a) Test Analysis and Design

Description : Define the following: a. Aggregation among objects. b. Class. c. Repeated inheritance. d. Encapsulation. e. Scenario.

Last Answer : Ans: a).Aggregation among objects Aggregation among objects represents a relationship. It is a whole/part relationship. Aggregation may imply containment. b).Class A class is a template that specifies the ... or it can be shown as an event trace diagram in which events between objects are shown.

Description : Which of the following statements is true (A) Abstract data types are the same as classes (B) Abstract data types do not allow inheritance (C) Classes cannot inherit from the same base class (D) Object have state and behavior

Last Answer : (B) Abstract data types do not allow inheritance

Description : Explain any two requirement elicitation methods.

Last Answer : Ans. Interviews: After receiving the problem statement from the customer, the first step is to arrange a meeting with the customer. During the meeting or interview, both the parties would like to ... -Board, flip chart, worksheets, wall stickiest, etc. Participants should not criticize or debate.

Description : Explain throw-away prototyping and evolutionary prototyping. Discuss the differences between the two.

Last Answer : Ans Throw-Away Prototyping: Also called close ended prototyping. Throwaway or Rapid Prototyping refers to the creation of a model that will eventually be discarded rather than becoming part of the ... develop parts of the system that they understand instead of working on developing a whole system.

Description : Draw the flow chart of Risk Management-Activity and explain various Software risks.

Last Answer : Ans RISK is a problem that could cause some loss or threatens the success of the project, but which has not happened yet. Typical Software Risks:- 1. Dependencies: -Many ... Inadequate application domain experience. New technologies. Ineffective, poorly documented, or neglected processes.

Description : What is Data Dictionary? Explain each component?

Last Answer : Ans Data dictionary is a storehouse of data giving information about data. It is a list of terms and their definition for all data items and data files of a system. A data dictionary contains ... Data Stores- data Flows are data structures in motion whereas data stores are data structures at rest.

Description : Explain incremental model? Define core product and detailed plan.

Last Answer : Ans. The incremental model is proposed by D.L PARNAS. It is basically implemented by combining elements of linear sequential model and iterative prototyping model. Incremental development refer to the process ... . Risk of failure of product is decreased as user start using the product early.

Description : Explain various types of static and dynamic testing tools.

Last Answer : Ans. Static testing tools: 1. Static analysers A static analyser operates from a pre-computed database of descriptive information derived from the source text of the program. The idea of a static ... for documenting that the tests have been done and that no defects were found during the process.

Description : Explain various Object Oriented concepts used in Software Engineering. Give an example.

Last Answer : Ans .Various concepts of Object Oriented concepts used in Software Engineering: Object:- An object is something which is capable of being seen, touched or sensed. Each object has certain distinctions ... . A message can be sent between two objects only if they have an association between them.

Description : What is function point? Explain its importance. What is function-oriented metrics?

Last Answer : Ans. Function point measures the functionality from the user point of view, that is, on the basis of what the user request and receives in return. Therefore, it deals with ... empirical relationship based on countable measures of software's information domain and assessments of software complexity.

Description : Spiral model is a realistic approach to the development of large-scale systems & software. Justify & explain the model?

Last Answer : Ans. There are several advantages of Spiral model that makes it a realistic approach to development of large-scale systems and software, viz: 1) The spiral model promotes quality assurance ... , which can help in identifying and resolving potential problems or errors in the software development.

Description : Explain acceptance testing and beta testing.

Last Answer : Ans. Acceptance Testing and Beta testing:System tests are designed to validate a fully developed system to assure that it meets its requirements. Acceptance and beta testing are form of system ... testing performed by the cutomer to determine whether he should accept the delivery of the system.

Description : Explain the concept of bottom-up, top-down and hybrid design.

Last Answer : Ans: Bottom up design:This approach leads to a style of design where we decide how to combine these modules to provide larger ones; to combine those to provide even larger ones, ... approaches are often not practical therefore hybrid approach which combines the above two approaches is often used.

Description : Explain the software life cycle model that incorporates risk factor.

Last Answer : Ans. The problem with traditional software process models is that they do not deal sufficiently with the uncertainty, which is inherent to software projects. Important software projects failed ... . The risk analysis and validation steps eliminate errors in the early phases of development

Description : What are dynamic testing tools? Explain the functions that they must support.

Last Answer : Ans. Dynamic testing tools: 1: coverage analyzers (execution verifiers): A coverage analyzer is the most common and important tool for testing. It is often relatively simple. One of the common ... tester to plan tests so they are both efficient and also effective at forcing discovery of defects.

Description : Explain the development phases of the detailed COCOMO model.

Last Answer : Ans A software development is carried out in four successive phases, which are as follows: 1: plan/requirements: this is the first phase of the development cycle. The requirement is analyzed, the product ... product. This requires 16% to 34% of normal effort and 18% to 34% of the development time.

Description : Explain the development phases of the detailed COCOMO model.

Last Answer : Ans A software development is carried out in four successive phases, which are as follows: 1: plan/requirements: this is the first phase of the development cycle. The requirement is analyzed, the product ... product. This requires 16% to 34% of normal effort and 18% to 34% of the development time.

Description : Explain the waterfall model. Explain why it is more advantageous than adhoc methods.

Last Answer : Ans Waterfall Model: 1.The waterfall model is a sequential software development process, in which progress is seen as flowing steadily downwards (like a waterfall) through the phases of Conception, Initiation, ... approach. b. Iteration is not required. c. It is widely use because it is easy.

Description : Explain a. the activities of software maintenance. b. key process areas of CMM.

Last Answer : Ans: a) Software maintenance is a broad activity that includes error correction, enhancement of capabilities, deletion of obsolete capabilities and optimization. b) Key process areas of CMM ... management which establishes and maintains the integrity of the products throughout the life cycle.