ExamGecko
Home / ISTQB / CTFL-2018 / List of questions
Ask Question

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

Question list
Search

Question 31

Report
Export
Collapse

A test case starts at S1 and triggers 4 events in sequence: E1, E4, E5, E7. What will be the finishing state and the output(s) from the test case? [K3]

Refer to the exhibit

ISTQB CTFL-2018 image Question 31 48637 09182024210803000000

S2 and O4
S2 and O4
S4 and O2
S4 and O2
S4 and O4
S4 and O4
S2 and O2
S2 and O2
Suggested answer: D

Explanation:

S2 and O2 are the finishing state and the output(s) from the test case1. The question asks about a test case that starts at S1 and triggers 4 events in sequence: E1, E4, E5, E7. The question refers to a state diagram that shows the logic of a system with six states (S1, S2, S3, S4, S5, S6) and seven events (E1, E2, E3, E4, E5, E6, E7). The state diagram also shows four outputs (O1, O2, O3, O4) that are produced by some events. The state diagram is shown below:

!state diagram

To answer this question, we need to follow the path of the test case on the state diagram and observe the state transitions and outputs that occur. The path of the test case is:

Start at S1

Trigger E1

Transition to S2

Trigger E4

Transition to S3

Trigger E5

Transition to S2

Output O2

Trigger E7

Transition to S6

Therefore, the finishing state of the test case is S2 and the output(s) from the test case is O2. Hence, D is the correct answer.

Topic 3, Exam Pool C

asked 18/09/2024
Charalambos Stavrou
34 questions

Question 32

Report
Export
Collapse

A booking system for a city bus service prices its fares according to the time of travel:

* Peak-time tariff starts at 0600 and finishes at 1000 am

* Off-peak tariff applies during all other times of service

* The bus service does not operate between 2300 and the start of the next day's peak service

Note that all times mentioned are inclusive.

When applying the equivalence partitioning test design technique, which of the following options, shows test case inputs that each fall into a different equivalence partition?

0600, 1000, 1200
0600, 1000, 1200
1001, 1300, 2259
1001, 1300, 2259
0100, 0800, 2200
0100, 0800, 2200
2400, 1000, 2301
2400, 1000, 2301
Suggested answer: D

Explanation:

2400, 1000, 2301 are test case inputs that each fall into a different equivalence partition1.Equivalence partitioning is a black box test design technique that divides the input domain of a system into partitions of equivalent data2.Each partition should contain data that is expected to be treated the same by the system2.Therefore, only one test case input from each partition is needed to test the system's behaviour2. In this question, the input domain of the system is the time of travel, which can be divided into three partitions based on the fare rules:

Peak-time tariff: This partition contains all the times between 0600 and 1000 (inclusive), which are subject to a higher fare.

Off-peak tariff: This partition contains all the times between 1001 and 2259 (inclusive), which are subject to a lower fare.

No service: This partition contains all the times between 2300 and 0559 (inclusive), which are not valid for travel.

Therefore, to test the system's behaviour for each partition, we need to choose one test case input from each partition. Among the options given in this question, only D contains one test case input from each partition. 2400 belongs to the no service partition, 1000 belongs to the peak-time tariff partition, and 2301 belongs to the off-peak tariff partition. Therefore, D is the correct answer.

asked 18/09/2024
Peter Lam
42 questions

Question 33

Report
Export
Collapse

Your company is developing a system with complex business rules and many branches in the structure of its code components. You need to choose one black box technique and one white box technique for test case design.

Which one of the following offers the BEST choice?

Statement testing and exploratory testing
Statement testing and exploratory testing
Decision testing and equivalence partitioning
Decision testing and equivalence partitioning
Decision testing and decision table testing
Decision testing and decision table testing
Boundary value analysis and decision table testing
Boundary value analysis and decision table testing
Suggested answer: D

Explanation:

Boundary value analysis and decision table testing are the best choice of one black box technique and one white box technique for test case design2.A black box technique is a technique that uses the external behaviour or specification of a system as a test basis to derive test cases without referring to its internal structure or logic2.A white box technique is a technique that uses the internal structure or logic of a system as a test basis to derive test cases and measure test coverage2. In this question, the system has complex business rules and many branches in the structure of its code components. Therefore, we need to choose a black box technique that can handle complex business rules and a white box technique that can cover many branches.

Boundary value analysis is a black box technique that tests the values at or near the boundaries of an equivalence partition2.Boundary value analysis can handle complex business rules by identifying the boundary conditions that may cause errors or exceptions in the system's behaviour2.

Decision table testing is a white box technique that tests all possible combinations of conditions and actions in a decision logic2.Decision table testing can cover many branches by creating a table that shows how each condition affects each action and then deriving test cases from each row of the table2.

Therefore, boundary value analysis and decision table testing are the best choice of one black box technique and one white box technique for test case design.

asked 18/09/2024
Simon Liu
36 questions

Question 34

Report
Export
Collapse

Which of the following is a Black Box test design technique?

Decision Coverage
Decision Coverage
Error Guessing
Error Guessing
Statement Coverage
Statement Coverage
Equivalence Partitioning
Equivalence Partitioning
Suggested answer: D

Explanation:

Equivalence partitioning is a black box test design technique2.A black box technique is a technique that uses the external behaviour or specification of a system as a test basis to derive test cases without referring to its internal structure or logic2.Equivalence partitioning is a technique that divides the input domain of a system into partitions of equivalent data2.Each partition should contain data that is expected to be treated the same by the system2.Therefore, only one test case input from each partition is needed to test the system's behaviour2. Therefore, equivalence partitioning is a black box test design technique.

asked 18/09/2024
Paul Cessant
34 questions

Question 35

