Software Test
Software Test
Performance testing checks the speed, stability, and scalability of software under a specific workload. It ensures the system
responds quickly and remains stable under stress. Types include Load Testing, Stress Testing, and Soak Testing. The main goal is
to identify bottlenecks before deployment.
Phases of STLC:
1. Requirement Analysis
o QA team studies and understands the testing requirements.
o Identifies testable features and potential testing types needed.
2. Test Planning
o Creates the test plan and strategy.
o Defines scope, objectives, resources, schedule, and tools.
3. Test Case Design/Development
o Test cases and test data are created based on requirements.
o Review and approval of test cases are done.
4. Test Environment Setup
o Prepares hardware and software conditions for testing.
o Ensures the environment mimics the production system.
5. Test Execution
o Testers run the test cases and record the results.
o Defects are reported and tracked.
6. Test Cycle Closure
o Evaluates test completion criteria.
o Prepares test summary report and metrics.
19) Cyclomatic Complexity of a Code That Accepts 3 Integers and Prints Highest and Lowest
Cyclomatic Complexity (CC) is calculated using the formula:
CC = E - N + 2P
Where:
E = number of edges
N = number of nodes
P = number of connected components (usually 1 for a single program)