JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2023 SOFTWARE TESTING METHODOLOGIES Previous Question Paper (March/April - 2023 - R20)
Note: i) Question paper consists of Part A, Part B.
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
Part A
Discuss the limitations of testing.
Answer
Testing is a critical activity in the software development lifecycle, but it is inherently constrained by several fundamental limitations that prevent it from guaranteeing a completely error-free product:
- Exhaustive testing is impossible: For any non-trivial software system, the number of possible input combinations, execution paths, and environmental states is astronomically large. Testing every possible scenario is computationally and economically infeasible.
- Testing shows the presence of defects, not their absence: Testing can identify the existence of bugs, but it cannot prove that a system is entirely free of defects. Even after extensive testing, latent errors may remain in untested code paths or edge cases.
- Dependency on test data and environment: The effectiveness of testing is limited by the quality and representativeness of the test data. If the test environment does not accurately mirror the production environment, critical bugs related to hardware, network latency, or integration may go undetected.
- Human error and bias: Test design and execution are performed by humans. Testers may overlook specific scenarios, misinterpret requirements, or suffer from confirmation bias, leading to gaps in test coverage.
- Cost and time constraints: Testing is often performed under strict project deadlines and budget limitations. This forces teams to prioritize certain features over others, meaning that lower-priority modules may receive less rigorous testing, increasing the risk of residual defects.
Specify the properties of ugly and nice domains.
Answer
In domain testing, domains are categorized based on their geometric and algebraic properties. A nice domain is characterized by properties that make testing straightforward and predictable, while an ugly domain possesses features that complicate test case design and increase the likelihood of errors.
Properties of Nice Domains:
- Linear Boundaries: The boundaries are defined by linear equations, making it easy to identify test points.
- Complete and Consistent: The domain is defined by a complete set of inequalities with no missing or overlapping regions.
- Small Number of Boundaries: The number of boundaries is small relative to the number of input variables, simplifying the selection of on-points and off-points.
- Orthogonal Boundaries: Boundaries are often orthogonal (perpendicular) to the coordinate axes, which simplifies the calculation of boundary values.
- Convexity: The domain is convex, meaning any line segment connecting two points within the domain lies entirely within the domain.
Properties of Ugly Domains:
- Non-linear Boundaries: Boundaries involve complex curves or higher-order polynomials, making it difficult to determine exact boundary points.
- Discontinuity: The domain may be fragmented or have holes, leading to gaps in the input space that are difficult to test.
- High Dimensionality: A large number of variables creates a complex boundary structure, increasing the number of required test cases exponentially.
- Non-convexity: The domain has concave regions or irregular shapes, which can hide errors within the "dents" of the boundary.
- Boundary Overlap or Ambiguity: Boundaries may be defined by complex logical conditions that lead to ambiguous regions where it is unclear whether a point belongs to the domain or not.
Write limitations of KV charts.
Answer
Sign in to view the complete answer paper.
Write testers comments about state graphs.
Answer
Sign in to view the complete answer paper.
Illustrate the matrix operations used in tool building?
Answer
Sign in to view the complete answer paper.
Part B
List and discuss different categories of bugs.
Answer
Sign in to view the complete answer paper.
Identify the consequences and the importance of bugs.
Answer
Sign in to view the complete answer paper.
Demonstrate the problem due to co-incidental correctness.
Answer
Sign in to view the complete answer paper.
Identify the components of a control flow diagram and compare the same with a flowchart.
Answer
Sign in to view the complete answer paper.
Visualize the transaction flow and data flow in a software system.
Answer
Sign in to view the complete answer paper.
Compare and analyze various strategies of data flow testing.
Answer
Sign in to view the complete answer paper.
List and describe the problems due to the incompatibility of domains.
Answer
Sign in to view the complete answer paper.
Demonstrate the data flow anomaly state graphs and control flow graphs.
Answer
Sign in to view the complete answer paper.
Differentiate between Structured and Un-structured flow graphs.
Answer
Sign in to view the complete answer paper.
How to transform specifications into sentences? Justify with your answer.
Answer
Sign in to view the complete answer paper.
Differentiate between Decision Table and Decision Tree.
Answer
Sign in to view the complete answer paper.
Calculate the probability of paths and discuss the need for finding the probabilities.
Answer
Sign in to view the complete answer paper.
Illustrate software implementation of state graphs.
Answer
Sign in to view the complete answer paper.
What are graph matrices and their applications? Explain in detail.
Answer
Sign in to view the complete answer paper.
Discuss in details about state testing.
Answer
Sign in to view the complete answer paper.
Explain different phases of tester’s mental life.
Answer
Sign in to view the complete answer paper.
Demonstrate the use of Win-runner testing tool.
Answer
Sign in to view the complete answer paper.
Give merits and demerits of different Graph Matrix representations.
Answer
Sign in to view the complete answer paper.
Illustrate all the steps in Node Reduction Procedure with help of neat labeled diagrams.
Answer
Sign in to view the complete answer paper.
Write about loops in matrix representation.
Answer
Sign in to view the complete answer paper.