ISTQB Certified Tester Foundation Level (CTFL) v4.0 Questions and Answers
Question 85
Which of the following statements refers to a good testing practice that applies to all software development lifecycles?
Options:
A.
Each test level should have its own specific test objectives that should be consistent with the software development lifecycle phase or type of activities it addresses.
B.
Test analysis and design for any test levels should begin as soon as coding is complete, and all system components are available for testing
C.
The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.
D.
All the tests should be automated and run as part of the continuous integration process with every software change
Answer:
A
Explanation:
Good testing practice dictates that each test level (e.g., unit testing, integration testing, system testing) should have distinct test objectives aligned with the phase of the software development lifecycle it addresses. This ensures that testing is effective and relevant at each stage. According to the ISTQB CTFL Syllabus v4.0, establishing clear test objectives that are consistent with the development phase helps in achieving specific goals and improving the overall quality of the software product​​.
Question 86
Which or the following would be a key difference between a peer review of code and static analysis of code using a tool?
Options:
A.
A peer reviews finds defects while static analysis finds failures.
B.
Static analysis targets the code technically whereas Peer review is applicable to further aspects.
C.
Peer reviews cannot find missing requirements whereas static analysis can
D.
A peer reviews find failures while static analysis finds defects.
Answer:
B
Explanation:
The key difference between a peer review of code and static analysis of code using a tool lies in their approaches and scope. A peer review is a manual inspection of the code by peers or colleagues, focusing not only on the technical aspects of the code but also on other elements such as design, compliance with standards, and maintainability. Peer reviews can identify defects, suggest improvements, and ensure that the code adheres to best practices and team standards.
On the other hand, static analysis is an automated process performed by tools designed to analyze the code without executing it. These tools can detect potential issues such as syntax errors, vulnerabilities, and code smells based on predefined rules and patterns. While static analysis is technically focused, it lacks the broader perspective that human reviewers can provide, such as evaluating the code's maintainability or adherence to project-specific standards. Therefore, static analysis targets the code technically, whereas peer review encompasses a wider range of aspects, making option B the correct answer.