Which TWO of the following are benefits of continuous integration?
I Allows earlier detection and easier root cause analysis of integration problems and conflicting changes.
II Removes the need for manual test analysis, design and execution.
Hi. Removes the dependency on automated regression packs when integrating larger systems, or components.
iv. Gives the development team regular feedback on whether the code is working.
Select the correct answer:
Answer : A
The benefits of continuous integration include: i. Allows earlier detection and easier root cause analysis of integration problems and conflicting changes. iv. Gives the development team regular feedback on whether the code is working. These benefits help in maintaining the stability and quality of the codebase by integrating and testing changes frequently and providing quick feedback to developers.
Which of the following statements best describe Behavior-Driven Development (BDD)?
Answer : A
Behavior-Driven Development (BDD) is a collaborative approach that enhances communication among project stakeholders, including developers, testers, and business analysts. It involves defining how software should behave through examples written in a common language understandable by all stakeholders, often using the Given-When-Then format.
Which statement is true regarding confirmation testing and regression testing?
Answer : C
Confirmation testing, also known as retesting, is conducted to verify that specific defects have been fixed. Regression testing, on the other hand, is performed to ensure that recent changes have not adversely affected existing features of the software. Both types of testing are crucial for maintaining the integrity and quality of the software after modifications.
Select which of the following statements describe the key principles of software testing?
i. Testing shows the presence of defects, not their absence.
ii. Testing everything Is possible.
iii. Early testing Is more expensive and is a waste of time.
iv. Defects cluster together.
v. Testing is context dependent.
vi. Beware of the pesticide paradox.
vii. Absence of errors is a fallacy.
Select the correct answer:
Answer : A
The key principles of software testing include: i. Testing shows the presence of defects, not their absence. iv. Defects cluster together. v. Testing is context dependent. vi. Beware of the pesticide paradox. vii. Absence of errors is a fallacy. These principles highlight the importance of recognizing the limitations and context of testing, as well as the potential for repeated tests to become less effective.
You are testing a system that is used in motor vehicles to warn the driver of an obstacle when re-versing. Output is provided by a series of LED lights (green, yellow, and red), each illuminated based on clearly defined conditions.
The following summary describes the functionality:
* Object within 10 metres, green LED lit.
* Object within 5 metres, yellow LED lit.
* Object within 1 metre, red LED lit.
* Setting sensitivity mode to "ON" will result in only the red LED being lit when the object is within 1 metre.
The following decision table describes the rules associated with the functioning of this proximity warning system:
Which intended functionality is tested by Rule 5 in the decision table?
Answer : D
Rule 5 in the decision table indicates that when the object is within 5 metres of the vehicle and the sensitivity mode is switched 'on', no LED is lit. This matches the conditions and actions described in the decision table provided, ensuring that only the red LED is lit when the sensitivity mode is on and the object is within 1 metre, otherwise no LED is lit .
To be able to define testable acceptance criteria, specific topics need to be addressed. In the table below are the topics matched to an incorrect description. Match the topics (the left column) with the correct description (the right column)
Topic Description
A: Functional behaviour A: How the system performs the specific behaviour.
8: Quality characteristics B: A sequence of actions between an external actor and the system, to accomplish a specific goal or business task.
C: Scenarios C: The externally observable behaviour with user actions as input operating under certain configurations.
D: Business rules D; Description of the connections between the system to be developed and the outside world.
E: External interfaces E: Activities that can only be performed in the system under certain conditions defined by outside procedures and constraints.
Answer : A
The correct matching of the topics with their descriptions is as follows:
Functional behaviour: The externally observable behaviour with user actions as input operating under certain configurations (A to C).
Quality characteristics: How the system performs the specific behaviour (B to A).
Scenarios: A sequence of actions between an external actor and the system, to accomplish a specific goal or business task (C to B).
Business rules: Activities that can only be performed in the system under certain conditions defined by outside procedures and constraints (D to E).
External interfaces: Description of the connections between the system to be developed and the outside world (E to D).
Metrics can be collected during and at the end of testing activities to assess which of the following?
i. Progress against the planned schedule and budget.
II Current quality of the test object.
Hi. Adequacy of the test approach.
iv. Effectiveness of the test activities with respect to the objectives.
v. All the above.
Select the correct answer:
Answer : D
Metrics can be collected during and at the end of testing activities to assess various aspects including progress against the planned schedule and budget, the current quality of the test object, the adequacy of the test approach, and the effectiveness of the test activities with respect to the objectives. Collecting these metrics helps in understanding the overall performance and quality of the testing process.