View Full ISTQB CTFL v4.0 Exam Dumps and Practice Test Dumps
Question 101
Which test level primarily focuses on interactions between integrated software components?
- Integration testing
- Component testing
- Acceptance testing
- System testing
Correct Answer: 1
Explanation:
Integration testing focuses on interactions and interfaces between components or systems. Its purpose is to detect defects that may occur when separately developed elements communicate or depend on one another. These defects can involve incorrect interfaces, data exchange problems, communication failures, or unexpected interactions. Component testing concentrates on individual components, while system testing evaluates the behavior of the complete system. Acceptance testing focuses on whether the system satisfies business or user needs. The exact scope of integration testing depends on the architecture and test level being considered, but interaction-related risks are its central concern.
Question 102
What is the main objective of system testing within the software lifecycle?
- Verify individual methods
- Evaluate the complete system
- Check isolated functions
- Inspect source comments
Correct Answer: 2
Explanation:
System testing evaluates the behavior and quality of a complete system against specified requirements and other relevant expectations. It considers the system as an integrated whole rather than concentrating only on individual components. Depending on the context, system testing can cover functional and non-functional characteristics such as usability, performance, security, or compatibility. Component testing examines smaller units, while integration testing concentrates on interactions between integrated elements. System testing provides broader evidence about whether the developed system behaves as intended in an environment that represents its intended use.
Question 103
Which test level is most closely associated with validating individual software components?
- System testing
- Acceptance testing
- Component testing
- Integration testing
Correct Answer: 3
Explanation:
Component testing focuses on individual software components, often before they are integrated with other parts of the system. A component can be a small unit, class, module, or another independently testable element, depending on the architecture. Component tests commonly examine the component’s behavior using inputs and expected results defined from relevant specifications or code. Integration testing instead examines interactions among components or systems. System testing evaluates the complete integrated product, while acceptance testing addresses whether the system meets business or user needs. Component testing can therefore provide early feedback about defects within individual pieces of software.
Question 104
Which test level is most concerned with whether the product satisfies business needs?
- Component testing
- Integration testing
- System testing
- Acceptance testing
Correct Answer: 4
Explanation:
Acceptance testing evaluates whether a system or product satisfies business, user, or other acceptance needs. It can provide stakeholders with information about whether the product is suitable for its intended use. Acceptance testing may be performed by users, customers, or other authorized stakeholders, sometimes with support from testers. System testing examines the integrated system against specified requirements and quality characteristics, while lower test levels focus on components and interactions. Acceptance testing does not simply repeat lower-level testing; it provides evidence related to business expectations and conditions for accepting the product.
Question 105
Which testing characteristic evaluates how easily users can learn and operate the software?
- Reliability
- Usability
- Portability
- Maintainability
Correct Answer: 2
Explanation:
Usability concerns how effectively, efficiently, and satisfactorily specified users can achieve specified goals in a particular context of use. Testing usability can examine aspects such as ease of learning, ease of operation, understandability, and user interaction. Reliability instead concerns the ability of a system to perform consistently under specified conditions. Maintainability relates to how easily the software can be modified, and portability concerns the ability to adapt or transfer the software between environments. Usability testing can involve representative users performing realistic tasks while testers collect observations, feedback, and other relevant evidence.
Question 106
Which quality characteristic addresses the ability to recover after a failure?
- Compatibility
- Usability
- Reliability
- Portability
Correct Answer: 3
Explanation:
Reliability includes characteristics concerned with the ability of a system to perform specified functions consistently under specified conditions. One aspect of reliability is recoverability, which concerns the ability to recover data and restore the desired state after a failure. Reliability testing can therefore investigate behavior under conditions such as repeated operation, fault situations, or recovery scenarios. Compatibility addresses coexistence and interaction with other environments or systems. Usability focuses on user interaction, while portability concerns adaptation or transfer between environments. The specific reliability attributes evaluated depend on the product and its intended operational context.
Question 107
Which quality characteristic concerns the ease of modifying software safely?
- Security
- Performance efficiency
- Maintainability
- Functional suitability
Correct Answer: 3
Explanation:
Maintainability concerns how effectively and efficiently software can be modified. Changes may involve correcting defects, improving existing functionality, adapting the system, or making other modifications. Maintainability can be influenced by factors such as modularity, analyzability, testability, and the complexity of the software. Functional suitability instead addresses whether the provided functions meet stated needs. Performance efficiency concerns resource usage and performance under specified conditions, while security addresses protection of information and systems. Testing maintainability can include evaluating characteristics that affect the effort and risk associated with understanding, changing, and verifying software.
Question 108
Which quality characteristic addresses protection against unauthorized access to information?
- Portability
- Security
- Usability
- Compatibility
Correct Answer: 2
Explanation:
Security concerns the protection of information and systems against unauthorized access, use, modification, disclosure, disruption, or destruction. Security testing can examine controls such as authentication, authorization, confidentiality, integrity, and other relevant security mechanisms. Usability concerns interaction with users, while portability focuses on movement or adaptation across environments. Compatibility addresses the ability of software to coexist and interact with other products or systems. Security risks can have significant consequences, so testing should be planned according to the product’s context, threats, applicable requirements, and organizational risk tolerance.
Question 109
Which testing type examines whether software behaves according to specified functional requirements?
- Functional testing
- Performance testing
- Usability testing
- Security testing
Correct Answer: 1
Explanation:
Functional testing evaluates whether software performs functions according to specified requirements or other defined sources of expected behavior. It can examine inputs, outputs, business rules, calculations, interactions, and other functional characteristics. Functional testing can be performed at different test levels and using different techniques. Performance testing instead examines characteristics related to performance efficiency, while usability testing focuses on user interaction and security testing addresses protection against threats and unauthorized activity. Functional testing therefore answers an important question: does the system provide the required behavior under the specified conditions?
Question 110
Which testing type evaluates system behavior under varying workloads?
- Usability testing
- Security testing
- Compatibility testing
- Performance testing
Correct Answer: 4
Explanation:
Performance testing evaluates characteristics related to how a system behaves under specified conditions. Workload can be varied to examine response times, throughput, resource utilization, scalability, or other performance-related measures. Different performance testing approaches can investigate normal, increased, or extreme workloads depending on the objective. Performance testing is not limited to measuring speed; it can provide information about whether the system continues to meet relevant performance expectations as conditions change. The appropriate workload, environment, and measures should reflect realistic usage patterns and the risks associated with the product.
Question 111
Which testing type checks whether software can operate effectively across different environments?
- Functional testing
- Compatibility testing
- Component testing
- Recovery testing
Correct Answer: 2
Explanation:
Compatibility testing examines whether software can operate effectively in relation to other systems, environments, or specified configurations. Depending on the context, this may involve different operating systems, browsers, devices, hardware configurations, software versions, or interactions with other products. Compatibility is particularly relevant when users are expected to work across varied technical environments. Functional testing concentrates on required behavior, while component testing focuses on individual software elements. Recovery testing examines behavior after failures. Compatibility testing therefore helps identify environment-specific problems that may not appear when software is evaluated in only one configuration.
Question 112
What is a key characteristic of white-box testing techniques?
- They require customer approval
- They focus only on interfaces
- They use internal structure
- They avoid coverage measures
Correct Answer: 3
Explanation:
White-box testing techniques use the internal structure or implementation of the software as a basis for test design. Examples include statement testing and branch testing, where tests are designed to exercise structural elements of the code. These techniques can provide useful coverage information and help identify areas that may not be exercised by tests derived only from external behavior. White-box testing does not require customer approval and is not restricted to interfaces. It complements black-box techniques by providing a different perspective on test coverage and potential weaknesses in the implementation.
Question 113
Which black-box technique divides input data into groups expected to behave similarly?
- Branch testing
- Statement testing
- Equivalence partitioning
- Code inspection
Correct Answer: 3
Explanation:
Equivalence partitioning divides data into partitions whose members are expected to be processed similarly by the software. Test cases can then be selected from these partitions rather than testing every possible input value. Partitions can include valid and invalid groups depending on the specification. This technique helps reduce the number of test cases while maintaining meaningful coverage of different input categories. Unlike white-box techniques, equivalence partitioning does not require knowledge of the internal code structure. It is a black-box technique because the test design is based primarily on the externally observable behavior and relevant test basis.
Question 114
Which test design technique is especially useful for examining combinations of conditions and resulting actions?
- State transition testing
- Use case testing
- Boundary analysis
- Decision table testing
Correct Answer: 4
Explanation:
Decision table testing is useful when system behavior depends on combinations of conditions. A decision table represents relevant conditions and the actions that should occur for particular combinations. Test cases can then be derived from the table to verify that the implemented behavior matches the specified rules. This technique is particularly helpful for business rules involving multiple conditions because manually reasoning about every combination can be difficult. State transition testing focuses on changes between states, while boundary analysis examines values around boundaries. Decision tables therefore provide a structured way to test complex conditional logic.
Question 115
Which technique is appropriate when expected behavior depends on the current state of the system?
- State transition testing
- Equivalence partitioning
- Statement testing
- Error guessing
Correct Answer: 1
Explanation:
State transition testing is appropriate when system behavior depends on its current state and events cause transitions between states. Examples include account status changes, workflow stages, device modes, or authentication states. Test cases can examine valid and invalid transitions, state changes, and resulting behavior. This technique is valuable when the same input can produce different outcomes depending on the system’s current state. Equivalence partitioning instead groups similar input values, while statement testing examines code execution and error guessing uses tester experience. State transition testing provides a structured way to evaluate state-dependent behavior.
Question 116
What does statement coverage measure during structural testing?
- Requirement completeness
- Executed statements
- User satisfaction
- Defect severity
Correct Answer: 2
Explanation:
Statement coverage measures the proportion of executable statements that have been exercised by the tests. It is a white-box coverage measure because it depends on the internal structure of the code. Statement coverage can reveal parts of the implementation that have not been executed, helping testers identify areas requiring additional tests. However, achieving high statement coverage does not prove that all important behaviors or combinations have been tested. Branch coverage provides another structural measure by considering decision outcomes. Coverage measures should therefore be interpreted with the relevant test objectives and risks rather than treated as proof of complete testing.
Question 117
Which technique uses tester experience to anticipate likely defects?
- Decision table testing
- State transition testing
- Error guessing
- Boundary value analysis
Correct Answer: 3
Explanation:
Error guessing is an experience-based test technique in which testers use knowledge of common defects, previous failures, system behavior, and personal experience to identify areas that may be error-prone. The tester then designs tests intended to expose those likely problems. Unlike systematic black-box techniques, error guessing does not depend on a single formal model for deriving all tests. Its effectiveness can vary according to the tester’s knowledge and experience. It can complement other techniques by targeting situations that may otherwise receive insufficient attention, particularly when historical defect patterns are known.
Question 118
What distinguishes exploratory testing from a fully scripted testing approach?
- Tests are never documented
- Results are always predictable
- Execution and learning guide further tests
- Requirements are automatically generated
Correct Answer: 3
Explanation:
Exploratory testing involves simultaneous learning, test design, and test execution. Testers use information gained during testing to guide subsequent investigation. This makes exploratory testing adaptable when requirements are incomplete, changing, or when additional learning about the product is valuable. Exploratory testing does not mean that testers never document their work. Notes, observations, defects, and test ideas can still be recorded. Unlike a fully scripted approach, exploratory testing allows the tester’s observations and discoveries during execution to influence the next testing activities. It can therefore uncover unexpected issues that predetermined scripts may not anticipate.
Question 119
Which technique uses predefined items to guide consistent testing?
- Checklist-based testing
- Branch testing
- State testing
- Performance testing
Correct Answer: 1
Explanation:
Checklist-based testing uses a predefined list of items, questions, conditions, or considerations to guide test activities. The checklist can be based on organizational knowledge, standards, previous defects, common risks, or expert experience. Testers use it to help ensure that important areas are not overlooked. Checklists can be especially useful for repetitive testing or when consistency across testers is important. They may need regular maintenance because outdated checklist items can become less useful. Unlike branch testing, checklist-based testing does not require access to the internal code structure.
Question 120
Why can combining multiple test techniques improve test coverage?
- One technique finds every defect
- Different techniques expose different risks
- Techniques eliminate the need for reviews
- Coverage becomes automatically complete
Correct Answer: 2
Explanation:
Different test techniques provide different perspectives on the software and can expose different categories of problems. For example, equivalence partitioning can address input groups, boundary analysis can target values near limits, decision tables can examine combinations of conditions, and structural techniques can exercise internal code elements. Combining techniques can therefore provide broader and more meaningful coverage than relying on one approach alone. However, no combination guarantees that every defect will be found or that testing is complete. Technique selection should consider the test basis, risks, objectives, product characteristics, and available resources.