ExamGecko
Home Home / ISTQB / CTFL-2018

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

Question list
Search
Search

Related questions











In foundation level syllabus you will find the main basic principles of testing, Which of the following sentences describes one of these basic principles?

A.
Complete testing of software is attainable if you have enough resources and test tools
A.
Complete testing of software is attainable if you have enough resources and test tools
Answers
B.
For a software system, it is not possible under normal conditions, to test all input and output combinations.
B.
For a software system, it is not possible under normal conditions, to test all input and output combinations.
Answers
C.
A goal of testing is to show that the software is defect free
C.
A goal of testing is to show that the software is defect free
Answers
D.
With automated testing you can make statements with more confidence about the quality of a product than with manual testing.
D.
With automated testing you can make statements with more confidence about the quality of a product than with manual testing.
Answers
Suggested answer: B

Explanation:

One of the basic principles of testing is that for a software system, it is not possible under normal conditions to test all input and output combinations because they are too many and too complex to cover within a reasonable time and budget. Therefore, testers have to select a subset of inputs and outputs that are representative and relevant for testing based on criteria such as requirements, risks, priorities, etc. This principle implies that testing cannot prove that a software system is defect-free or has a certain level of quality because there might be some untested inputs or outputs that could reveal defects or failures. Testing can only provide information about the quality and risk level of a software system based on the observed behavior and results under certain conditions and assumptions. You can find more information about the basic principles of testing inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 11.

Which of the following is an example of black-box dynamic testing?

A.
Code inspection
A.
Code inspection
Answers
B.
Checking memory leaks for a program by executing it
B.
Checking memory leaks for a program by executing it
Answers
C.
Functional Testing
C.
Functional Testing
Answers
D.
Coverage analysis
D.
Coverage analysis
Answers
Suggested answer: C

Explanation:

Functional testing is an example of black-box dynamic testing. Functional testing is the process of testing the functionality or behavior of a software system based on its requirements or specifications. Functional testing does not require any knowledge of the internal structure or implementation of the system under test; it only focuses on what the system does rather than how it does it. Functional testing is also an example of dynamic testing because it involves executing the software system with selected inputs and observing its outputs and effects on the environment. Dynamic testing is different from static testing, which involves examining the software system without executing it, such as code inspection, static analysis, etc. You can find more information about functional testing and dynamic testing inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 21.

Where and by whom is Beta testing normally performed?

A.
By customers or potential customers at their own locations
A.
By customers or potential customers at their own locations
Answers
B.
By an independent test team at the developing organization's location
B.
By an independent test team at the developing organization's location
Answers
C.
At the developing organization's site, but not by the developing team
C.
At the developing organization's site, but not by the developing team
Answers
D.
By customers or potential customers at the developing organization's site
D.
By customers or potential customers at the developing organization's site
Answers
Suggested answer: A

Explanation:

Beta testing is a type of acceptance testing that is normally performed by customers or potential customers at their own locations. Beta testing is done after the software product has passed the internal testing and quality assurance processes and is ready for release or deployment. Beta testing allows the customers or users to evaluate the software product in their real environment and provide feedback and suggestions for improvement. Beta testing can also help identify defects, compatibility issues, usability problems, or performance bottlenecks that might not have been detected during the internal testing. You can find more information about beta testing in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 2, Section 2.3.

Which of the following is NOT an objective of testing?

A.
Finding defects
A.
Finding defects
Answers
B.
Providing information for decision-making
B.
Providing information for decision-making
Answers
C.
Analyzing and removing the cause of failures
C.
Analyzing and removing the cause of failures
Answers
D.
Gaining confidence about the level of quality of the software
D.
Gaining confidence about the level of quality of the software
Answers
Suggested answer: C

Explanation:

Testing has several objectives that aim to provide information and confidence about the quality and risk level of the software product and to support decision-making and improvement processes. Some of these objectives are:

Finding defects: Testing is the process of finding defects or failures in the software product that do not meet its requirements or expectations.

Providing information for decision-making: Testing is the process of providing information about the quality and risk level of the software product based on the observed behavior and results under certain conditions and assumptions. This information can help stakeholders make informed decisions about releasing, deploying, accepting, or improving the software product.

Gaining confidence about the level of quality of the software: Testing is the process of gaining confidence that the software product meets its requirements and expectations and provides value to the users and customers.

