Certified Tester Foundation Level - ISTQB Foundation Sample Quiz 3
question.id | Questions |
---|---|
question_th |
Q1:
Chapter: 1 - Fundamentals of Testing
Which of the following is a typical test objective?
A
Validating that documented requirements are met
B
Initiating errors and identifying root causes
C
Causing failures and identifying defects
D
Verifying the test object meets user expectations
Correct Answer:
C :
Causing failures and identifying defects
|
question_th |
Q2:
Chapter: 1 - Fundamentals of Testing
Which of the following statements BEST describes the difference between testing and debugging?
A
Testing causes failures while debugging fixes failures
B
Testing is a negative activity while debugging is a positive activity
C
Testing determines that defects exist while debugging removes defects
D
Testing finds the cause of defects while debugging fixes the cause of defects
Correct Answer:
B :
Testing is a negative activity while debugging is a positive activity
|
question_th |
Q3:
Chapter: 1 - Fundamentals of Testing
The ‘absence-of-defects fallacy’ is one of the principles of testing. Which of the following is an example of addressing this principle in practice?
A
Explaining that it is not possible for testing to show the absence of defects
B
Ensuring that no implementation defects remain in the delivered system
C
Modifying tests that cause no failures to ensure few defects remain
D
Supporting the end users to perform acceptance testing
Correct Answer:
D :
Supporting the end users to perform acceptance testing
The ‘absence-of-defects fallacy’ is concerned with the idea that ensuring correctness in accordance with the requirements (i.e., verifying the absence of implementation defects) does not guarantee user satisfaction with the system. To address this it is also necessary to validate that the system meets users' needs and expectations, fulfills business objectives, and outperforms competing systems. |
question_th |
Q4:
Chapter: 1 - Fundamentals of Testing
Which TWO of the following test activities are MOST likely to involve the application of boundary value analysis and equivalence partitioning?
A
Test execution
B
Test design
C
Test implementation
D
Test monitoring
Correct Answer:
B :
Test design
Given the following description of test analysis: |
question_th |
Q5:
Chapter: 1 - Fundamentals of Testing
Given the following testware:
1. Coverage items 2. Change requests 3. Test execution schedule 4. Prioritized test conditions And the following test activities A. Test analysis B. Test design C. Test implementation D. Test completion Which of the following BEST shows the testware produced by the activities?
A
1D, 2C, 3A, 4B
B
1B, 2D, 3A, 4C
C
1D, 2C, 3B, 4A
D
1B, 2D, 3C, 4A
Correct Answer:
D :
1B, 2D, 3C, 4A
Considering each of the listed test activities and their output testware: |
question_th |
Q6:
Chapter: 1 - Fundamentals of Testing
Which of the following statements about the different testing roles is MOST likely to be CORRECT?
A
In Agile software development, the test management role is the primary responsibility of the team, while the testing role is primarily the responsibility of a single individual from outside the team
B
The test management role is primarily responsible for test analysis and test design, while the testing role is primarily responsible for test implementation and execution
C
The testing role is primarily responsible for test monitoring and control, while the test management role is primarily responsible for test planning and test completion
D
In Agile software development, test management activities that span multiple teams are handled by a test manager outside the team, while some test management tasks are handled by the team itself
Correct Answer:
D :
In Agile software development, test management activities that span multiple teams are handled by a test manager outside the team, while some test management tasks are handled by the team itself
|
question_th |
Q7:
Chapter: 1 - Fundamentals of Testing
Which of the following is an advantage of the whole-team approach?
A
Improved team dynamics
B
Larger team sizes
C
Teams with no testers
D
Specialist team members
Correct Answer:
A :
Improved team dynamics
|
question_th |
Q8:
Chapter: 1 - Fundamentals of Testing
Which of the following statements about the independence of testing is CORRECT?
A
Independent testing requires testers who are outside the developer’s team and ideally from outside the organization, however these testers find it difficult to understand the application domain
B
Developers’ familiarity with their own code means they only find a few defects in it, however their shared software background with testers means these defects would also be found by the testers
C
Independent testers will find defects due to their different technical perspective from developers, but their independence may lead to an adversarial relationship with the developers
D
Testers from outside the developer’s team are more independent than testers from within the team, but the testers from within the team are more likely to be blamed for delays in product release
Correct Answer:
C :
Independent testers will find defects due to their different technical perspective from developers, but their independence may lead to an adversarial relationship with the developers
|
question_th |
Q9:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following is a good testing practice that applies to all software development lifecycles?
A
For each test level, there is a corresponding development level
B
For each test objective, there is a corresponding development objective
C
For every software test activity, there is a corresponding user activity
D
For every software development activity, there is a corresponding test activity
Correct Answer:
D :
For every software development activity, there is a corresponding test activity
|
question_th |
Q10:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
A
Component Test-Driven Development
B
Acceptance Test-Driven Development
C
Integration Test-Driven Development
D
System Test-Driven Development
Correct Answer:
B :
Acceptance Test-Driven Development
Which of the following is an example of a test-first approach to development? |
question_th |
Q11:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following provides the BEST description of the shift-left approach?
A
When they have spare time available, testers are required to automate tests for regression testing, starting with component tests and component integration tests
B
When agreed by the developers, manual activities on the left-hand side of the test process are automated to support the principle of ‘early testing saves time and money’
C
When available, testers are trained to perform tasks early in the SDLC to allow more test activities to be automated later in the SDLC
D
Where cost-effective, test activities are moved to be performed earlier in the software development lifecycle (SDLC) to reduce the total cost of quality by reducing the number of defects found later in the SDLC
Correct Answer:
D :
Where cost-effective, test activities are moved to be performed earlier in the software development lifecycle (SDLC) to reduce the total cost of quality by reducing the number of defects found later in the SDLC
|
question_th |
Q12:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following is LEAST likely to occur as a result of a retrospective?
A
End users’ understanding of the development and test processes is improved
B
Test efficiency improves by speeding up the configuration of test environments through automation
C
Automated test scripts are enhanced through feedback from developers
D
The quality of future test objects improves by identifying improvements in development practices
Correct Answer:
A :
End users’ understanding of the development and test processes is improved
|
question_th |
Q13:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following test levels is MOST likely being performed if the testing is focused on validation and is not being performed by testers?
A
Component testing
B
Acceptance testing
C
System integration testing
D
Component integration testing
Correct Answer:
B :
Acceptance testing
|
question_th |
Q14:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
The navigation system software has been updated due to it suggesting routes that break traffic laws, such as driving the wrong way down one-way streets. Which of the following BEST describes the testing that will be performed?
A
Confirmation testing then regression testing
B
Regression testing then confirmation testing
C
Only regression testing
D
Only confirmation testing
Correct Answer:
A :
Confirmation testing then regression testing
|
question_th |
Q15:
Chapter: 3 - Static Testing
Given the following example defects:
i. Two different parts of the design specification disagree due to the complexity of the design ii. A response time is too long and so makes users lose patience iii. A path in the code cannot be reached during execution iv. A variable is declared but never subsequently used in the program v. The amount of memory needed by the program to generate a report is too high Which of the following BEST identifies example defects that could be found by static testing (rather than dynamic testing)?
A
i, ii, iv
B
iii, v
C
ii, v
D
i, iii, iv
Correct Answer:
D :
i, iii, iv
Considering each of the listed example defects: |
question_th |
Q16:
Chapter: 3 - Static Testing
Which of the following is a benefit of early and frequent stakeholder feedback?
A
Changes to requirements are understood and implemented earlier
B
It allows product owners to change their requirements as often as they want
C
End users are told which requirements will not be implemented prior to release
D
It ensures business stakeholders understand user requirements
Correct Answer:
A :
Changes to requirements are understood and implemented earlier
|
question_th |
Q17:
Chapter: 3 - Static Testing
Given the following review types:
1. Technical review 2. Informal review 3. Inspection 4. Walkthrough And the following descriptions: A. Includes objectives such as gaining consensus, generating new ideas, and motivating authors to improve B. Includes objectives such as educating reviewers, gaining consensus, generating new ideas and detecting potential defects C. The main objective is detecting potential defects and it requires metrics collection to support process improvement D. The main objective is detecting potential defects and it generates no formal documented output Which of the following BEST matches the review types and the descriptions?
A
1A, 2B, 3C, 4D
B
1B, 2C, 3D, 4A
C
1A, 2D, 3C, 4B
D
1C, 2D, 3A, 4B
Correct Answer:
C :
1A, 2D, 3C, 4B
Considering each of the listed review types: |
question_th |
Q18:
Chapter: 3 - Static Testing
Which of the following is a factor that contributes to a successful review?
A
Split large work products into smaller parts
B
Set reviewer evaluation as an objective
C
Ensure management participate as reviewers
D
Plan to cover one document per review
Correct Answer:
A :
Split large work products into smaller parts
|
question_th |
Q19:
Chapter: 4 - Test Analysis and Design
What is the MAIN difference between black-box test techniques and experience-based test techniques?
A
The test object
B
The test basis
C
The test level at which the test technique is used
D
The software development lifecycle (SDLC) in which the test technique can be used
Correct Answer:
B :
The test basis
|
question_th |
Q20:
Chapter: 4 - Test Analysis and Design
You are testing a PIN validator, which accepts valid PINs and rejects invalid PINs. A PIN is a sequence of digits. A PIN is valid if it consists of four digits, at least two of which are different. You have identified the following valid equivalence partitions:
Variable: PIN code length - The partition “length correct” - four-digit PINs - The partition “length incorrect” - PINs with length other than 4 Variable: Number of different digits - The partition “number of different digits correct” - PINs with at least two different digits - The partition “number of different digits incorrect” - PINs with all digits being the same Which of the following is a MINIMUM set of input test data that covers all identified equivalence partitions?
A
111, 1111, 1112
B
12345, 1234
C
1, 1234
D
1234, 12345, 1
Correct Answer:
C :
1, 1234
|
question_th |
Q21:
Chapter: 4 - Test Analysis and Design
W A developer was asked to implement the following business rule:
`INPUT: value (integer number) IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect” ELSE write “value OK”` You design the test cases using 2-value boundary value analysis. Which of the following sets of test inputs achieves the greatest coverage?
A
100, 150, 200, 201
B
98, 99, 100, 101
C
101, 150, 199, 200
D
99, 100, 200, 201
Correct Answer:
C :
101, 150, 199, 200
The equivalence partitions are: {…, 99, 100}, {101, 102, …, 198, 199}, {200, 201, …}. |
question_th |
Q22:
Chapter: 4 - Test Analysis and Design
You are working on a project to develop a system to analyze driving test results. You have been asked to design test cases based on the following decision table. (see table)
What test data will show that there are contradictory rules in the decision table?
A
C1 = T, C2 = F, C3 = T
B
C1 = T, C2 = T, C3 = F
C
C1 = T, C2 = T, C3 = T and C1 = F, C2 = T, C3 = T
D
C1 = F, C2 = F, C3 = F
Correct Answer:
D :
C1 = F, C2 = F, C3 = F
|
question_th |
Q23:
Chapter: 4 - Test Analysis and Design
You are designing test cases based on the following state transition diagram (see diagram)
What is the MINIMUM number of test cases required to achieve 100% valid transitions coverage?
A
3
B
6
C
5
D
2
Correct Answer:
A :
3
The following three transitions: |
question_th |
Q24:
Chapter: 4 - Test Analysis and Design
You want to apply branch testing to the code represented by the following control flow graph. (see graph)
How many coverage items do you need to test?
A
7
B
4
C
8
D
2
Correct Answer:
C :
8
In branch testing the coverage items are branches, which are represented by the edges of a control flow graph. There are 8 edges in the control flow graph. |
question_th |
Q25:
Chapter: 4 - Test Analysis and Design
How can white-box testing be useful in support of black-box testing?
A
Branch testing subsumes black-box test techniques, so achieving full branch coverage guarantees achieving full coverage of any black-box technique
B
White-box coverage analysis can help testers identify unreachable fragments of the source code
C
White-box test techniques can provide coverage items for black-box techniques
D
White-box coverage measures can help testers evaluate black-box tests in terms of the code coverage achieved by these black-box tests
Correct Answer:
D :
White-box coverage measures can help testers evaluate black-box tests in terms of the code coverage achieved by these black-box tests
|
question_th |
Q26:
Chapter: 4 - Test Analysis and Design
Consider the following list:
- Correct input not accepted - Incorrect input accepted - Wrong output format - Division by zero What test technique is MOST PROBABLY used by the tester who uses this list when performing testing?
A
Boundary value analysis
B
Fault attack
C
Checklist-based testing
D
Exploratory testing
Correct Answer:
B :
Fault attack
|
question_th |
Q27:
Chapter: 4 - Test Analysis and Design
Which of the following BEST describes how using checklist-based testing can result in increased coverage?
A
Checklist items can be defined at a sufficiently low level of detail, so the tester can implement and execute detailed test cases based on these items
B
Each checklist item should be tested separately and independently, so the elements cover different areas of the software
C
Checklists can be automated, so each time an automated test execution covers the checklist items, it results in additional coverage
D
Two testers designing and executing tests based on the same high-level checklist items will typically perform the testing in slightly different ways
Correct Answer:
D :
Two testers designing and executing tests based on the same high-level checklist items will typically perform the testing in slightly different ways
|
question_th |
Q28:
Chapter: 4 - Test Analysis and Design
Which of the following provides the BEST example of a scenario-oriented acceptance criterion?
A
IF (contain(product(23).Name, cart.products())) THEN return FALSE
B
When a customer adds an item to their cart and proceeds to checkout, they should be prompted to log in or create an account if they haven’t already done so
C
The website must comply with the ICT Accessibility 508 Standards and ensure that all content is accessible to users with disabilities
D
The application must allow users to delete their account and all associated data upon request
Correct Answer:
B :
When a customer adds an item to their cart and proceeds to checkout, they should be prompted to log in or create an account if they haven’t already done so
|
question_th |
Q29:
Chapter: 4 - Test Analysis and Design
You are using acceptance test-driven development and designing test cases based on the following user story:
`As a Regular or Special user, I want to be able to use my electronic floor card, to access specific floors. Acceptance Criteria: AC1: Regular users have access to floors 1 to 3 AC2: Floor 4 is only accessible to Special users AC3: Special users have all the access rights of Regular users` Which test case is the MOST reasonable one to test AC3?
A
Check that a Regular user can access floors 1 and 3
B
Check that a Regular user cannot access floor 4
C
Check that a Special user can access floors 1, 2 and 3
D
Check that a Special user can access floor 5
Correct Answer:
C :
Check that a Special user can access floors 1, 2 and 3
|
question_th |
Q30:
Chapter: 5 - Managing the Test Activities
Which of the following is NOT a purpose of a test plan?
A
To explain why system integration testing will be excluded from testing, although the test strategy requires this test level
B
To define test data and expected results for component tests and component integration tests
C
To define as exit criteria from the component test level that “100% statement coverage and 100% branch coverage must be achieved”
D
To describe what fields the test progress report shall contain and what should be the form of this report
Correct Answer:
B :
To define test data and expected results for component tests and component integration tests
|
question_th |
Q31:
Chapter: 5 - Managing the Test Activities
At the beginning of each iteration, the team estimates the amount of work (in person-days) they will need to complete during the iteration.
Let E(n) be the estimated amount of work for iteration n, and let A(n) be the actual amount of work done in iteration n. From the third iteration, the team uses the following estimation model based on extrapolation: (𝐸(𝑛)=3∗𝐴(𝑛−1)+𝐴(𝑛−2)) / 4 The graph shows the estimated and actual amount of work for the first four iterations. (see graph) What is the estimated amount of work for iteration #5?
A
8.25 person-days
B
10.5 person-days
C
6.5 person-days
D
9.4 person-days
Correct Answer:
C :
6.5 person-days
From the graph we have: |
question_th |
Q32:
Chapter: 5 - Managing the Test Activities
You are preparing a test execution schedule for executing seven test cases TC 1 to TC 7.
The following figure includes the priorities of these test cases (1=highest priority, 3 = lowest priority). The figure also shows the dependencies between test cases using arrows. For instance, the arrow from TC 4 to TC 5 means that TC 5 can only be executed if TC 4 was previously executed (See graph) Which test case should be executed sixth?
A
TC 3
B
TC 5
C
TC 2
D
TC 6
Correct Answer:
A :
TC 3
We want to run test cases according to their priorities, but we also need to consider the dependencies. |
question_th |
Q33:
Chapter: 5 - Managing the Test Activities
What does the test pyramid model show?
A
That tests may require different coverage criteria
B
That tests may have different granularity
C
That tests may depend on other tests
D
That tests may have different priorities
Correct Answer:
B :
That tests may have different granularity
|
question_th |
Q34:
Chapter: 5 - Managing the Test Activities
What is the relationship between the testing quadrants, test levels and test types?
A
Testing quadrants represent particular combinations of test levels and test types, defining their location in the software development lifecycle
B
Testing quadrants describe the degree of granularity of individual test types performed at each test level
C
Testing quadrants group test levels and test types by several criteria such as targeting specific stakeholders
D
Testing quadrants assign the test types that can be performed to the test levels
Correct Answer:
C :
Testing quadrants group test levels and test types by several criteria such as targeting specific stakeholders
|
question_th |
Q35:
Chapter: 5 - Managing the Test Activities
Which of the following is an example of how product risk analysis may influence the thoroughness and scope of testing?
A
The assessed risk level helps us to select the rigor of testing
B
Risk identification allows us to implement risk mitigation activities and reduce the risk level
C
Continuous risk monitoring allows us to identify emerging risk as soon as possible
D
Risk analysis allows us to derive coverage items
Correct Answer:
A :
The assessed risk level helps us to select the rigor of testing
|
question_th |
Q36:
Chapter: 5 - Managing the Test Activities
Which of the following activities in the test process makes the MOST use of test progress reports?
A
Test design
B
Test planning
C
Test analysis
D
Test completion
Correct Answer:
D :
Test completion
|
question_th |
Q37:
Chapter: 5 - Managing the Test Activities
Which of the following is NOT an example of how configuration management supports testing?
A
All requirement specifications are referenced unambiguously in test plans
B
All commits to the repository are uniquely identified and version controlled
C
All identified defects have an assigned status
D
All changes in the test environment elements are tracked
Correct Answer:
C :
All identified defects have an assigned status
|
question_th |
Q38:
Chapter: 5 - Managing the Test Activities
Consider the following defect report for a web-based shopping application:
`Application: WebShop v0.99 Defect: Login button not working Steps to Reproduce: Launch the website Click on the login button Expected result: The user should be redirected to the login page. Actual result: The login button does not respond when clicked. Severity: High Priority: Urgent` What is the MOST important information that is missing from this report?
A
Test environment elements and their version numbers
B
Identification of the test object
C
Name of the tester and date of the report
D
Impact on the interests of stakeholders
Correct Answer:
A :
Test environment elements and their version numbers
|
question_th |
Q39:
Chapter: 6 - Test Tools
Tools from which of the following categories help with the organization of test cases, detected defects and configuration management?
A
Test management tools
B
Defect management tools
C
Test execution and coverage tools
D
Test design and implementation tools
Correct Answer:
A :
Test management tools
|
question_th |
Q40:
Chapter: 6 - Test Tools
Which of the following is MOST likely to be a benefit of test automation?
A
The capability of generating test cases without access to the test basis
B
The achievement of increased coverage through more objective assessment
C
The increase in test execution times available with higher processing power
D
The prevention of human errors through greater consistency and repeatability
Correct Answer:
D :
The prevention of human errors through greater consistency and repeatability
|