How does Configuration Management support the maintenance phase of a software product?
- By automating code deployment
- By detecting code vulnerabilities
- By facilitating code reviews
- By tracking product versions
During the maintenance phase, the software may undergo several updates or patches. Configuration Management supports this phase by keeping track of various product versions and ensuring that any changes or fixes are made to the correct version, minimizing risks and ensuring the product's integrity.
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.
In Selenium, to automate browser interactions, testers use the _______ to write test scripts.
- JUnit
- Maven
- TestNG
- WebDriver
Selenium provides a tool named WebDriver, which allows testers to write scripts that can automate browser interactions. WebDriver provides a simple API to interact with browsers, making it easier for testers to create automation scripts for web applications without having to know intricate browser details.
When assessing the colors, fonts, and images in an application to ensure a positive user experience, which type of testing are you most likely conducting?
- Compatibility Testing
- GUI Testing
- Load Testing
- Security Testing
GUI (Graphical User Interface) Testing primarily focuses on the visual aspects of an application, ensuring that the colors, fonts, images, and other UI elements are presented correctly and provide a positive and consistent user experience. This helps in making the application visually appealing and user-friendly.
Which advanced black-box testing technique involves testing the application by understanding its functionality and without knowing its internal structures?
- Equivalence Partitioning
- Exploratory Testing
- Functional Testing
- Gray Box Testing
Gray Box Testing is an advanced testing method where the tester has partial knowledge of an application's internal workings. The tester understands the application's functionality but doesn't delve deep into its internal structures, making it a blend of black and white-box testing.
A(n) _______ is a formal type of review where the reviewers are selected based on their expertise, and the process is well-defined.
- Ad-hoc review
- Inspection
- Pair Programming
- Walkthrough
An inspection is a formal type of review wherein the process is structured and predetermined. The reviewers are chosen for their specific expertise and are required to go through the material thoroughly. It's more formal than other types of reviews like walkthroughs.
In risk assessment, the overall risk score is often calculated by multiplying the risk's likelihood by its _______.
- cost
- duration
- impact
- time
The overall risk score, commonly referred to as the "Risk Exposure," is determined by multiplying a risk's likelihood (or probability) with its impact. This provides a quantitative measure that aids in understanding the potential severity of the risk, allowing for more informed decision-making.
The process where real users try out prototypes of the design to identify usability flaws before the design is finalized is called _______.
- Alpha Testing
- Prototype Testing
- Usability Testing
- User Experience Testing
Usability Testing is a technique used to evaluate a product by testing it on users. In this phase, real users interact with prototypes of the design to uncover potential usability flaws. This helps ensure that the end product is user-friendly and offers a good user experience before finalizing the design.