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

1 Answer

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 class is equivalent to testing any other value. Two steps for this method are Identify equivalence class by taking each input condition and partition into valid and invalid classes. Generate the test cases using the equivalence class of the previous step. The test cases are generated for the valid and the invalid classes. (ii) User documentation contains descriptions of the functions of a system without reference to how these functions are implemented. Examples are installation guide and reference guide. System documents contain all the facets of the system, including analysis, specification design, implementation, testing, security error diagnosis and recovery. Examples are SRS and system test plan. (iii) Core dumps are a debugging technique. A printout of all relevant memory locations is obtained and studied. All dumps should be well documented and retained for possible use on subsequent problems. Its advantages are that a complete dump of memory at a crucial time is obtained Require CPU and I/O time and can get expensive if used indiscriminately. Sometimes it is difficult to interpret the dump which is represented using hexadecimal numbers.

Related questions

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

Last 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 ... valid data equivalence class, then you can select test case values like: 1, 11, 100, 950 etc.

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 : A key concept of quality control is that all work products (A) are delivered on time and under budget (B) have complete documentation (C) have measurable specification for process outputs (D) are thoroughly tested before delivery to the customer

Last Answer : (C) have measurable specification for process outputs

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 : Software consists of (A) Set of instructions + operating procedures (B) Programs + documentation + operating procedures (C) Programs + hardware manuals (D) Set of programs

Last Answer : (B) Programs + documentation + operating procedures

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 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 : 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 some of the limitations of testing.

Last Answer : Ans: Though testing is an important part of system development and leads to a valid, verified and efficient system, it also faces some limitation in its scope. Following are some of such limitations. ... to a complete re- development of the module under testing and hence putting all effects in vain.

Description : Define software testing. Explain various level of testing .

Last Answer : Ans: Software testing is a process used to help identify the correctness, completeness and quality of developed computer software. With that in mind, testing can never completely establish the ... various level of testing are : Unit Testing Integrating testing Validation testing System testing

Description : Define the following terms: (i) Product metrics (ii) Live variables (iii) FAN IN

Last Answer : Ans: (i) Product metrics: describe the characteristics of the product such as size, complexity, design features, performance, efficiency, reliability, portability, etc. (ii) A variable is live from its first ... count of the number of other Components that can call, or pass control, to Component A.

Description : Describe system testing.

Last Answer : Ans. System testing: System test are designed to validate a fully developed systems with a view to assuring that it meets its requirements. There are three types of system testing: Alpha testing: This ... is performed by the customer to determine whether or not to accept the delivery of the system.

Description : What is the normal order of activities in which software testing is organized? (A) unit, integration, system, validation (B) system, integration, unit, validation (C) unit, integration, validation, system (D) none of the above

Last Answer : (A) unit, integration, system, validation

Description : Alpha and Beta Testing are forms of (A) Acceptance testing (B) Integration testing (C) System Testing (D) Unit testing

Last Answer : (A) Acceptance testing

Description : All the modules of the system are integrated and tested as complete system in the case of (A) Bottom up testing (B) Top-down testing (C) Sandwich testing (D) Big-Bang testing

Last Answer : (D) Big-Bang testing

Description : If a program in its functioning has not met user requirements is some way, then it is (A) an error. (B) a failure. (C) a fault. (D) a defect.

Last Answer : (D) a defect.

Description : How is cyclomatic complexity useful in program test? What is sequence of testing? What is testability?

Last Answer : Ans. Cyclomatic complexity measures the amount of decision logic in a single software module. It is used for two related purposes in the structured testing methodology. First, it gives the number of ... a lack of testability may hinder testing parts of the software or software requirements at all.

Description : Differentiate between functional testing and structural testing.

Last Answer : Ans:Functional testing means behavioural testing or Black box testing. In this techniques, tester design test case with the behaviour of the modules. Structural testing means White Box testing. In this testing, tester design test cases from the structure of the module.

Description : Units and stubs are not needed for unit testing because the modules are tested independently of one another (A) True (B) False

Last Answer : (A) True

Description : Top down approach is used for (A) development. (B) identification of faults. (C) testing and validation. (D) reverse engineering.

Last Answer : (A) development.

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 : Site for Alpha Testing is (A) Software Company (B) Installation place (C) Any where (D) None of the above

Last Answer : (A) Software Company

Description : Which phase is not available in software life cycle? (A) Coding (B) Testing (C) Maintenance (D) Abstraction

Last Answer : (D) Abstraction

Description : The testing that focuses on the variables is called (A) black box testing (B) white box testing (C) data variable testing (D) data flow testing

Last Answer : (A) black box testing

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 : Output comparators are used in (A) static testing of single module (B) dynamic testing of single module (C) static testing of single and multiple module (D) dynamic testing of single and multiple module

Last Answer : (D) dynamic testing of single and multiple module

Description : SRS is also known as specification of (A) White box testing (B) Stress testing (C) Integrated testing (D) Black box testing

Last Answer : (D) Black box testing

Description : A fault simulation testing technique is (A) Mutation testing (B) Stress testing (C) Black box testing (D) White box testing

Last Answer : (A) Mutation testing

Description : One of the fault base testing techniques is (A) unit testing. (B) beta testing. (C) Stress testing. (D) mutation testing.

Last Answer : (D) mutation testing.

Description : IEEE 830-1993 is a IEEE recommended standard for (A) Software requirement specification. (B) Software design. (C) Testing. (D) Both (A) and (B)

Last Answer : (A) Software requirement specification.

Description : Define cohesion & coupling? Give suitable examples.

Last Answer : Ans Coupling:Coupling refers to the strength of the relationship between modules in a system. Coupling represents how strongly different modules are interconnected with each other. Cohesion: Cohesion ... Cohesion represents how strongly the internal elements of a module are bound to each other.

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 : 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 : 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 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 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 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 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 : 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 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 : 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.

Description : Explain cause effect graphing .

Last Answer : Ans: Cause-effect graphing is a test case design technique that provides a concise representation of logical conditions and corresponding actions. There are four steps: 1. Causes (input conditions) and ... graph is converted to a decision table. 4. Decision table rules are converted to test cases.