Report
Export
Collapse

Which of the following is a white-box test technique?

Decision table testing
Decision table testing
Exploratory testing
Exploratory testing
Statement testing
Statement testing
Error guessing
Error guessing
Suggested answer: C

Explanation:

Statement testing is a white box test technique2.A white box technique is a technique that uses the internal structure or logic of a system as a test basis to derive test cases and measure test coverage2.Statement testing is a technique that uses executable statements in the source code as a test basis to measure the coverage achieved by a test suite2.A statement is an instruction or command that performs an action or calculation in the source code2.Statement testing requires every statement in the source code to be executed at least once by a test suite2. Therefore, statement testing is a white box test technique.

asked 18/09/2024
Martin Mannsbarth
32 questions

Question 36

Report
Export
Collapse

During which stage of the fundamental test process is the testability of requirements evaluated?

Test Implementation and Execution
Test Implementation and Execution
Test Planning and Control
Test Planning and Control
Evaluating Exit Criteria and Reporting
Evaluating Exit Criteria and Reporting
Test Analysis and Design
Test Analysis and Design
Suggested answer: D

Explanation:

The testability of requirements is evaluated during the Test Analysis and Design stage of the fundamental test process3. The fundamental test process consists of five main activities:

Test Planning and Control: This activity involves defining the scope, objectives, approach, and resources for testing, as well as monitoring and controlling the test progress and results3.

Test Analysis and Design: This activity involves analyzing the test basis (such as requirements, design, etc.) and designing the test cases, procedures, and environment3.The testability of requirements is evaluated during this activity, as it involves checking the clarity, completeness, consistency, and testability of the requirements3.

Test Implementation and Execution: This activity involves implementing the test cases and procedures, preparing the test environment and data, executing the test cases, and logging the test results and incidents3.

Evaluating Exit Criteria and Reporting: This activity involves evaluating the test results against the exit criteria (such as coverage, defect rate, etc.) and reporting the test status and outcomes to the stakeholders3.

Test Closure Activities: This activity involves finalizing the test documentation, archiving the test artifacts, evaluating the test process and lessons learned, and releasing the test resources

asked 18/09/2024
Maurille AGBISSIKO
33 questions

Question 37

Report
Export
Collapse

You are examining a document which gives the precise steps needed in order to execute a test.

What is the correct definition of this document?

Test design specification
Test design specification
Test condition
Test condition
Test procedure specification
Test procedure specification
Test case specification
Test case specification
Suggested answer: C

Explanation:

A test procedure specification is a document that gives the precise steps needed in order to execute a test2.A test procedure specification defines how to run each test case or group of test cases in a specific order, including any preconditions, postconditions, inputs, outputs, actions, verifications, and expected results2.A test procedure specification can also include information about the test environment, tools, data, roles, responsibilities, risks, etc2. Therefore, a test procedure specification is a document that gives the precise steps needed in order to execute a test.

asked 18/09/2024
Alysson Rodrigo Freires Neto
44 questions

Question 38

Report
Export
Collapse

Which of the following is NOT a valid objective of testing?

Preventing defects from being introduced into the code
Preventing defects from being introduced into the code
Investigating and fixing defects in the software under test
Investigating and fixing defects in the software under test
Gaining confidence that the system is fit-for-purpose
Gaining confidence that the system is fit-for-purpose
Providing information for stakeholders' decision making
Providing information for stakeholders' decision making
Suggested answer: A

Explanation:

Preventing defects from being introduced into the code is not a valid objective of testing, because testing can only detect defects that are already present in the code, not prevent them from happening. Testing can help prevent future defects by providing feedback to developers and other stakeholders, but it cannot guarantee that no defects will be introduced.Preventing defects is more related to quality assurance activities, such as reviews, inspections, and standards12.

asked 18/09/2024
ayodele fakayode
35 questions

Question 39

Report
Export
Collapse

Which of the following options explain why it is often beneficial to have an independent test function in an organisation?

To improve defect finding during reviews and testing
To improve defect finding during reviews and testing
To ensure that developers adhere to coding standards
To ensure that developers adhere to coding standards
To limit communication between developers and testers
To limit communication between developers and testers
To provide better metrics for the stakeholders
To provide better metrics for the stakeholders
Suggested answer: A

Explanation:

Having an independent test function in an organisation can improve defect finding during reviews and testing, because independent testers can provide a different perspective and have less bias than developers or other stakeholders.Independent testers can also focus on testing activities without being influenced by development pressures or deadlines12. The other options are not valid reasons for having an independent test function. Option B is more related to code reviews, which can be done by developers themselves or by peers. Option C is not beneficial, because communication between developers and testers is essential for effective testing and defect resolution.Option D is not directly related to the test function, but to the test management and reporting processes12.

asked 18/09/2024
marco antonio villanueva
36 questions

Question 40

Report
Export
Collapse

Which of the following would NOT be a typical target of testing support tools?

Automate activities that require significant resources when done manually
Automate activities that require significant resources when done manually
Automate activities that cannot be executed manually
Automate activities that cannot be executed manually
Automate repetitive tasks
Automate repetitive tasks
Automating repetitive inspections
Automating repetitive inspections
Suggested answer: D

Explanation:

Testing support tools are software tools that assist testers in performing testing activities, such as test management, test design, test execution, test evaluation, and defect management1.According to the ISTQB syllabus, some typical targets of testing support tools are to automate activities that require significant resources when done manually, automate activities that cannot be executed manually, and automate repetitive tasks1.Automating repetitive inspections is not a typical target of testing support tools, as inspections are static testing techniques that involve human review and analysis of software artifacts1.

asked 18/09/2024
Steve Daniels
39 questions
Total 365 questions
Go to page: of 37