Analyzing and removing the cause of failures: Testing is not only the process of finding defects but also the process of analyzing and removing the cause of failures that lead to defects. This objective is related to debugging, which is a development activity that involves locating, diagnosing, and fixing errors in the code or design of the software product.

You can find more information about the objectives of testing in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 1, Section 1.2.

Which statement about use case testing is true?

A.
The test cases are designed to find defects in the data flow.
A.
The test cases are designed to find defects in the data flow.
Answers
B.
The test cases are designed to find defects in the process flow
B.
The test cases are designed to find defects in the process flow
Answers
C.
The test cases are designed to be used by real users, not by professional testers
C.
The test cases are designed to be used by real users, not by professional testers
Answers
D.
The test cases are always designed by customers or end users
D.
The test cases are always designed by customers or end users
Answers
Suggested answer: B

Explanation:

Use case testing is a specification-based test technique that is based on the use cases or scenarios that describe how users interact with the system under test. Use case testing aims to find defects in the process flow or functionality of the system under test by verifying that it behaves as expected according to the use cases or scenarios. Use case testing does not require any knowledge of the data flow or structure of the system under test; it only focuses on what the system does rather than how it does it. Use case testing can be done by professional testers or real users, depending on the level and purpose of testing. Use case testing can also be designed by customers or end users, developers, testers, analysts, or anyone who has access to the use case specifications or user requirements. You can find more information about use case testing in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 4, Section 4.2.

When testing a mission critical system a high coverage should be achieved. Which of the following techniques should be implemented as a structural based coverage technique in order to achieve highest coverage?

A.
multiple condition coverage
A.
multiple condition coverage
Answers
B.
decision table
B.
decision table
Answers
C.
use case testing
C.
use case testing
Answers
D.
statement coverage
D.
statement coverage
Answers
Suggested answer: A

Explanation:

Multiple condition coverage is a structure-based test technique that aims to achieve a high level of coverage by testing all possible combinations of conditions and outcomes in each decision point of the code or design of the system under test. Multiple condition coverage verifies that each condition in a decision point has an effect on the outcome and that there are no hidden defects or logical errors in the code or design. Multiple condition coverage requires some knowledge of the internal structure or implementation of the system under test; it focuses on how the system does what it does rather than what it does. Multiple condition coverage is one of the most rigorous and complex structure-based test techniques because it can generate a large number of test cases for each decision point, especially if there are many conditions involved. You can find more information about multiple condition coverage in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 4, Section 4.3.

Which of the following is NOT an example of a typical risk-based testing activity?

A.
The evaluation of a risk-management tools to decide which tool to use for future projects
A.
The evaluation of a risk-management tools to decide which tool to use for future projects
Answers
B.
The focus of testing is shifted to an area in the system where tests find with more defects than expected
B.
The focus of testing is shifted to an area in the system where tests find with more defects than expected
Answers
C.
Brainstorming sessions are held with a wide variety of stakeholders to identify possible failures in the system
C.
Brainstorming sessions are held with a wide variety of stakeholders to identify possible failures in the system
Answers
D.
Tests are prioritized to ensure that those associated with critical parts of the system are executed earlier
D.
Tests are prioritized to ensure that those associated with critical parts of the system are executed earlier
Answers
Suggested answer: A

Explanation:

Risk-based testing is an approach to testing that prioritizes and focuses on testing activities based on the level of risk associated with each feature or function of the system under test. Risk-based testing aims to optimize the use of time, resources, and techniques for testing by identifying and addressing the most critical and likely sources of failure or harm in the system under test. Some examples of typical risk-based testing activities are:

Brainstorming sessions are held with a wide variety of stakeholders to identify possible failures in the system: This activity is part of the risk identification process, which involves gathering information and opinions from different perspectives and sources to discover potential risks in the system under test.

Tests are prioritized to ensure that those associated with critical parts of the system are executed earlier: This activity is part of the risk analysis and evaluation process, which involves assessing the probability and impact of each risk and ranking them according to their severity and importance.

The focus of testing is shifted to an area in the system where tests find more defects than expected: This activity is part of the risk mitigation and monitoring process, which involves taking actions to reduce or eliminate the risks and tracking their status and progress.

The evaluation of a risk-management tool to decide which tool to use for future projects is not an example of a typical risk-based testing activity because it is not directly related to testing the system under test based on its risks. Rather, it is an example of a tool selection or evaluation activity, which involves comparing and choosing a tool that can support or enhance the testing process based on criteria such as functionality, usability, reliability, compatibility, cost, etc. You can find more information about risk-based testing in [A Study Guide to the ISTQB Foundation Level 2018 Syllabus], Chapter 3, Section 3.4.

