ExamGecko
Home Home / ISTQB / CTFL4

ISTQB CTFL4 Practice Test - Questions Answers, Page 20

Question list
Search
Search

List of questions

Search

Related questions











A virtual service emulating a real third-party service and the automated test scripts (aimed at testing the system under test) that interact with that service, are test work products that are typically created during:

A.
Test monitoring and control
A.
Test monitoring and control
Answers
B.
Test implementation
B.
Test implementation
Answers
C.
Test design
C.
Test design
Answers
D.
Test analysis
D.
Test analysis
Answers
Suggested answer: B

Explanation:

This answer is correct because test implementation is the activity where test work products, such as test cases, test data, test scripts, test harnesses, test stubs, or virtual services, are created and verified. Test implementation also involves setting up the test environment and preparing the test execution schedule. A virtual service emulating a real third-party service and the automated test scripts that interact with that service are examples of test work products that are typically created during test implementation.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.2.2.3

The following rules determine the annual bonus to be paid to a salesman of a company based on the total annual amount of the sales made (referred to as TAS).

If the TAS is between 50k and 80k, the bonus is 10%. If the TAS exceeds 80k by a value not greater than 40k, the bonus is 15%. Finally, if the TAS

exceeds the maximum threshold which entitles to a 15% bonus, the bonus is 22%.

Consider applying equivalence partitioning to the TAS (Note: 1k = 1000 euros).

Which one of the following answers contain only test cases that belong to the same equivalence partition?

A.
TC1 = 81 k; TC2= 97k; TC3=111k; TC4=118k
A.
TC1 = 81 k; TC2= 97k; TC3=111k; TC4=118k
Answers
B.
TC1 = 40k; TC2= 46k; TC3=51k; TC4=53k
B.
TC1 = 40k; TC2= 46k; TC3=51k; TC4=53k
Answers
C.
TC1 = 79k; TC2= 80k; TC3=81k; TC4=82k
C.
TC1 = 79k; TC2= 80k; TC3=81k; TC4=82k
Answers
D.
TC1 = 90k; TC2= 110k; TC3=125k: TC4=140k
D.
TC1 = 90k; TC2= 110k; TC3=125k: TC4=140k
Answers
Suggested answer: A

Explanation:

This answer is correct because equivalence partitioning is a test design technique that divides the input domain of a system or component into partitions of equivalent data, such that each partition is expected to produce the same output or behavior. Equivalence partitioning aims to reduce the number of test cases by selecting one representative value from each partition. In this case, the input domain of the TAS can be divided into four partitions based on the bonus rules: less than 50k, between 50k and 80k, between 80k and 120k, and more than 120k. The test cases in the answer belong to the same partition, which is between 80k and 120k, and they are expected to produce the same output, which is a bonus of 15%.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.3.2.1

A typical objective of testing is to ensure that:

A.
testing is used to drive the development of a software
A.
testing is used to drive the development of a software
Answers
B.
a software has been tested using a combination of test techniques
B.
a software has been tested using a combination of test techniques
Answers
C.
there are no defects in a software that is about to be released
C.
there are no defects in a software that is about to be released
Answers
D.
a software has been properly covered
D.
a software has been properly covered
Answers
Suggested answer: B

Explanation:

This answer is correct because a typical objective of testing is to ensure that a software has been tested using a combination of test techniques, such as black-box, white-box, or experience-based techniques, that are appropriate for the test objectives, test levels, and test types. Testing using a combination of test techniques can increase the effectiveness and efficiency of testing, as different techniques can target different aspects of the software quality, such as functionality, usability, performance, security, reliability, etc. Testing using a combination of test techniques can also reduce the risk of missing defects that could be detected by one technique but not by another.Reference: ISTQB Foundation Level Syllabus v4.0, Section 2.3.1.1, Section 2.3.2

Consider the following examples of risks identified in different software development projects:

[I]. The contrast color ratio for both normal text and large text of a website does not comply with the applicable accessibility guidelines, making it difficult for many users to read the content on the pages

[II]. A development vendor fails to deliver their software system on time, causing significant delays to system integration testing activities that have been planned as part of a development project for a system of systems

[III]. People in the test team do not have sufficient skills to automate tests at the test levels required by the test automation strategy which does not allow production of an effective regression test suite

[IV]. In a web application, data from untrusted sources is not subject to proper input validation, making the application vulnerable to several security attacks

Which of the following statements is true?

A.
[I] and [III] are product risks; [II] and [IV] are project risks
A.
[I] and [III] are product risks; [II] and [IV] are project risks
Answers
B.
[I] and [IV] are product risks. [II] and [III] are project risks
B.
[I] and [IV] are product risks. [II] and [III] are project risks
Answers
C.
[II], [III] and [IV] are product risks; [I] is a project risk
C.
[II], [III] and [IV] are product risks; [I] is a project risk
Answers
D.
[IV] is a product risk; [I]. [II] and [III] are project risks
D.
[IV] is a product risk; [I]. [II] and [III] are project risks
Answers
Suggested answer: B

