ExamGecko
Home Home / ISTQB / CTFL4

ISTQB CTFL4 Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Related questions











Out of the following. what is not needed to specify in defect report?

A.
Test environment details
A.
Test environment details
Answers
B.
How to reproduce the defect
B.
How to reproduce the defect
Answers
C.
How to fix the defect
C.
How to fix the defect
Answers
D.
Seventy and priority
D.
Seventy and priority
Answers
Suggested answer: C

Explanation:

A defect report is a document that records the details of a defect found during testing. A defect report typically contains the following items:

Identifier: A unique identifier for the defect report

Summary: A concise summary of the defect

Description: A detailed description of the defect, including the steps to reproduce it, the expected and actual results, and any relevant screenshots or logs

Severity: The degree of impact that the defect has on the system

Priority: The level of urgency for resolving the defect

Status: The current state of the defect, such as new, open, resolved, closed, etc.

Resolution: The action taken to resolve the defect, such as fix, workaround, reject, etc. Out of these items, the one that is not needed to specify in a defect report is how to fix the defect. How to fix the defect is a technical solution that is usually determined by the developer who is assigned to resolve the defect. How to fix the defect is not part of the defect report, but rather part of the code change or patch that is delivered to fix the defect. The other items are needed to specify in a defect report, as they provide essential information for identifying, tracking and resolving defects. Verified

Reference: [A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer], Chapter 3, page 32-33.

You need to test the login page of a web site. The page contains fields for user name and password. Which test design techniques are most appropriate for this case?

A.
Decision table testing, state transition testing.
A.
Decision table testing, state transition testing.
Answers
B.
Equivalence partitioning, Boundary value analysis.
B.
Equivalence partitioning, Boundary value analysis.
Answers
C.
Exploratory testing, statement coverage.
C.
Exploratory testing, statement coverage.
Answers
D.
Decision coverage, fault attack.
D.
Decision coverage, fault attack.
Answers
Suggested answer: B

Explanation:

Equivalence partitioning and boundary value analysis are test design techniques that are most appropriate for testing the login page of a web site. The page contains fields for user name and password, which are input values that can be divided into partitions of equivalent data. Equivalence partitioning is a technique that divides the input data and output results of a software component into partitions of equivalent data. Each partition should contain data that is treated in the same way by the component. Equivalence partitioning can be used to reduce the number of test cases by selecting one representative value from each partition. Boundary value analysis is a technique that tests boundary values between partitions of equivalent data. Boundary values are values at the edge of an equivalence partition or at the smallest incremental distance on either side of an edge. Boundary value analysis can be used to detect defects caused by incorrect handling of boundary conditions. For example, for testing the user name field, we can identify two equivalence partitions: valid user name (existing and correct) and invalid user name (non-existing or incorrect). The boundary values for these partitions are the minimum and maximum length of user name allowed by the system.

Decision table testing and state transition testing are not suitable for testing the login page of a web site, as they are more applicable for testing components that have multiple inputs and outputs that depend on logical combinations of conditions or events. Decision table testing is a technique that shows combinations of inputs and/or stimuli (causes) with their associated outputs and/or actions (effects). State transition testing is a technique that models how a system transitions from one state to another depending on events or conditions.

Exploratory testing and statement coverage are not suitable for testing the login page of a web site, as they are more applicable for testing components that require learning, creativity and intuition or structural analysis. Exploratory testing is an approach to testing that emphasizes learning, test design and test execution at the same time. Exploratory testing relies on the tester's skills, creativity and intuition to explore the software under test and discover defects. Statement coverage is a type of structural testing that measures how many statements in a program have been executed by a test suite. Statement coverage can be used to assess the adequacy or completeness of a test suite.

Decision coverage and fault attack are not suitable for testing the login page of a web site, as they are more applicable for testing components that have complex logic or potential errors. Decision coverage is a type of structural testing that measures how many decision outcomes in a program have been executed by a test suite. Decision coverage can be used to assess the adequacy or completeness of a test suite. Fault attack is a type of functional testing that deliberately introduces faults into a system in order to provoke failures or errors. Verified

