Consider that a user makes an online purchase by making payment through a payment gateway,
after the payment is successful, the user is sent back to the e-commerce website with an order
confirmation. Which type of transition would take place in the Application Transition Graph (ATG)
in this scenario?
6406536034510.
Form Link Transition
6406536034511.
Redirect Transition
6406536034512.
Operational Transition
6406536034513.
Simple Link Transition
A published solution is not available for this question yet.
The program outputs Laptop 11, 0 units, instead of Laptop 11, 35 units.
It is because the inherited method Laptop::setStockQuantity does not call Product::setStockQuantity and
therefore does not define the instance variable stockQuantity in Item.
Which of the following types of anomalies or faults are present in the given scenario?
6406536034518.
State Visibility Anomaly (SVA)
6406536034519.
State Definition Anomaly (SDA)
6406536034520.
State Definition Inconsistency Anomaly (SDIA)
6406536034521.
Inconsistent Type Use (ITU)
A published solution is not available for this question yet.
Consider that a mutant is created by deleting the statement super(value); in LINE-15. Which of the
following mutation operators is used to create the mutant?
6406536034530.
Hiding Variable Insertion (HVI)
6406536034531.
Parent Constructor Deletion (PCD)
6406536034532.
Overriding Method Deletion (OMD)
6406536034533.
Super Keyword Deletion (SKD)
A published solution is not available for this question yet.
Consider the following code segment for symbolic execution.
Assume that
respresents the symbolic value for the variable x in the method void verify(int x).
Which of the following path constraints would reach the abort() call at LINE-1?
Consider test-driven development (TDD) of a software program that works with geometric objects.
The implementation for the method TriangleType::type should identify the type of the triangle based
on the given side lengths.
The following is a test case for this method.
Which of the following are correct implementations of the method?