Which of the following statements about error guessing is true?
Correct Answer: D
This answer is correct because error guessing is a test design technique where the experience and intuition of the tester are used to anticipate where errors, defects and failures have occurred or are likely to occur, and to design test cases to expose them. Error guessing can be based on factors such as the complexity of the system or component, the known or suspected weaknesses of the system or component, the previous history of defects, or the common types of errors in the domain or technology. Error guessing can be used as a complementary technique to other more systematic or formal techniques, or when there is insufficient information or time to apply them. References: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.3.2.5
Question 67
Which of the following statements is true?
Correct Answer: B
Non-functional testing includes testing of both technical and non-technical quality characteristics. Non- functional testing is the process of testing the quality attributes of a system, such as performance, usability, security, reliability, etc. Non-functional testing can be applied at any test level and can use both black-box and white-box test techniques. Non-functional testing can cover both technical aspects, such as response time, throughput, resource consumption, etc., and non-technical aspects, such as user satisfaction, accessibility, compliance, etc. Therefore, option B is the correct answer. References: ISTQB Certified Tester Foundation Level Syllabus v4.01, Section 1.3.1, page 13; ISTQB Glossary v4.02, page 40.
Question 68
Which of the following statements about white-box testing is false?
Correct Answer: C
The statement "Achieving full code coverage for a component or a system ensures that it has been fully tested" is false because achieving full code coverage does not necessarily mean that all possible defects have been identified or that the system is free of bugs. Code coverage metrics, such as statement coverage, branch coverage, or path coverage, only measure the extent to which the source code has been executed during testing, but they do not guarantee that all logical paths or use cases have been exercised or that the code behaves correctly under all conditions. Full code coverage indicates that every line of code has been executed at least once, but it does not account for the quality of the test cases or their ability to detect defects. There can still be issues related to performance, usability, security, and other non-functional aspects that are not addressed by code coverage alone. References: The official ISTQBCTFL syllabus outlines the limitations of code coverage and emphasizes that while it is an important metric, it does not guarantee the absence of defects or that the software is fully tested.
Question 69
You are testing a room upgrade system for a hotel. The system accepts three differed types of room (increasing order of luxury): Platinum. Silver and Gold Luxury. ONLY a Preferred Guest Card holder s eligible for an upgrade. Below you can find the decision table defining the upgrade eligibility: What is the expected result for each of the following test cases? Customer A: Preference Guest Card holder, holding a Silver room Customer B: Non Preferred Guest Card holder, holding a Platinum room
Correct Answer: C
According to the decision table in the image, a Preferred Guest Card holder with a Silver room is eligible for an upgrade to Gold Luxury (YES), while a non-Preferred Guest Card holder, regardless of room type, is not eligible for any upgrade (NO). Therefore, Customer A (a Preferred Guest Card holder with a Silver room) would be offered an upgrade to Gold Luxury, and Customer B (a non-Preferred Guest Card holder with a Platinum room) would not be offered any upgrade. References = The answer is derived directly from the decision table provided in the image; specific ISTQB Certified Tester Foundation Level (CTFL) v4.0 documents are not referenced.
Question 70
A requirement specifies that if the total amount of sales (TAS) made during the year by a corporate seller is 300000€ or more, the bonus that must be paid to the seller is 100% of a certain amount agreed upon at the beginning of the year. The software contains a fault as it implements this requirement with the decision "IF (TAS = 300000)" instead of "IF (TAS >= 300000)". The application of the 3-value boundary value analysis to this problem consists of the following three test cases (TAS is an integer variable): TC1 = 299999 TC2=300000 TC3=300001 Which of the following statements is true?
Correct Answer: C
The problem described involves a software implementation error in a decision statement for calculating a bonus based on the Total Amount of Sales (TAS). The requirement states that if TAS is 300,000€ or more, a bonus should be paid. However, the software incorrectly implements this with "IF (TAS = 300000)" instead of "IF (TAS >= 300000)". Applying Boundary Value Analysis (BVA) to this situation involves selecting test cases at the boundaries of the input domain, including just below, at, and just above the boundary conditions. * Test Case TC1 = 299999: * This value is just below the boundary (300,000). * Expected Result: No bonus should be paid. * Actual Result: No bonus paid. * TC1does not highlight the fault because the implemented condition "IF (TAS = 300000)" and the correct condition "IF (TAS >= 300000)" both yield the same result (no bonus). * Test Case TC2 = 300000: * This value is exactly at the boundary. * Expected Result: Bonus should be paid. * Actual Result: Bonus paid. * TC2does not highlight the fault because the implemented condition "IF (TAS = 300000)" and the correct condition "IF (TAS >= 300000)" both yield the same result (bonus paid). * Test Case TC3 = 300001: * This value is just above the boundary. * Expected Result: Bonus should be paid. * Actual Result: No bonus paid due to the incorrect implementation. * TC3highlights the fault because the implemented condition "IF (TAS = 300000)" fails to pay the bonus, whereas the correct condition "IF (TAS >= 300000)" would pay the bonus. * BVA focuses on the edges of input ranges where errors are more likely. * The critical values are just below, at, and just above the boundary. Boundary Value Analysis (BVA):Verification:According to the ISTQB CTFL syllabus, BVA is an essential technique for identifying potential errors at the boundaries of input ranges. This is because developers are more likely to make mistakes at these extremes. Therefore,TC3 (300001)is the test case that would highlight the fault in the software's implementation of the decision condition.