Reference: [A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer], Chapter 4, page 34-46; Chapter 5, page 47-48.

For withdrawing money tram an Automated Teller Machine (ATM), the following conditions are required:

- The bank card is valid

- The PIN code is correct

- Money is available in the user's account

The following are some possible interactions between the user and the ATM:

- The entered card is invalid The card is rejected

- The PIN code is wrong The ATM asks for another PIN code

- The requested amount is more than available in the user's account: The ATM asks for another amount

- The requested amount is available in the user's account The ATM dispenses the money

Which test design technique should be used to cover all possible combinations of the in put conditions?

A.
Use case based testing
A.
Use case based testing
Answers
B.
Decision table
B.
Decision table
Answers
C.
Boundary value analysis
C.
Boundary value analysis
Answers
D.
Equivalence class partitioning
D.
Equivalence class partitioning
Answers
Suggested answer: B

Explanation:

A decision table is a technique that should be used to cover all possible combinations of input conditions for withdrawing money from an Automated Teller Machine (ATM). A decision table shows combinations of inputs and/or stimuli (causes) with their associated outputs and/or actions (effects). A decision table consists of four quadrants: conditions (inputs), actions (outputs), condition entries (values) and action entries (results). A decision table can be used to test components that have multiple inputs and outputs that depend on logical combinations of conditions. For example, for testing the ATM, we can identify three input conditions: the bank card is valid, the PIN code is correct, and money is available in the user's account. We can also identify four output actions: the card is rejected, the ATM asks for another PIN code, the ATM asks for another amount, and the ATM dispenses the money. A decision table can show all possible combinations of these conditions and actions in a systematic way.

Use case based testing is not a technique that can cover all possible combinations of input conditions for withdrawing money from an ATM. Use case based testing is a technique that verifies that a software product or system meets its specified requirements or user stories by executing realistic scenarios or workflows. Use case based testing can be used to test components that have complex or dynamic interactions with users or other systems. For example, for testing the ATM, we can identify several use cases, such as withdraw money, check balance, transfer money, etc. Each use case can have one or more scenarios that describe the steps and outcomes of the interaction. However, use case based testing may not cover all possible combinations of input conditions, as some scenarios may be omitted or overlooked.

Boundary value analysis is not a technique that can cover all possible combinations of input conditions for withdrawing money from an ATM. Boundary value analysis is a technique that tests boundary values between partitions of equivalent data. Boundary values are values at the edge of an equivalence partition or at the smallest incremental distance on either side of an edge. Boundary value analysis can be used to test components that have input values that can be divided into partitions of equivalent data. For example, for testing the ATM, we can identify boundary values for the input amount, such as the minimum and maximum amount allowed by the system or the user's account. However, boundary value analysis may not cover all possible combinations of input conditions, as some conditions may not have boundary values or may not be related to input values.

Equivalence class partitioning is not a technique that can cover all possible combinations of input conditions for withdrawing money from an ATM. Equivalence class partitioning is a technique that divides the input data and output results of a software component into partitions of equivalent data. Each partition should contain data that is treated in the same way by the component. Equivalence class partitioning can be used to test components that have input values that can be divided into partitions of equivalent data. For example, for testing the ATM, we can identify equivalence partitions for the input amount, such as valid amount (within the range allowed by the system and the user's account) and invalid amount (outside the range allowed by the system or the user's account). However, equivalence class partitioning may not cover all possible combinations of input conditions, as some conditions may not be related to input values or may have more than two partitions. Verified

Reference: [A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer], Chapter 4, page 34-46.

Which of the following statements about reviews are TRUE?

I . In walkthroughs the review meeting is typically led by the author.

II Inspection is characterized by an open-ended review meeting

III Preparation before the review meeting is part of informal reviews

IV Management rarely participates in technical review meetings

A.
II, Ill
A.
II, Ill
Answers
B.
I, II
B.
I, II
Answers
C.
I, IV
C.
I, IV
Answers
D.
III, IV
D.
III, IV
Answers
Suggested answer: C

Explanation:

The following statements about reviews are true:

