ExamGecko
Home Home / ISTQB / CTFL-2018

ISTQB CTFL-2018 Practice Test - Questions Answers, Page 16

Question list
Search
Search

Related questions











Which of the following options BEST explain the pesticide paradox principle of testing?

A.
If we do not regularly review and revise our tests, we'll stop finding defects
A.
If we do not regularly review and revise our tests, we'll stop finding defects
Answers
B.
Repeatedly running a set of tests will ensure that a system is defect free
B.
Repeatedly running a set of tests will ensure that a system is defect free
Answers
C.
Defects are, paradoxically, often contained in a small number of modules
C.
Defects are, paradoxically, often contained in a small number of modules
Answers
D.
Testing, like spraying pesticide, is an effective bug / defect removal activity
D.
Testing, like spraying pesticide, is an effective bug / defect removal activity
Answers
Suggested answer: A

Explanation:

The pesticide paradox principle of testing states that if we do not regularly review and revise our tests, we'll stop finding defects, because the same tests will no longer be effective at detecting new or different defects in the software12. The other options do not explain the pesticide paradox principle of testing.Option B is false, because repeatedly running a set of tests will not ensure that a system is defect free, but rather that it meets the same quality criteria as before12.Option C is related to the defect clustering principle of testing, which states that defects are often contained in a small number of modules12.Option D is a metaphor that compares testing to spraying pesticide, but it does not explain the paradoxical effect of using the same tests over and over again

Which one of the following statements about testing techniques is TRUE?

A.
Exploratory testing can replace black box techniques when testing time is very limited
A.
Exploratory testing can replace black box techniques when testing time is very limited
Answers
B.
Test execution scheduling should give priority to experienced based testing
B.
Test execution scheduling should give priority to experienced based testing
Answers
C.
Specification based techniques can be used as a substitute for a poorly defined test basis
C.
Specification based techniques can be used as a substitute for a poorly defined test basis
Answers
D.
Experienced based techniques are systematic and produce detailed test documentation
D.
Experienced based techniques are systematic and produce detailed test documentation
Answers
Suggested answer: A

Explanation:

Exploratory testing can replace black box techniques when testing time is very limited, because it is a type of experience-based technique that allows testers to design and execute tests based on their intuition, knowledge, and skills, without following a predefined test plan or test cases13. The other options are false statements about testing techniques.Option B is false, because test execution scheduling should give priority to specification-based or structure-based techniques, which are more systematic and objective than experience-based techniques13.Option C is false, because specification-based techniques cannot be used as a substitute for a poorly defined test basis, but rather require a clear and complete test basis to design effective test cases13.Option D is false, because experience-based techniques are not systematic and do not produce detailed test documentation, but rather rely on the tester's judgement and creativity

When can functional and structural testing BOTH be applied?

A.
System and Component test levels only
A.
System and Component test levels only
Answers
B.
All 'Developement' test levels, i.e. those before Acceptance testing
B.
All 'Developement' test levels, i.e. those before Acceptance testing
Answers
C.
Component and Component integration test levels only
C.
Component and Component integration test levels only
Answers
D.
All test levels
D.
All test levels
Answers
Suggested answer: D

Explanation:

Functional and structural testing can both be applied at all test levels, from component testing to acceptance testing1.Functional testing verifies whether the software meets the specified requirements and user expectations, while structural testing verifies whether the software meets the specified design and code standards1.Both types of testing can be useful at any stage of the software development life cycle, depending on the test objectives and scope1. The other options are incorrect, because they limit the application of functional and structural testing to certain test levels only.

Testing effort can depend on a number of factors, which one of following is MOST likely to impact the amount of effort required?

A.
The predicted number of defects and the amount of rework required
A.
The predicted number of defects and the amount of rework required
Answers
B.
The ratio of developers to testers in the project team
B.
The ratio of developers to testers in the project team
Answers
C.
The planned use of a project management tool to schedule tasks
C.
The planned use of a project management tool to schedule tasks
Answers
D.
The responsibilities for testers and developers being clearly defined
D.
The responsibilities for testers and developers being clearly defined
Answers
Suggested answer: A

Explanation:

