Which of the following options cover the test types performed during typical system testing phase:
Correct Answer:
B
System testing is a level of testing performed to evaluate the behavior and quality of a whole software product or system. System testing can include various types of testing, such as:
✑ I) Usability testing: A type of testing that evaluates how easy, efficient and satisfying it is to use the software product or system from the user’s perspective.
✑ II) Requirements based scenarios testing: A type of testing that verifies that the software product or system meets its specified requirements or user stories by executing realistic scenarios or workflows. System testing does not include the following types of testing, as they are more suitable for lower levels of testing, such as unit testing or integration testing:
✑ III) Testing parts of the code in isolation: A type of testing that verifies the functionality and quality of individual software components or units by isolating them from other components or units.
✑ IV) Correct order of parameters in API calls: A type of testing that verifies the functionality and quality of software components or units that communicate with each other through application programming interfaces (APIs) by checking the correct order and format of parameters in API calls. Verified References: [A Study Guide to the ISTQB® Foundation Level 2018 Syllabus - Springer], Chapter 2, page 20-21; Chapter 4, page 34-35.
A bank offers a savings account with various interest rates based on the current balance in the account. The balance ranges and respective interest rates are:
Up to $100.00 =2%
$100.01 to $500.00 = 4%
$500.01 to $1,000.00 = 5
Correct Answer:
B
Boundary Value Analysis (BVA) is a software testing technique in which tests are designed to include values at the boundaries. The concept is to focus on the boundaries since errors tend to occur at the edges of input ranges rather than in the middle.
Given the problem statement:
✑ Up to $100.00 = 2%
✑ $100.01 to $500.00 = 4%
✑ $500.01 to $1,000.00 = 5%
✑ Above $1,000.00 = 7%
Two-point boundary value analysis means testing the two boundaries of each range. For each range:
✑ The boundaries for "Up to $100.00" would be $100.00 and $100.01.
✑ The boundaries for "$100.01 to $500.00" would be $100.00 and $500.00.
✑ The boundaries for "$500.01 to $1,000.00" would be $500.00 and $1,000.00.
✑ The boundaries for "Above $1,000.00" would be $1,000.00 and $1,000.01. Now, let's examine the options:
✑ A. $5.00, $100.00, $499.99, $1,000.00, $1,000.01
✑ B. $100.00, $100.01, $100.02, $500.00, $999.99
✑ C. $100.00, $500.00, $1,000.00, $1,000.01
✑ D. $5.00, $100.00, $500.00, $1,000.01
Given the options, B provides the highest boundary coverage (ISTQB not-for-profit association) (Udemy).
References:
✑ Certified Tester Foundation Level v4.0
✑ 10 Sample Exams ISTQB Foundation Level (CTFL) v4.0
A program got 100
Correct Answer:
A
If a program got 100
The following requirement is given “Set X to be the sum of Y and Z”. All the following four implementations have bugs.
Which one of the following bugs can be caught by Static Analysis?
Correct Answer:
A
Static analysis is a technique that analyzes the source code or other software artifacts without executing them. Static analysis can detect defects such as syntax errors, coding standards violations, potential security vulnerabilities, or logical flaws. Static analysis can catch the bug in the first implementation, as it contains two syntax errors: the variable y is declared twice, and the assignment statement X = y=z is invalid. Static analysis cannot catch the bugs in the other three implementations, as they are logical errors that do not violate any syntax rules, but produce incorrect results. Verified References: [A Study Guide to the ISTQB® Foundation Level 2018 Syllabus - Springer], Chapter 3, page 25-26.
A system has a self-diagnostics module that starts executing after the system is reset. The diagnostics are running 12 different tests on the systems memory hardware. The following is one of the requirements set for the diagnostics module:
'The time taking the diagnostics tests to execute shall be less than 2 seconds' Which of the following is a failure related to the specified requirement?
Correct Answer:
B
A failure is an event in which a component or system does not perform a required function within specified limits1. A requirement is a condition or capability needed by a user to solve a problem or achieve an objective2. In this case, the requirement is that the diagnostics tests should execute in less than 2 seconds. Therefore, any event that violates this requirement is a failure. The only option that clearly violates this requirement is B. The diagnostic tests take too much time to execute. If the diagnostic tests take more than 2 seconds to complete, then they do not meet the specified limit and thus fail. The other options are not necessarily failures related to the specified requirement. Option A. The diagnostic tests fail to start after a system reset is a failure, but not related to the time limit. It is related to the functionality of the self-diagnostics module. Option C. The diagnostic tests that measure the speed of the memory, fail is also a failure, but not related to the time limit. It is related to the accuracy of the memory tests. Option D. The diagnostic tests fail due to incorrect implementation of the test code is also a failure, but not related to
the time limit. It is related to the quality of the test code. References = ISTQB® Certified Tester Foundation Level Syllabus v4.0, Requirements Engineering Fundamentals.