ExamGecko
Home Home / ISTQB / CTFL-2018

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

Question list
Search
Search

Related questions











Which of the following is a correct reason to apply test automation?

A.
When a new test automation tool is launched
A.
When a new test automation tool is launched
Answers
B.
When there are a lot of repetitive testing tasks
B.
When there are a lot of repetitive testing tasks
Answers
C.
When it is easy to automate
C.
When it is easy to automate
Answers
D.
When it is cheap to buy test automation tools
D.
When it is cheap to buy test automation tools
Answers
Suggested answer: B

Explanation:

A correct reason to apply test automation is when there are a lot of repetitive testing tasks, as test automation can reduce the effort and time required to execute them, and improve the consistency and accuracy of the results. The other options are not valid reasons to apply test automation, as they do not consider the benefits and risks of test automation, the suitability of the test object for automation, or the availability of resources and skills for automation.

Which of the following processes is related to ensuring the integrity of the testware?

A.
Configuration management
A.
Configuration management
Answers
B.
Test automation
B.
Test automation
Answers
C.
Build release
C.
Build release
Answers
D.
Project management
D.
Project management
Answers
Suggested answer: A

Explanation:

Configuration management is related to ensuring the integrity of the testware, as it is a process that controls and documents changes to test items, test cases, test data, test scripts, test results, and test documentation throughout the testing lifecycle. The other options are not related to ensuring the integrity of the testware, but to other aspects of testing such as test execution, test environment setup, and test planning.

Considering the following pseudo-code, calculate the MINIMUM number of test cases required to achieve 100% statement coverage and 100% decision coverage.

A.
Statement coverage: 4, Decision coverage: 5
A.
Statement coverage: 4, Decision coverage: 5
Answers
B.
Statement coverage. 3. Decision coverage 4
B.
Statement coverage. 3. Decision coverage 4
Answers
C.
Statement coverage 4. Decision coverage 4
C.
Statement coverage 4. Decision coverage 4
Answers
D.
Statement coverage: 4. Decision coverage: 3
D.
Statement coverage: 4. Decision coverage: 3
Answers
Suggested answer: C

Explanation:

To achieve 100% statement coverage, we need to execute every statement in the code at least once. To achieve 100% decision coverage, we need to execute every possible outcome of every decision in the code at least once. In this case, we can use the following test cases to cover both statement and decision coverage:

A = 5, B = 4, C = 3, D = 2, E = 1

A = 1, B = 2, C = 3, D = 4, E = 5

A = 3, B = 4, C = 5, D = 2, E = 1

A = 3, B = 2, C = 1, D = 4, E = 5

These four test cases will cover all the statements and all the possible outcomes of the decisions in the code. Therefore, the minimum number of test cases required to achieve both statement and decision coverage is four.

Consider the following Pseudo code:

How many minimum lea cases are required to cover 100% Statement coverage and Decision coverage?

A.
1 for Statement. 5 for Decision
A.
1 for Statement. 5 for Decision
Answers
B.
1 for Statement. 2 for Decision
B.
1 for Statement. 2 for Decision
Answers
C.
5 for Statement. 1 for Decision
C.
5 for Statement. 1 for Decision
Answers
D.
2 for Statement, 5 for Decision
D.
2 for Statement, 5 for Decision
Answers
Suggested answer: B

Explanation:

To achieve 100% statement coverage, we need to execute every statement in the code at least once. To achieve 100% decision coverage, we need to execute every possible outcome of every decision in the code at least once. In this case, we can use the following test cases to cover both statement and decision coverage:

A = true, B = true

A = false, B = false

These two test cases will cover all the statements and all the possible outcomes of the decisions in the code. Therefore, the minimum number of test cases required to achieve both statement and decision coverage is two.

What is a typical benefit of use case testing?

A.
Finding failures in the possible states transitions
A.
Finding failures in the possible states transitions
Answers
B.
Clearer identification of system equivalence partitioning
B.
Clearer identification of system equivalence partitioning
Answers
C.
Finding of failures in the business process flows, which highlight system use in the real world
C.
Finding of failures in the business process flows, which highlight system use in the real world
Answers
D.
Identification of bugs in the system components.
D.
Identification of bugs in the system components.
Answers
Suggested answer: C

Explanation:

Use case testing is a technique that uses scenarios based on use cases to test the functionality and usability of a system from the user's perspective. A use case is a description of how a system interacts with one or more actors (users or other systems) to achieve a specific goal. A typical benefit of use case testing is finding failures in the business process flows, which highlight system use in the real world. This is because use case testing focuses on how the system is used by different actors in different situations, rather than on individual components or features of the system.

Which of the following statements is the best explanation why software failures can be caused by environmental conditions?