The following program part is given:

IF (condition A)

then DO B

END IF

How many test cases are necessary in order to achieve 100% statement coverage?

A.
1
A.
1
Answers
B.
2
B.
2
Answers
C.
4
C.
4
Answers
D.
a very high number
D.
a very high number
Answers
Suggested answer: B

Explanation:

To achieve 100% statement coverage, you need to execute every statement in the code at least once. In this case, you need two test cases: one where condition A is true and one where condition A is false. This way, you can cover both the DO B statement and the END IF statement. You can find more information about statement coverage inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 4, Section 4.31.

Which of the following tool types is the most useful one for a test manager?

A.
Modeling tool
A.
Modeling tool
Answers
B.
Static analysis tool
B.
Static analysis tool
Answers
C.
Coverage measurement tool
C.
Coverage measurement tool
Answers
D.
Defect tracking tool
D.
Defect tracking tool
Answers
Suggested answer: D

Explanation:

A tool type is a category of tools that have similar features and functions and can be used for similar purposes. A test manager is a person who is responsible for planning, monitoring, controlling, and reporting the test activities and results. A test manager needs to use tools that can help them with these tasks and provide them with useful information and insights. Some examples of tool types that are useful for a test manager are:

Defect tracking tool: This tool type allows the test manager to record, track, manage, and report the defects found during testing. It also helps the test manager to communicate with developers, testers, and other stakeholders about the defect status and resolution.

Test management tool: This tool type allows the test manager to organize, manage, and control the test process and its outcomes. It also helps the test manager to define the test strategy, plan the test activities, allocate the test resources, schedule the test execution, monitor the test progress, and evaluate the test results.

Requirements management tool: This tool type allows the test manager to manage and trace the requirements of the system under test. It also helps the test manager to ensure that the test objectives are aligned with the user needs and expectations and that the test coverage is adequate and complete.

The other tool types mentioned in the question are not as useful for a test manager as they are for other roles or purposes. For example:

Modeling tool: This tool type allows the user to create graphical or textual representations of software systems or processes. It can be used for design, analysis, simulation, or documentation purposes.

Static analysis tool: This tool type allows the user to examine the code or design of a software system without executing it. It can be used for finding defects, measuring complexity, checking compliance, or improving quality.

Coverage measurement tool: This tool type allows the user to measure how much of the code or design of a software system has been exercised by a set of test cases. It can be used for evaluating the effectiveness or completeness of testing.

You can find more information about tool types inA Study Guide to the ISTQB Foundation Level 2018 Syllabus, Chapter 61.

The following diagram lists various types of operating systems, databases and application servers supported by the application under test. For complete coverage of all combinations, how many combinations of the above are to be tested?

A.
11
A.
11
Answers
B.
5
B.
5
Answers
C.
45
C.
45
Answers
D.
3
D.
3
Answers
Suggested answer: C

Explanation:

The diagram lists various types of operating systems (LNX, W2K, WSP), databases (ORA, MSQ, SQL), and application servers (JBS, WSP) supported by the application under test. To test all possible combinations of these types, we need to multiply the number of options in each category. In this case, we have:

3 options for operating systems

3 options for databases

2 options for application servers

Therefore, we have 3 x 3 x 2 = 18 possible combinations to test.

However, if we look closely at the diagram, we can see that some combinations are not valid or feasible because they are not connected by lines. For example, we cannot test LNX with WSP as an application server because there is no line between them. Similarly, we cannot test W2K with JBS as an application server because there is no line between them. Therefore, we need to exclude these invalid combinations from our calculation.

If we count only the valid combinations that are connected by lines in the diagram, we get:

5 combinations for LNX (LNX-ORA-JBS, LNX-ORA-WSP, LNX-MSQ-JBS, LNX-MSQ-WSP, LNX-SQL-JBS)

5 combinations for W2K (W2K-ORA-WSP, W2K-MSQ-WSP, W2K-SQL-WSP)

5 combinations for WSP (WSP-ORA-JBS, WSP-ORA-WSP, WSP-MSQ-JBS, WSP-MSQ-WSP)

Therefore, we have 5 + 5 + 5 = 15 valid combinations to test.

You can find more information about testing combinations inSoftware Testing Foundations: A Study Guide for the Certified Tester Exam, Chapter 4, Section 4.22.

Total 365 questions
Go to page: of 37