Certified Tester Foundation Level - ISTQB Foundation Sample Quiz 1
question.id | Questions |
---|---|
question_th |
Q1:
Chapter: 1 - Fundamentals of Testing
Which of the following is MOST likely to be an example of a tester using a generic skill when testing?
A
The tester’s deep knowledge of a variety of computer games meant that they got on well with one of the developers who was also into gaming
B
The tester was very careful not to make mistakes when they methodically generated test cases prior to starting their exploratory testing session
C
The tester previously worked as a programmer and used their skills in this area to better communicate with the business analysts
D
The tester was a former pilot and was better able to understand the acceptance criteria for the helicopter control system
Correct Answer:
D :
The tester was a former pilot and was better able to understand the acceptance criteria for the helicopter control system
Explanation / Rationale |
question_th |
Q2:
Chapter: 1 - Fundamentals of Testing
Which of the following is an advantage of the whole-team approach?
A
It allows team members to take on any role at any time
B
The tester was very careful not to make mistakes when they methodically generated test cases prior to starting their exploratory testing session
C
It only needs a single team to support the complete development project
D
It generates a team synergy that benefits the entire project
Correct Answer:
D :
It generates a team synergy that benefits the entire project
Explanation / Rationale |
question_th |
Q3:
Chapter: 1 - Fundamentals of Testing
Which of the following statements is a CORRECT example of the value of traceability?
A
Traceability between user requirements and test execution results provides a means of measuring project progress against business goals
B
Traceability between the identified risks and written test conditions provides a means of determining which risks are worth testing
C
Traceability between testers and failing test cases provides a means of determining the skill level of the testers
D
Traceability between the mitigated risks and passing test cases provides a means of determining the level of residual risk
Correct Answer:
A :
Traceability between user requirements and test execution results provides a means of measuring project progress against business goals
Explanation / Rationale |
question_th |
Q4:
Chapter: 1 - Fundamentals of Testing
Which of the following is MOST likely to impact how testing is performed for a given test object?
A
The end user’s organizational structure for a commercial music streaming application
B
The knowledge of users that a new system is being developed for them
C
The average level of experience of the organization’s marketing team
D
The number of years’ experience of the members of the test team
Correct Answer:
D :
The number of years’ experience of the members of the test team
Explanation / Rationale |
question_th |
Q5:
Chapter: 1 - Fundamentals of Testing
Which of the following is an example of why testing is necessary?
A
Static testing is used by developers to identify failures in their program code earlier than can be achieved through dynamic testing
B
Reviews increase the quality of requirements specifications and lead to fewer changes being needed in derived work products
C
Static analysis provides evidence to customers that the elements of the system that provide no outputs are fit for release
D
Dynamic testing increases quality by causing test objects to fail in ways that could never be achieved by the users
Correct Answer:
B :
Reviews increase the quality of requirements specifications and lead to fewer changes being needed in derived work products
Explanation / Rationale |
question_th |
Q6:
Chapter: 1 - Fundamentals of Testing
Which of the following statements about quality assurance (QA) and/or quality control (QC) is correct?
A
Testing is performed as part of QA
B
Testing is another term for QC
C
QA is performed as part of testing
D
St Testing is performed as part of QC
Correct Answer:
D :
St Testing is performed as part of QC
Explanation / Rationale |
question_th |
Q7:
Chapter: 1 - Fundamentals of Testing
One of the ‘principles of testing’ states that exhaustive testing is impossible. Which of the following is an example of addressing this principle in practice?
A
Using equivalence partitioning and boundary value analysis to generate test cases
B
Creating test cases that cover every possible specified output
C
Documenting all possible test input variations and prioritizing these based on importance
D
Starting testing as early as possible with reviews and other static testing approaches
Correct Answer:
A :
Using equivalence partitioning and boundary value analysis to generate test cases
The ‘exhaustive testing is impossible’ principle is concerned with the fact that it is not feasible to test every possible variation of test inputs in all different circumstances, except in trivial cases. Instead, testing utilizes test techniques, test case prioritization, and risk-based testing to sample from the set of possibilities and focus testing efforts. |
question_th |
Q8:
Chapter: 1 - Fundamentals of Testing
Which test activity involves working with test data requirements, test conditions, test environment requirements and test cases?
A
Test design
B
Test implementation
C
Test analysis
D
Test execution
Correct Answer:
A :
Test design
Explanation / Rationale |
question_th |
Q9:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following statements about DevOps is CORRECT?
A
To treat both developers and operations equally, the testers will allocate more effort to release testing by operations using a shift-right approach
B
To create increased synergy between testers, developers and operations, the testing must become fully automated with no manual testing
C
To speed up releases, continuous integration is used to encourage developers to submit code quickly without the need to complete component testing
D
To be able to update and release systems on a more frequent basis, many automated regression tests are required to reduce the danger of regression
Correct Answer:
D :
To be able to update and release systems on a more frequent basis, many automated regression tests are required to reduce the danger of regression
Explanation / Rationale |
question_th |
Q10:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following statements is CORRECT?
A
Regression tests are created and run when the test object is fixed, whereas confirmation tests are run whenever the test object is enhanced
B
Regression tests increase in number as the project progresses, whereas the number of confirmation tests decreases as the project progresses
C
Regression testing is concerned with adverse effects in unchanged code, whereas confirmation testing is concerned with testing changed code
D
Regression testing is concerned with checking that the operational environment remains unchanged, whereas confirmation testing is concerned with testing changes to the test object
Correct Answer:
C :
Regression testing is concerned with adverse effects in unchanged code, whereas confirmation testing is concerned with testing changed code
Explanation / Rationale |
question_th |
Q11:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following statements about the chosen software development lifecycle is CORRECT?
A
If a sequential development model is used, then the dynamic testing is typically restricted to later in the lifecycle
B
If agile software development is used, system test automation replaces the need for regression testing
C
If an incremental development model is used, then static testing is done in early increments and dynamic testing in later increments
D
If an iterative development model is used, then component testing is typically performed manually by developers
Correct Answer:
A :
If a sequential development model is used, then the dynamic testing is typically restricted to later in the lifecycle
Explanation / Rationale |
question_th |
Q12:
Chapter: 2 - Testing Throughout the Software Development Lifecycle
Which of the following is an example of a test-first approach to development?
A
Test-Driven Development
B
Feature-Driven Development
C
Coverage-Driven Development
D
Quality-Driven Development
Correct Answer:
A :
Test-Driven Development
Explanation / Rationale |
question_th |
Q13:
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
Testers should review work products as part of the next development phase
B
Testers should review work products before test analysis and design begins
C
Testers should review work products immediately after they are published
D
Testers should review work products as soon as drafts are available
Correct Answer:
D :
Testers should review work products as soon as drafts are available
Explanation / Rationale |
question_th |
Q14:
Chapter: 3 - Static Testing
Which of the following is an example of a defect that can be found by static testing but NOT by dynamic testing?
A
Code with no path that reaches it
B
Required features that are not implemented in the code
C
Poor response times for most of the expected users
D
Lack of usability provided through the user interface
Correct Answer:
A :
Code with no path that reaches it
Explanation / Rationale |
question_th |
Q15:
Chapter: 3 - Static Testing
Which of the following is MOST likely to be performed as part of system testing?
A
Testing the interface of a currency exchange system with an external banking system
B
Security testing of a credit management system by an independent test team
C
Beta testing of a remote learning system by courseware developers
D
To create increased synergy between testers, developers and operations, the testing must become fully automated with no manual testing
Correct Answer:
B :
Security testing of a credit management system by an independent test team
Explanation / Rationale |
question_th |
Q16:
Chapter: 3 - Static Testing
Given the following task descriptions:
1. The quality characteristics to be evaluated and the exit criteria are selected 2. Everyone has access to the work product 3. Anomalies are identified in the work product 4. Anomalies are discussed And the following review activities: A. Individual review B. Review initiation C. Planning D. Communication and analysis Which of the following BEST matches the task descriptions and activities?
A
1C, 2B, 3A, 4D
B
1B, 2C, 3D, 4A
C
1C, 2A, 3B, 4D
D
1B, 2D, 3C, 4A
Correct Answer:
A :
1C, 2B, 3A, 4D
Considering each of the listed task descriptions: |
question_th |
Q17:
Chapter: 3 - Static Testing
Given the following roles in reviews:
1. Scribe 2. Review leader 3. Facilitator 4. Manager And the following responsibilities in reviews: A. Ensures the effective running of review meetings and the setting up a safe review environment B. Records review information, such as decisions and new anomalies found during the review meeting C. Decides what is to be reviewed and provides resources, such as staff and time for the review D. Takes overall responsibility for the review such as organizing when and where the review will take place Which of the following BEST matches the roles and responsibilities?
A
1B, 2D, 3A, 4C
B
1A, 2B, 3D, 4C
C
1A, 2C, 3B, 4D
D
1B, 2D, 3C, 4A
Correct Answer:
A :
1B, 2D, 3A, 4C
Considering each of the listed roles: |
question_th |
Q18:
Chapter: 3 - Static Testing
Which of the following is a benefit of early and frequent stakeholder feedback?
A
End users better understand why the delivery of the work product is delayed
B
It facilitates early communication of potential quality issues
C
Managers are aware of which developers are less productive
D
It allows project managers to prioritize their stakeholder interactions
Correct Answer:
B :
It facilitates early communication of potential quality issues
Explanation / Rationale |
question_th |
Q19:
Chapter: 4 - Test Analysis and Design
Which of the following BEST fits as an element of the checklist used in checklist-based testing?
Select ONE option
A
“The achieved statement coverage exceeds 85%”
B
“The program works correctly regarding functional and non-functional requirements”
C
“The developer made an error when implementing the code”
D
“The error messages are written in language that the user can understand”
Correct Answer:
D :
“The error messages are written in language that the user can understand”
N/A |
question_th |
Q20:
Chapter: 4 - Test Analysis and Design
Customers of the TestWash car wash chain have cards with a record of the number of washes they have bought so far. The initial value is 0.
After entering the car wash, the system increases the number on the card by one. This value represents the number of the current wash. Based on this number the system decides what discount the customer is entitled to. For every tenth wash the system gives a 10% discount, and for every twentieth wash, the system gives a further 40% discount (i.e., a 50% discount in total). Which of the following sets of input data (understood as the numbers of the current wash) achieves the highest equivalence partition coverage?
A
11, 12, 20
B
1, 10, 50
C
19, 20, 30
D
10, 29, 30, 31
Correct Answer:
C :
19, 20, 30
Explanation / Rationale |
question_th |
Q21:
Chapter: 4 - Test Analysis and Design
Which of the following statements BEST describes the difference between decision table testing and branch testing?
A
In decision table testing, the test cases are independent of how the software is implemented. In branch testing, test cases can be created only after the design or implementation of the code.
B
In decision table testing, the test cases are derived from knowledge of the control flow of the test object. In branch testing, test cases are derived from the specification that describes the business logic.
C
In decision table testing, the test cases are derived from the specification that describes the business logic. In branch testing the test cases are based on anticipation of potential defects in the source code.
D
In decision table testing, the test cases are derived from the decision statements in the code. In branch testing, the test cases are derived from knowledge of the control flow of the test object.
Correct Answer:
A :
In decision table testing, the test cases are independent of how the software is implemented. In branch testing, test cases can be created only after the design or implementation of the code.
Explanation / Rationale |
question_th |
Q22:
Chapter: 4 - Test Analysis and Design
A storage system can store up to three elements and is modeled by the following state transition diagram.
The variable N represents the number of currently stored elements. Which of the following test cases, represented as sequences of events, achieves the highest level of valid transitions coverage?
A
Add, Remove, Add, Add, Add
B
Add, Add, Add, Remove, Add
C
Add, Add, Add, Remove, Remove
D
Add, Add, Add, Add, Remove, Remove
Correct Answer:
C :
Add, Add, Add, Remove, Remove
Explanation |
question_th |
Q23:
Chapter: 4 - Test Analysis and Design
Your team analyzes the following user story in order to define the acceptance criteria:
As a registered customer, I want to be able to view my previous orders on the company's website, so that I can keep track of my purchases. Which of the following test cases will NOT be relevant for this user story? Select ONE option
A
Input: an unregistered customer registers as a new customer with a valid e-mail address that does not already exist in the customer database
Expected output: the system accepts the registration and creates the account
B
Input: the customer clicks on an order from the order list
Expected output: the system displays the individual items purchased, along with their prices and quantities
C
Input: the customer clicks “Sort ascending” button on the order history screen
Expected output: the system shows the order history sorted by order number in ascending order
D
Input: the customer logs into their account on the website and clicks the “see order history” button
Expected output: the system shows a list of all the customer’s previous orders, including the date, order number, and total cost
Correct Answer:
A :
Input: an unregistered customer registers as a new customer with a valid e-mail address that does not already exist in the customer database
Expected output: the system accepts the registration and creates the account
N/A |
question_th |
Q24:
Chapter: 4 - Test Analysis and Design
Which of the following statements provide the BEST rationale for using exploratory testing?
A
The existing test strategy requires that testers use formal, black-box test techniques
B
Testers are the members of an agile team and have good programming skills
C
The specification is written in a formal language that can be processed by a tool
D
Testers have not been allocated enough time for test design and test execution
Correct Answer:
D :
Testers have not been allocated enough time for test design and test execution
Exploratory testing is useful when there are few or inadequate specifications or there is significant time pressure on the testing. |
question_th |
Q25:
Chapter: 4 - Test Analysis and Design
You run two test cases, T1 and T2, on the same code. Test T1 achieved 40% statement coverage and test T2 achieved 65% statement coverage.
Which of the following sentences must be necessarily true?
A
The test suite composed with tests T1 and T2 achieves 105% statement coverage
B
There exists at least one statement that must have been executed by both T1 and T2
C
The test suite composed of tests T1 and T2 achieves full branch coverage
D
At least 5% of the statements in the code under test are non-executable
Correct Answer:
B :
There exists at least one statement that must have been executed by both T1 and T2
Explanation / Rationale |
question_th |
Q26:
Chapter: 4 - Test Analysis and Design
You are testing a form that verifies the correctness of the length of the password given as input. The form accepts a password with the correct length and rejects a password that is too short or too long. The password length is correct if it has between 6 and 12 characters inclusive. Otherwise, it is considered incorrect.
At first, the form is empty (password length = 0). You apply boundary value analysis to the “password length” variable. Your set of test cases achieves 100% 2-value boundary value coverage. The team decided that due to the high risk of this component, test cases should be added to ensure 100% 3-value boundary value coverage. Which additional password lengths should be tested to achieve this?
A
1, 5, 13
B
1, 4, 7, 11, 14
C
7, 11
D
4, 5, 13, 14
Correct Answer:
B :
1, 4, 7, 11, 14
The domain for the password length has three equivalence partitions: |
question_th |
Q27:
Chapter: 4 - Test Analysis and Design
The following decision table contains the rules for determining the risk of atherosclerosis.
You designed the test cases with the following test input data: TC1: Cholesterol = 125 mg/dl Blood pressure = 141 mm Hg TC2: Cholesterol = 200 mg/dl Blood pressure = 201 mm Hg TC3: Cholesterol = 124 mg/dl Blood pressure = 201 mm Hg TC4: Cholesterol = 109 mg/dl Blood pressure = 200 mm Hg TC5: Cholesterol = 201 mg/dl Blood pressure = 140 mm Hg What is the decision table coverage achieved by these test cases?
A
60%
B
100%
C
40%
D
80%
Correct Answer:
A :
60%
There are five columns in the decision table. Each test case covers one of them. |
question_th |
Q28:
Chapter: 4 - Test Analysis and Design
Let the branch coverage metric be defined as BCov = (X / Y) * 100%.
What do X and Y represent in this formula?
A
X = number of conditional branches exercised by the test cases
Y = total number of decision outcomes in the code
B
X = number of decision outcomes exercised by the test cases
Y = total number of decision outcomes in the code
C
X = number of branches exercised by the test cases
Y = total number of branches in the code
D
X = number of conditional branches exercised by the test cases
Y = total number of branches in the code
Correct Answer:
C :
X = number of branches exercised by the test cases
Y = total number of branches in the code
Branch testing is a white-box test technique in which the coverage items are branches. |
question_th |
Q29:
Chapter: 4 - Test Analysis and Design
Consider the following acceptance criteria for a user story written from the perspective of an online store owner
Given that the user is logged in and on the homepage, When the user clicks on the "Add Item" button, Then the "Create Item" form should appear, And the user should be able to input a name and price for the new item. In what format is this acceptance criteria written? Select ONE option
A
Rule-oriented
B
Process-oriented
C
Scenario-oriented
D
Product-oriented
Correct Answer:
C :
Scenario-oriented
N/A |
question_th |
Q30:
Chapter: 5 - Managing the Test Activities
You are testing a web application that allows users to SEARCH for products, VIEW product details, ADD products to a shopping cart, and place an ORDER.
You have prepared the following five test cases, which you want to execute according to their priorities: TC1: SEARCH product A Priority: medium TC2: VIEW product A details Priority: low TC3: ADD product B to a shopping cart Priority: medium TC4: ADD product C to a shopping cart Priority: high TC5: place an ORDER Priority: high You also identified the following logical dependencies between test cases: - SEARCH functionality must be tested before VIEW functionality can be tested, as product details rely on search functionality. - VIEW functionality must be tested before ADD functionality, as adding products relies on the availability of accurate product details. - ADD functionality must be tested before ORDER functionality, as placing an order relies on the availability of accurate shopping cart information. Which test case should be executed as the fourth one? Select ONE option.
A
TC2
B
TC4
C
TC1
D
TC3
Correct Answer:
D :
TC3
According to the dependencies, SEARCH tests must be executed first, then VIEW tests, then ADD tests and, at the end, ORDER tests. Within each of these groups the order is determined by the priorities of the test cases. |
question_th |
Q31:
Chapter: 5 - Managing the Test Activities
Your team follows the process that uses the DevOps delivery pipeline. The first three steps of this process are:
(1) Code development (2) Submit code into a version control system and merge it into the “test” branch (3) Perform component testing for the submitted code Which of the following is BEST suited to be the entry criterion for step (2) of this pipeline?
A
Statement coverage is at least 80%
B
Static analysis returns no high severity warnings for the submitted code
C
Component tests are compiled and ready to be executed
D
System version control reports no conflicts when merging code into the “test” branch
Correct Answer:
B :
Static analysis returns no high severity warnings for the submitted code
N/A |
question_th |
Q32:
Chapter: 5 - Managing the Test Activities
You want to estimate the test effort for the new project using estimation based on ratios. You calculate the test-to-development effort ratio using averaged data for both development effort and test effort from four historical projects similar to the new one. The table shows this historical data.
The estimated development effort for the new project is $800,000. What is your estimate of the test effort in this project?
A
$40,000
B
$81,250
C
$82,500
D
$80,000
Correct Answer:
D :
$80,000
The average development effort is $900,000 and the average test effort is $90,000 (calculated from the four projects). |
question_th |
Q33:
Chapter: 5 - Managing the Test Activities
According to the testing quadrants model, which of the following falls into quadrant Q1 (“technology facing” and “support the team”)?
Select ONE option.
A
Usability testing
B
User acceptance testing
C
Functional testing
D
Component integration testing
Correct Answer:
D :
Component integration testing
N/A |
question_th |
Q34:
Chapter: 5 - Managing the Test Activities
Given the following risks:
1. Ineffective loop implementation causes long system responses 2. Consumers change their preferences 3. Flooding of the server room 4. Patients above a certain age receive inaccurate reports And the following mitigation activities: A. Risk acceptance B. Performance testing C. Using boundary value analysis as the test technique D. Risk transfer Which of the following BEST matches the risks with the mitigation activities?
A
1B, 2D, 3A, 4C
B
1C, 2D, 3A, 4B
C
1C, 2A, 3D, 4B
D
1B, 2A, 3D, 4C
Correct Answer:
D :
1B, 2A, 3D, 4C
Considering each of the listed risks and their mitigations: |
question_th |
Q35:
Chapter: 5 - Managing the Test Activities
According to the testing quadrants model, which of the following falls into quadrant Q1 (“technology facing” and “support the team”)?
Select ONE option
A
Number of defects found
B
Requirements coverage
C
Defect detection percentage
D
Mean time to failure
Correct Answer:
D :
Mean time to failure
N/A |
question_th |
Q36:
Chapter: 5 - Managing the Test Activities
Which of the following BEST describes an example of how configuration management (CM) supports testing?
Select ONE option
A
Having a record of the values of the test inputs, the CM tool can execute the test cases for these configurations and calculate test coverage
B
Having data about the date of purchase of a software license, the CM tool automatically generates information about the fact that the product license is coming to an end
C
Having the version number of the environment, the CM tool can retrieve the version numbers of libraries, stubs and drivers used in that environment
D
Having the version number of the test case, the CM tool can automatically generate test data for this test case
Correct Answer:
C :
Having the version number of the environment, the CM tool can retrieve the version numbers of libraries, stubs and drivers used in that environment
N/A |
question_th |
Q37:
Chapter: 5 - Managing the Test Activities
You are a member of a test team located in North America, developing a product for a client located in Europe.
The team is agile and follows the DevOps approach and uses a continuous integration/continuous delivery pipeline. Which of the following is the LEAST effective way to communicate test progress to the customer? Select ONE option.
A
Email
B
Video conferencing
C
Face-to-face
D
Dashboards
Correct Answer:
C :
Face-to-face
N/A |
question_th |
Q38:
Chapter: 5 - Managing the Test Activities
You are testing a sort function that gets a set of numbers as input and returns the same set of numbers sorted in ascending order. The log from the test execution looks as follows.
(see log) Which of the following provides the BEST description of the failure that can be used in a defect report?
A
The system fails to sort several sets of numbers. Reference: TC3, TC4, TC5
B
The system fails to sort negative numbers. Reference: TC4, TC5.
C
TC3, TC4 and TC5 have defects (duplicate input data) and should be corrected.
D
The system seems to disregard duplicates while sorting. Reference: TC3, TC4, TC5
Correct Answer:
D :
The system seems to disregard duplicates while sorting. Reference: TC3, TC4, TC5
N/A |
question_th |
Q39:
Chapter: 6 - Test Tools
Given the following descriptions:
1. Support workflow tracking 2. Facilitate communication 3. Virtual machines 4. Support reviews And the following test tool categories: A. Static testing tools B. Tools supporting scalability and deployment standardization C. DevOps tools D. Collaboration tools Which of the following BEST matches the risks with the mitigation activities? Select ONE option.
A
1B, 2D, 3C, 4A
B
1D, 2C, 3A, 4B
C
1A, 2B, 3C, 4D
D
1C, 2D, 3B, 4A
Correct Answer:
D :
1C, 2D, 3B, 4A
Considering each of the listed tool categories and their descriptions: |
question_th |
Q40:
Chapter: 6 - Test Tools
Which of the following is MOST likely to be a benefit of test automation?
Select ONE option.
A
It generates test cases from an analysis of the program code
B
It removes the need for critical thinking when analyzing test results
C
It provides coverage measures that are too complicated for humans to derive
D
It shares responsibility for the testing with the tool vendor
Correct Answer:
C :
It provides coverage measures that are too complicated for humans to derive
|