I) In walkthroughs the review meeting is typically led by the author. A walkthrough is a type of review that has a predefined objective and agenda but no formal process or roles. A walkthrough is typically led by the author of the work product under review, who guides the participants through a scenario and solicits feedback.

IV) Management rarely participates in technical review meetings. A technical review is a type of review that has a predefined objective and agenda but no formal process or roles. A technical review is typically performed by peers with technical expertise in order to evaluate technical aspects of a work product. Management rarely participates in technical review meetings, as they may not have sufficient technical knowledge or skills to contribute effectively. The following statements about reviews are false:

II) Inspection is characterized by an open-ended review meeting. An inspection is a type of review that follows a defined process with formal entry and exit criteria and roles and responsibilities for participants. An inspection is characterized by a structured review meeting with a fixed duration and agenda.

III) Preparation before the review meeting is part of informal reviews. Preparation before the review meeting is part of formal reviews, such as inspections or technical reviews. Preparation involves checking

The following part of a business process flow is specified; REPEAT (book a bill) UNTIL (User presses Cancel). How many test cases are necessary in order to achieve 100% branch coverage of the process flow?

A.
4
A.
4
Answers
B.
1
B.
1
Answers
C.
2
C.
2
Answers
D.
Infinite
D.
Infinite
Answers
Suggested answer: C

Explanation:

To achieve 100% branch coverage of the process flow, we need to test both the true and false outcomes of the condition (User presses Cancel). Branch coverage is a type of structural testing that measures how many decision outcomes in a program have been executed by a test suite. Branch coverage can be used to assess the adequacy or completeness of a test suite.

To test the true outcome of the condition, we need a test case that simulates the user pressing Cancel after booking a bill. This test case will exit the loop and end the process flow.

To test the false outcome of the condition, we need a test case that simulates the user not pressing Cancel after booking a bill. This test case will repeat the loop and book another bill.

Therefore, we need at least two test cases to achieve 100% branch coverage of the process flow. One test case for each possible outcome of the condition.

Verified

Reference: [A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer], Chapter 4, page 40-41.

Why it is essential that defects found in a review be reported objectively?

A.
In order to facilitate easy entry of detected defects in a OTS (Defect Tracking System)
A.
In order to facilitate easy entry of detected defects in a OTS (Defect Tracking System)
Answers
B.
In order to allow the author of reviewed work product(S) to take the feedback positively as an effort at improving the product (S) and not as a personal assault
B.
In order to allow the author of reviewed work product(S) to take the feedback positively as an effort at improving the product (S) and not as a personal assault
Answers
C.
In order to allow the review moderator to easily understand them, and assign them to the right developer for fixing
C.
In order to allow the review moderator to easily understand them, and assign them to the right developer for fixing
Answers
D.
In order to allow augmentation of existing checklists used for reviewing the work product (S)
D.
In order to allow augmentation of existing checklists used for reviewing the work product (S)
Answers
Suggested answer: B

Explanation:

The purpose of a review is to find defects and improve the quality of the work product, not to criticize or blame the author. Reporting defects objectively means describing them factually and constructively, without using negative or emotional language that could offend the author or damage their motivation. This way, the author can take the feedback positively as an effort at improving the product and not as a personal assault. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 138.

The testers in company A were part of the development team. Due to an organizational change they moved to be part of the support team.

What are the advantages and the disadvantages of this change?

A.
Advantage: More independence in deciding what and how to test, Disadvantage: Isolation from me development team knowledge
A.
Advantage: More independence in deciding what and how to test, Disadvantage: Isolation from me development team knowledge
Answers
B.
Advantage: being closer to customer perspective, Disadvantage less independence in perspectives
B.
Advantage: being closer to customer perspective, Disadvantage less independence in perspectives
Answers
C.
Advantage: pulled to support tasks and having less time for testing, Disadvantage less chances to move a tester to development
C.
Advantage: pulled to support tasks and having less time for testing, Disadvantage less chances to move a tester to development
Answers
D.
Advantage: increased chances to move a tester to development; Disadvantage: pulled to support tasks and having less time for testing
D.
Advantage: increased chances to move a tester to development; Disadvantage: pulled to support tasks and having less time for testing
Answers
Suggested answer: B