The predicted number of defects and the amount of rework required is the most likely factor to impact the amount of testing effort required, because it affects the quality and stability of the software under test1.Testing effort can increase if there are many defects in the software that need to be detected, reported, fixed, and re-tested1. The other options are not likely to impact the amount of testing effort required directly.Option B is related to the size and composition of the project team, but it does not determine how much testing effort is needed for the software itself1.Option C is related to the use of a project management tool to schedule tasks, but it does not affect how much testing effort is needed for each task1.Option D is related to the responsibilities for testers and developers being clearly defined, but it does not influence how much testing effort is needed for their respective tasks1.

A system is being enhanced to simplify screen navigation for users.

Which of the following does NOT reflect structural testing?

A.
To test all paths that users could take through the screen menu system
A.
To test all paths that users could take through the screen menu system
Answers
B.
To ensure that 100% decision testing is achieved for each system component
B.
To ensure that 100% decision testing is achieved for each system component
Answers
C.
To test all branches of component calls within the application call graph
C.
To test all branches of component calls within the application call graph
Answers
D.
To ensure that users can navigate to all fields on the screen
D.
To ensure that users can navigate to all fields on the screen
Answers
Suggested answer: D

Explanation:

To ensure that users can navigate to all fields on the screen does not reflect structural testing, but rather functional testing or usability testing1.Structural testing verifies whether the software meets the specified design and code standards by measuring aspects such as code coverage, complexity, or coupling1. The other options reflect structural testing at different levels of granularity.Option A reflects structural testing at the system level by testing all paths that users could take through the screen menu system1.Option B reflects structural testing at the component level by ensuring that 100% decision coverage is achieved for each system component1.Option C reflects structural testing at the component integration level by testing all branches of component calls within the application call graph

You have been asked to improve the way test automation tools are being used in your company.

Which one of the following is the BEST approach?

A.
Selecting and automating scripts that test new functionality to find the most defects
A.
Selecting and automating scripts that test new functionality to find the most defects
Answers
B.
Using a keyword-driven testing approach to separate the actions and data from the tool's script
B.
Using a keyword-driven testing approach to separate the actions and data from the tool's script
Answers
C.
Ensuring that all data, inputs and actions are stored in the tool's script for ease of maintenance
C.
Ensuring that all data, inputs and actions are stored in the tool's script for ease of maintenance
Answers
D.
Keeping expected results separate from the automation tool to allow the testers to check the results
D.
Keeping expected results separate from the automation tool to allow the testers to check the results
Answers
Suggested answer: B

Explanation:

Using a keyword-driven testing approach to separate the actions and data from the tool's script is the best approach to improve the way test automation tools are being used in your company, because it allows for more flexibility, maintainability, and reusability of automated test scripts1.A keyword-driven testing approach uses keywords or commands to represent actions or data in the test scripts, which can be stored in external files or tables and accessed by the tool1. The other options are not good approaches to improve the way test automation tools are being used in your company.Option A is not a good approach, because selecting and automating scripts that test new functionality to find the most defects does not consider the suitability, feasibility, and cost-effectiveness of automation1.Option C is not a good approach, because ensuring that all data, inputs and actions are stored in the tool's script for ease of maintenance makes the test scripts more rigid, complex, and difficult to modify1.Option D is not a good approach, because keeping expected results separate from the automation tool to allow the testers to check the results reduces the efficiency and reliability of automation and increases the manual effort

The decision table above reflects a golf club's pricing structure for green fees and buggy/cart hire.

What is the expected result (actions) for each of the following two test cases (TC1 and TC2)?

* TC 1 - Paul is not a full member, is a Loyalty Card holder and requests to play 18 holes with a buggy/cart

* TC 2 - Cheryl is not at full member, doesn't have a Loyalty Card and requests to play 9 holes with a buggy/cart

A.
TC1 - 23 total charges including buggy hire; TC2 - 21 total charge including buggy hire
A.
TC1 - 23 total charges including buggy hire; TC2 - 21 total charge including buggy hire
Answers
B.
TC1 - 18 total charges including buggy hire; TC2 - 16 total charge but no buggy allowed
B.
TC1 - 18 total charges including buggy hire; TC2 - 16 total charge but no buggy allowed
Answers
C.
TC1 - 23 total charges including buggy hire; TC2 - 16 total charge but no buggy allowed
C.
TC1 - 23 total charges including buggy hire; TC2 - 16 total charge but no buggy allowed
Answers
D.
TC1 - 17 total charges but no buggy allowed; TC2 - 21 total charge including buggy hire
D.
TC1 - 17 total charges but no buggy allowed; TC2 - 21 total charge including buggy hire
Answers
Suggested answer: C

