While automated tests are excellent for repetitive tasks, _______ testing is often needed for exploratory and usability checks.
- black-box
- load
- manual
- white-box
While automated tests can efficiently handle repetitive tasks, manual testing is indispensable for exploratory testing (where testers actively explore the application to identify issues) and usability checks to ensure a user-friendly experience.
The bug status that signifies that the bug is currently being worked upon to be resolved is termed as _______.
- Assigned
- Closed
- Open
- Verified
The "Assigned" bug status signifies that the bug has been assigned to a developer and is currently being addressed. "Open" means the bug has been recognized but might not be attended to yet. "Closed" denotes that the bug has been resolved. "Verified" signifies that the tester has verified the fix.
How does cyclomatic complexity assist in white-box testing?
- Assesses risk in code logic
- Counts number of defects
- Determines code coverage needs
- Measures code readability
Cyclomatic complexity, introduced by Thomas McCabe, quantifies the complexity of a program by calculating the number of linearly independent paths through the source code. A higher cyclomatic value indicates a complex program with many branches, which may require more extensive testing to ensure each path is evaluated. It aids testers in assessing risks associated with the intricate logic of the code.
As a network administrator, you receive a report from your vulnerability scanner that a certain service is running on an open port which shouldn't be. What immediate action should be considered?
- Disable the service
- Increase firewall settings
- Monitor network traffic
- Run a malware scan
Disabling the service is the immediate action to consider when an unauthorized service is running on an open port. This will prevent potential exploitation while the situation is further assessed. Running a malware scan is important, but the immediate threat is mitigated by stopping the service.
Functional testing for mobile apps often includes validating the app's _______ to ensure they produce the desired outcomes.
- colors
- developers
- features
- sizes
Functional testing aims to validate the app's features by ensuring they function according to specified requirements. It verifies each function of the software application by feeding them input and examining the output.
How does the "V-model" in SDLC differentiate from the traditional waterfall model in terms of testing integration?
- V-model doesn't involve testing
- V-model has testing after deployment
- V-model integrates testing in parallel to development
- V-model only includes unit testing
In the V-model, each development stage corresponds to a testing phase. As the development progresses downwards on the left side of the "V", testing activities are prepared. When development reaches integration and system levels, the testing phases commence upwards on the right side of the "V". This ensures that testing is integrated in parallel with development, unlike the Waterfall model where testing happens after the entire development phase.
When risks are too high and cannot be mitigated, a project might employ a risk _______ strategy to avoid the risk entirely.
- acceptance
- avoidance
- deflection
- transference
The risk avoidance strategy involves taking actions to remove the threat or condition that represents the risk entirely, essentially ensuring that the risk event doesn't occur. This strategy is employed when risks are deemed too high and cannot be mitigated.
QTP, now known as _______ , is a proprietary tool used for functional and regression testing.
- Quality Test Professional
- Quality Testing Prime
- QuickTech Pro
- Unified Functional Testing
QTP stands for QuickTest Professional. However, it was later rebranded by Hewlett-Packard (HP) as "Unified Functional Testing" (UFT). UFT provides a comprehensive solution for functional and regression testing and is one of the most popular tools in the testing industry for automating GUI testing tasks.
In the STLC, what factors determine the exit criteria of a testing phase?
- Customer feedback
- Number of test cases passed
- Personal judgment of testers
- Pre-defined set of conditions achieved
Exit criteria in the Software Testing Life Cycle (STLC) are a pre-defined set of conditions or metrics which must be achieved to conclude a testing phase. These conditions could include factors like achieving a certain percentage of test coverage, a limited number of high-severity defects remaining open, meeting performance benchmarks, etc. Having a clear exit criteria ensures that a testing phase achieves its intended quality objectives before moving to the next phase.
In white-box testing, which technique involves ensuring that every decision point (true and false) has been executed at least once?
- Cyclomatic Complexity
- Decision Coverage
- Path Coverage
- Statement Coverage
Decision Coverage in white-box testing ensures that each decision point or branch has been executed for both 'true' and 'false' conditions. It is more robust than simple statement coverage because it ensures that each decision leads the control flow in both directions.