A.
Factors like magnetism, radiation and even pollution can affect electronic devices and the performance of their embedded real time software
A.
Factors like magnetism, radiation and even pollution can affect electronic devices and the performance of their embedded real time software
Answers
B.
Environmental conditions only affect the hardware - not the software
B.
Environmental conditions only affect the hardware - not the software
Answers
C.
If the hardware on which the software application is running under ambient temperature and humidity, no failures can be linked to environmental conditions
C.
If the hardware on which the software application is running under ambient temperature and humidity, no failures can be linked to environmental conditions
Answers
D.
Extreme heat and vibrations exerted on storage media can cause errors in algorithms and program flows
D.
Extreme heat and vibrations exerted on storage media can cause errors in algorithms and program flows
Answers
Suggested answer: B

Explanation:

The statement that environmental conditions only affect the hardware - not the software is not a good explanation why software failures can be caused by environmental conditions. Environmental conditions can affect both the hardware and the software, as they can influence the performance, reliability, and functionality of the system. For example, factors like magnetism, radiation, pollution, heat, humidity, vibration, etc. can affect electronic devices and the embedded software that runs on them. Software failures caused by environmental conditions can have serious consequences, especially for safety-critical systems.

Reference:Certified Tester Foundation Level Syllabus, Section 1.2.2

Which of the following test types are non-functional tests?

I) Acceptance test

II,) Regression test

II,I) Stress test

IV) Component test

V) Reliability test

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

Explanation:

Non-functional testing is a type of testing that focuses on the quality attributes of the system or its components, such as performance, reliability, usability, security, etc. Non-functional testing can be done at any test level, depending on the test objectives and scope. In this case, the test types that are non-functional tests are:

Acceptance test: A test level that focuses on verifying whether the system meets the user's needs and expectations, and whether it is acceptable for delivery or deployment.

Stress test: A type of performance testing that evaluates the behavior of the system under extreme or abnormal conditions, such as high load, limited resources, or concurrent access.

Reliability test: A type of testing that evaluates the ability of the system or its components to perform their required functions under stated conditions for a specified period of time.

Therefore, statements I, II,I, and V are correct.

Which of the following is NOT a test control activity?

A.
Re-prioritize tests because of time pressure
A.
Re-prioritize tests because of time pressure
Answers
B.
Change the test schedule due to viability of a test environment
B.
Change the test schedule due to viability of a test environment
Answers
C.
Writing test suspension and resumption criteria in the test plan
C.
Writing test suspension and resumption criteria in the test plan
Answers
D.
Set an entry criterion requiring fixes to be retested by a developer before accepting them into a build
D.
Set an entry criterion requiring fixes to be retested by a developer before accepting them into a build
Answers
Suggested answer: C

Explanation:

Test control is a test management activity that involves making decisions based on information from test monitoring and test progress reporting. Test control activities include:

Re-prioritizing tests because of time pressure

Changing the test schedule due to availability of a test environment

Setting entry and exit criteria for test levels or test activities

Initiating corrective actions to resolve deviations from the test plan

Writing test suspension and resumption criteria in the test plan is not a test control activity, but rather a test planning activity. Test suspension and resumption criteria are used to define when to stop and resume testing in case of unforeseen events or issues that affect the test execution.

Which of the following statements about use cases and use case testing is NOT TRUE?

A.
Use cases can be used as test basis for acceptance testing
A.
Use cases can be used as test basis for acceptance testing
Answers
B.
Use case testing can find defects in the process flow.
B.
Use case testing can find defects in the process flow.
Answers
C.
Use cases can be described at the abstract level or at the system level
C.
Use cases can be described at the abstract level or at the system level
Answers
D.
Use cases are normally derived from decision tables
D.
Use cases are normally derived from decision tables
Answers
Suggested answer: D

Explanation:

The statement that use cases are normally derived from decision tables is not true. Decision tables are a technique to represent complex logical conditions in a tabular form, where each column represents a possible combination of conditions and actions. Use cases are a technique to describe how a system interacts with one or more actors (users or other systems) to achieve a specific goal. Use cases are not derived from decision tables, but from the requirements and the user's perspective of the system.

What is a defect density?

A.
The percentage of defects identified over the total number of test cases
A.
The percentage of defects identified over the total number of test cases
Answers
B.
The deviation rate of the system from its expected behavior
B.
The deviation rate of the system from its expected behavior
Answers
C.
The ratio of the defects identified in these system over the expected number of total defects
C.
The ratio of the defects identified in these system over the expected number of total defects
Answers
D.
The number of defects identified in the system under test divided by the size of the system
D.
The number of defects identified in the system under test divided by the size of the system
Answers
Suggested answer: D

Explanation:

Defect density is a metric that measures the number of defects identified in the system under test divided by the size of the system. The size of the system can be measured in different ways, such as lines of code, function points, or modules. Defect density can be used to compare the quality of different systems or different versions of the same system.

Total 365 questions
Go to page: of 37