Explanation:

Being part of the support team means that the testers are closer to the customer perspective, which is an advantage for testing, as they can better understand the user needs and expectations, and identify more realistic scenarios and risks. However, being part of the support team also means that they have less independence in deciding what and how to test, as they may be influenced by the customer's preferences or requests, which could compromise the objectivity and effectiveness of testing. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 6.

The following sentences refer to the 'Standard for Software Test Documentation' specification (IEEE 829).

Which sentence is correct?

A.
Any deviation from this standard should be approved by management, marketing & development
A.
Any deviation from this standard should be approved by management, marketing & development
Answers
B.
Most test documentation regimes follow this spec to some degree, with changes done to fit a specific situation or organization
B.
Most test documentation regimes follow this spec to some degree, with changes done to fit a specific situation or organization
Answers
C.
The key to high quality test documentation regimes is strict adherence to this standard
C.
The key to high quality test documentation regimes is strict adherence to this standard
Answers
D.
This test plan outline is relevant for military projects. For consumer market projects there is a different specification with fewer items.
D.
This test plan outline is relevant for military projects. For consumer market projects there is a different specification with fewer items.
Answers
Suggested answer: B

Explanation:

The IEEE 829 standard is a widely used specification for test documentation, but it is not mandatory or universal. Most test documentation regimes follow this spec to some degree, with changes done to fit a specific situation or organization. The standard does not require any approval from management, marketing or development for any deviation, nor does it depend on the type of project (military or consumer market). The standard also does not guarantee high quality test documentation regimes, as it only provides a general outline and format, not the actual content or quality criteria. Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 16.

4 equivalence classes are given for integer values:

0 < x <100

100<= x <= 200

200 < x < 500

x >= 500

Which of the following options represent correct set of data for valid equivalence class partitions?

A.
50; 100; 200. 1000
A.
50; 100; 200. 1000
Answers
B.
0. 1.99, 100.200,201.499, 500;
B.
0. 1.99, 100.200,201.499, 500;
Answers
C.
0.50; 100; 150.200.350.500;
C.
0.50; 100; 150.200.350.500;
Answers
D.
50; 100; 250; 1000
D.
50; 100; 250; 1000
Answers
Suggested answer: C

Explanation:

The correct set of data for valid equivalence class partitions should include one value from each equivalence class, and no value from outside the range. Option C satisfies this condition, as it has one value from each of the four equivalence classes (50, 100, 250, 500). Option A has two values from the same equivalence class (100 and 200), option B has values outside the range (0 and 0.99), and option D has two values from the same equivalence class (1000 and 500). Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, page 35.

Which of the following are valid testing principles?

I) Exhaustive testing is in general impossible.

II) Exhaustive testing should be executed for code intended to be reused.

III) Testing may guarantee that a program is correct.

IV) Testing cannot guarantee that a program is correct.

V) Defects cluster together in certain areas of the product.

A.
I, IV, V
A.
I, IV, V
Answers
B.
II, Iv
B.
II, Iv
Answers
C.
I, V
C.
I, V
Answers
D.
I, Ill
D.
I, Ill
Answers
Suggested answer: A

Explanation:

Statements I, IV and V are valid testing principles according to the ISTQB syllabus. Statement I states that exhaustive testing is in general impossible, because it would require testing all possible inputs, outputs and combinations of states, which is usually impractical or impossible. Statement IV states that testing cannot guarantee that a program is correct, because testing can only show the presence of defects, not their absence. Statement V states that defects cluster together in certain areas of the product, which means that some modules or functions are more likely to contain defects than others. Statements II and III are invalid testing principles. Statement II states that exhaustive testing should be executed for code intended to be reused, which contradicts statement I . Statement III states that testing may guarantee that a program is correct, which contradicts statement IV . Verified

Reference:A Study Guide to the ISTQB Foundation Level 2018 Syllabus - Springer, pages 4-5.

Total 288 questions
Go to page: of 29