Explanation:

This answer is correct because product risks are risks that affect the quality of the software product, such as defects, failures, or non-compliance with requirements or standards. Project risks are risks that affect the project's schedule, budget, resources, or scope, such as delays, cost overruns, skill gaps, or scope changes. In this case, [I] and [IV] are product risks, as they relate to the accessibility and security of the software product, which are quality attributes. [II] and [III] are project risks, as they relate to the delivery time and the test automation skills of the test team, which are project factors.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.1.1.1

Following a risk-based testing approach you have designed 10 tests to cover a product risk with a high-risk level. You want to estimate, adopting the three-point test estimation technique, the test effort required to reduce the risk level to zero by executing those 10 tests. You made the following three initial estimates:

* most optimistic = 6 person hours

* most likely = 30 person hours

* most pessimistic = 54 person hours

Based only on the given information, which of the following answers about the three-point test estimation technique applied to this problem is true?

A.
The final estimate is between 22 person hours and 38 person hours
A.
The final estimate is between 22 person hours and 38 person hours
Answers
B.
The final estimate is exactly 30 person hours because the technique uses the initial most likely estimate as the final estimate
B.
The final estimate is exactly 30 person hours because the technique uses the initial most likely estimate as the final estimate
Answers
C.
The final estimate is between 6 person hours and 54 person hours
C.
The final estimate is between 6 person hours and 54 person hours
Answers
D.
The final estimate is exactly 30 person hours because the technique uses the arithmetic mean of the three initial estimates as the final estimate
D.
The final estimate is exactly 30 person hours because the technique uses the arithmetic mean of the three initial estimates as the final estimate
Answers
Suggested answer: A

Explanation:

The three-point test estimation technique is a method of estimating the test effort based on three initial estimates: the most optimistic, the most likely, and the most pessimistic. The technique uses a weighted average of these three estimates to calculate the final estimate, which is also known as the expected value. The formula for the expected value is:

Expected value = (most optimistic + 4 * most likely + most pessimistic) / 6

Using the given values, the expected value is:

Expected value = (6 + 4 * 30 + 54) / 6 Expected value = 30 person hours

However, the expected value is not the only factor to consider when estimating the test effort. The technique also calculates the standard deviation, which is a measure of the variability or uncertainty of the estimates. The formula for the standard deviation is:

Standard deviation = (most pessimistic - most optimistic) / 6

Using the given values, the standard deviation is:

Standard deviation = (54 - 6) / 6 Standard deviation = 8 person hours

The standard deviation can be used to determine a range of possible values for the test effort, based on a certain level of confidence. For example, using a 68% confidence level, the range is:

Expected value standard deviation

Using the calculated values, the range is:

30 8 person hours

Therefore, the final estimate is between 22 person hours and 38 person hours, which is option A.

The acceptance criteria associated with a user story:

A.
are often written in a rule-oriented format using the template referred to as 'Given/When/Then'
A.
are often written in a rule-oriented format using the template referred to as 'Given/When/Then'
Answers
B.
are often documented following in rule-oriented format using the following template: 'As a [role], I want [feature], so that I can [benefit]'
B.
are often documented following in rule-oriented format using the following template: 'As a [role], I want [feature], so that I can [benefit]'
Answers
C.
can be written in different formats and represent an aspect of a user story referred to as confirmation' of the so called '3 C's'
C.
can be written in different formats and represent an aspect of a user story referred to as confirmation' of the so called '3 C's'
Answers
D.
must be written in one of the two following formats: scenario-oriented or rule-oriented
D.
must be written in one of the two following formats: scenario-oriented or rule-oriented
Answers
Suggested answer: C

Explanation:

The acceptance criteria associated with a user story are the conditions that must be met for the user story to be considered done and to deliver the expected value to the user. They are often written in different formats, such as rule-oriented, scenario-oriented, or table-oriented, depending on the nature and complexity of the user story. They represent an aspect of a user story referred to as confirmation, which is one of the so called ''3 C's'' of user stories. The other two aspects are card and conversation. Card refers to the concise and informal description of the user story, usually following the template: ''As a [role], I want [feature], so that I can [benefit]''. Conversation refers to the ongoing dialogue between the stakeholders and the team members to clarify and refine the user story and its acceptance criteria. Therefore, option C is the correct answer.