Explanation:

TC1 - 23 total charges including buggy hire; TC2 - 16 total charge but no buggy allowed. This answer can be derived from the decision table by matching the conditions of each test case with the corresponding rules and actions. For TC1, the conditions are: Loyalty Card holder = Y, 18 Holes = Y, Buggy/Cart Request = Y. These conditions match Rule 1, which has the actions: Green Fee = 18, Buggy Hire = 5, Total Charge = 23. For TC2, the conditions are: Loyalty Card holder = N, 18 Holes = N, Buggy/Cart Request = Y.These conditions match Rule 3, which has the actions: Green Fee = 16, Buggy Hire = Not Allowed, Total Charge = 16

Which of the following type of defect would NOT be typically found by using a static analysis tool?

A.
A variable is defined but is then not used
A.
A variable is defined but is then not used
Answers
B.
A variable is used in a calculation before it is defined
B.
A variable is used in a calculation before it is defined
Answers
C.
A variable has the wrong numeric value passed into it
C.
A variable has the wrong numeric value passed into it
Answers
D.
A variable is used but not declared
D.
A variable is used but not declared
Answers
Suggested answer: C

Explanation:

A variable has the wrong numeric value passed into it is the type of defect that would not be typically found by using a static analysis tool, because it is a logical or functional error that depends on the context and requirements of the software13.A static analysis tool can detect syntactic or structural errors in the code, such as missing declarations, undefined variables, unused variables, or unreachable code13. The other options represent such errors that can be typically found by using a static analysis tool.Option A is an error where a variable is defined but is then not used, which indicates a waste of memory or a possible logic flaw13.Option B is an error where a variable is used in a calculation before it is defined, which can cause unpredictable results or exceptions13.Option D is an error where a variable is used but not declared, which can cause compilation or runtime errors

When considering the roles of test leader and tester, which of the following tasks would NOT typically be performed by a tester?

A.
Prepare and acquire the test data
A.
Prepare and acquire the test data
Answers
B.
Set up and check the test environment
B.
Set up and check the test environment
Answers
C.
Write test summary reports
C.
Write test summary reports
Answers
D.
Review tests developed by others
D.
Review tests developed by others
Answers
Suggested answer: D

Explanation:

Reviewing tests developed by others would not typically be performed by a tester, but rather by a test leader or a peer reviewer1.Reviewing tests developed by others is an activity that involves checking the quality and completeness of the test cases or procedures and providing feedback or suggestions for improvement1. The other options are tasks that would typically be performed by a tester.Option A is a task that would typically be performed by a tester, because it involves preparing and acquiring the test data that are needed for executing the test cases or procedures1.Option B is a task that would typically be performed by a tester, because it involves setting up and checking the test environment that supports the execution of the test cases or procedures1.Option C is a task that would typically be performed by a tester, because it involves writing test summary reports that document the results and outcomes of the test execution1.

Which of the following describes a task performed as part of the Test Implementation and Execution' activity?

A.
Logging the outcome of test execution and reporting bugs
A.
Logging the outcome of test execution and reporting bugs
Answers
B.
Evaluating the testability of the test basis and test objects
B.
Evaluating the testability of the test basis and test objects
Answers
C.
Assessing if the specified exit criteria should be changed
C.
Assessing if the specified exit criteria should be changed
Answers
D.
Selecting metrics for monitoring test execution and defect resolution
D.
Selecting metrics for monitoring test execution and defect resolution
Answers
Suggested answer: A

Explanation:

.Logging the outcome of test execution and reporting bugs is an activity that is performed as part of the Test Implementation and Execution activity, because it involves recording and communicating any deviations from the expected results or behaviour of the software under test1.Test Implementation and Execution is the process of running the test cases or procedures on the software under test and comparing the actual results with the expected results1. The other options are not activities that are performed as part of the Test Implementation and Execution activity, but rather as part of other activities.Option B is an activity that is performed as part of the Test Analysis activity, because it involves evaluating the testability of the test basis and test objects to identify test conditions1.Option C is an activity that is performed as part of the Test Closure activity, because it involves assessing if the specified exit criteria should be changed to determine when to stop testing1.Option D is an activity that is performed as part of the Test Planning activity, because it involves selecting metrics for monitoring test execution and defect resolution to measure the progress and quality of testing1.

Total 365 questions
Go to page: of 37