Consider a review for a high-level architectural document written by a software architect. The architect does most of the review preparation work, including distributing the document to reviewers before the review meeting. However, reviewers are not required to analyze the document in advance, and during the review meeting the software architect explains the document step by step. The only goal of this review is to establish a common understanding of the software architecture that will be used in a software development project.

Which of the following review types does this review refer to?

A.
Inspection
A.
Inspection
Answers
B.
Audit
B.
Audit
Answers
C.
Walkthrough
C.
Walkthrough
Answers
D.
Informal review
D.
Informal review
Answers
Suggested answer: C

Explanation:

This answer is correct because a walkthrough is a type of review where the author of the work product leads the review process and explains the work product to the reviewers. The reviewers are not required to prepare for the review in advance, and the main objective of the walkthrough is to establish a common understanding of the work product and to identify any major defects or issues. A walkthrough is usually informal and does not follow a defined process or roles. In this case, the review for a high-level architectural document written by a software architect matches the characteristics of a walkthrough.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.4.2.2

Which of the following statements about the shift-left approach is true?

A.
Shift-left in testing can be implemented only in Agile/DevOps frameworks, as it relies completely on automated testing activities performed within a continuous integration process
A.
Shift-left in testing can be implemented only in Agile/DevOps frameworks, as it relies completely on automated testing activities performed within a continuous integration process
Answers
B.
Performance testing performed during component testing, is a form of shift-left in testing that avoids planning and executing costly end-to-end testing at the system test level in a production-like environment
B.
Performance testing performed during component testing, is a form of shift-left in testing that avoids planning and executing costly end-to-end testing at the system test level in a production-like environment
Answers
C.
Shift-left in testing can be implemented in several ways to find functional defects early in the lifecycle, but it cannot be relied upon to find defects associated with non-functional characteristics
C.
Shift-left in testing can be implemented in several ways to find functional defects early in the lifecycle, but it cannot be relied upon to find defects associated with non-functional characteristics
Answers
D.
Continuous integration supports shift-left in testing as it can reduce the time between the introduction of a defect and its detection, thereby reducing the cost to fix it
D.
Continuous integration supports shift-left in testing as it can reduce the time between the introduction of a defect and its detection, thereby reducing the cost to fix it
Answers
Suggested answer: D

Explanation:

This answer is correct because shift-left in testing is an approach that aims to perform testing activities as early as possible in the software development lifecycle, in order to find and fix defects faster and cheaper, and to improve the quality of the software product. Continuous integration is a practice that supports shift-left in testing, as it involves integrating and testing the software components frequently, usually several times a day, using automated tools and processes. Continuous integration can reduce the time between the introduction of a defect and its detection, thereby reducing the cost to fix it and the risk of accumulating defects that could affect the functionality or performance of the software product.Reference: ISTQB Foundation Level Syllabus v4.0, Section 3.1.1.3, Section 3.2.1.3

The fact that defects are usually not evenly distributed among the various modules that make up a software application, but rather their distribution tend to reflect the Pareto principle:

A.
is a false myth
A.
is a false myth
Answers
B.
is expressed by the testing principle referred to as Tests wear out'
B.
is expressed by the testing principle referred to as Tests wear out'
Answers
C.
is expressed by the testing principle referred to as 'Defects cluster together'
C.
is expressed by the testing principle referred to as 'Defects cluster together'
Answers
D.
is expressed by the testing principle referred to as 'Bug prediction'
D.
is expressed by the testing principle referred to as 'Bug prediction'
Answers
Suggested answer: C

Explanation:

The fact that defects are usually not evenly distributed among the various modules that make up a software application, but rather their distribution tend to reflect the Pareto principle, is expressed by the testing principle referred to as 'Defects cluster together'. This principle states that a small number of modules contain most of the defects detected, or that a small number of causes are responsible for most of the defects. This principle can be used to guide the test analysis and design activities, by prioritizing the testing of the most critical or risky modules, or by applying more rigorous test techniques to them. Therefore, option C is the correct answer.

Which of the following statements is true?

A.
Functional testing focuses on what the system should do while non-functional testing on the internal structure of the system
A.
Functional testing focuses on what the system should do while non-functional testing on the internal structure of the system
Answers
B.
Non-functional testing includes testing of both technical and non-technical quality characteristics
B.
Non-functional testing includes testing of both technical and non-technical quality characteristics
Answers
C.
Testers who perform functional tests are generally expected to have more technical skills than testers who perform non-functional tests
C.
Testers who perform functional tests are generally expected to have more technical skills than testers who perform non-functional tests
Answers
D.
The test techniques that can be used to design white-box tests are described in the ISO/IEC 25010 standard
D.
The test techniques that can be used to design white-box tests are described in the ISO/IEC 25010 standard
Answers
Suggested answer: B

Explanation:

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.

Total 288 questions
Go to page: of 29