ExamGecko
Home Home / ISTQB / CTFL4

ISTQB CTFL4 Practice Test - Questions Answers, Page 21

Question list
Search
Search

List of questions

Search

Related questions











Which of the following work products cannot be examined by static analysis?

A.
Test plans
A.
Test plans
Answers
B.
Source code
B.
Source code
Answers
C.
Compiled code
C.
Compiled code
Answers
D.
Formal models
D.
Formal models
Answers
Suggested answer: A

Explanation:

Static analysis is the process of examining the work products of a software development or testing activity without executing them. Static analysis can be applied to various types of work products, such as requirements, design, code, test cases, etc. However, test plans are not suitable for static analysis, because they are high-level documents that describe the test objectives, scope, strategy, resources, schedule, and risks of a testing project. Test plans are not executable or formalized in a way that static analysis tools can analyze them. Therefore, option A is the correct answer.

Confirmation testing is performed after:

A.
a defect is fixed and after other tests do not find any side-effect introduced in the software as a result of such fix
A.
a defect is fixed and after other tests do not find any side-effect introduced in the software as a result of such fix
Answers
B.
a failed test, and aims to run that test again to confirm that the same behavior still occurs and thus appears to be reproducible
B.
a failed test, and aims to run that test again to confirm that the same behavior still occurs and thus appears to be reproducible
Answers
C.
the execution of an automated regression test suite to confirm the absence of false positives in the test results
C.
the execution of an automated regression test suite to confirm the absence of false positives in the test results
Answers
D.
a defect is fixed, and if such testing is successful then the regression tests that are relevant for such fix can be executed
D.
a defect is fixed, and if such testing is successful then the regression tests that are relevant for such fix can be executed
Answers
Suggested answer: D

Explanation:

Confirmation testing is performed after a defect is fixed, and if such testing is successful then the regression tests that are relevant for such fix can be executed. Confirmation testing, also known as re-testing, is the process of verifying that a defect has been resolved by running the test case that originally detected the defect. Confirmation testing is usually done before regression testing, which is the process of verifying that no new defects have been introduced in the software as a result of changes or fixes. Therefore, option D is the correct answer.

Which of the following statements about static testing and dynamic testing is true?

A.
Unlike dynamic testing, which can be also performed manually, static testing cannot be performed without specialized tools
A.
Unlike dynamic testing, which can be also performed manually, static testing cannot be performed without specialized tools
Answers
B.
Static testing is usually much less cost-effective than dynamic testing
B.
Static testing is usually much less cost-effective than dynamic testing
Answers
C.
Unlike dynamic testing, which focuses on detecting potential defects, static testing focuses on detecting failures which may be due to actual defects
C.
Unlike dynamic testing, which focuses on detecting potential defects, static testing focuses on detecting failures which may be due to actual defects
Answers
D.
Both static testing and dynamic testing can be used to highlight issues associated with non-functional characteristics
D.
Both static testing and dynamic testing can be used to highlight issues associated with non-functional characteristics
Answers
Suggested answer: D

Explanation:

This answer is correct because static testing and dynamic testing are both types of testing that can be used to highlight issues associated with non-functional characteristics, such as usability, performance, security, reliability, etc. Static testing is a type of testing that involves the analysis of software work products, such as requirements, design, code, or test cases, without executing them. Dynamic testing is a type of testing that involves the execution of software work products, such as code or test cases, using inputs and verifying outputs. Both static testing and dynamic testing can be applied to different test levels and test types, and can use different test techniques and tools, to evaluate the non-functional characteristics of the software product.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.2.1.1, Section 2.2.1.2

Which of the following is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business-readable language (following the Given/When/Then format), and then made executable to drive development?

A.
Test-Driven Development (TDD)
A.
Test-Driven Development (TDD)
Answers
B.
Acceptance Test-Driven Development (ATDD)
B.
Acceptance Test-Driven Development (ATDD)
Answers
C.
Behavior-Driven Development (BDD)
C.
Behavior-Driven Development (BDD)
Answers
D.
Domain-Driven Design (DDD)
D.
Domain-Driven Design (DDD)
Answers
Suggested answer: C

Explanation:

This answer is correct because Behavior-Driven Development (BDD) is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business-readable language (following the Given/When/Then format), and then made executable to drive development. BDD is a collaborative approach that involves testers, developers, business analysts, product owners, and other stakeholders in defining the expected behavior of the application using scenarios that describe the preconditions, actions, and outcomes of the application. BDD scenarios are written using a domain-specific language (DSL) that can be translated into executable test cases using tools such as Cucumber or SpecFlow. BDD aims to improve communication, collaboration, and feedback among the team members, and to deliver software that meets the customer's needs and expectations.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 3.1.1.4

,Requirements Engineering Fundamentals.

A typical objective of testing is to

A.
Determine the most appropriate level of detail with which to design test cases.
A.
Determine the most appropriate level of detail with which to design test cases.
Answers
B.
Verify the compliance of the test object with regulatory requirements.
B.
Verify the compliance of the test object with regulatory requirements.
Answers
C.
Plan test activities in accordance with the existing test policy and test strategy
C.
Plan test activities in accordance with the existing test policy and test strategy
Answers
D.
Verify the correct creation and configuration of the test environment
D.
Verify the correct creation and configuration of the test environment
Answers
Suggested answer: B

Explanation:

One of the primary objectives of testing is to ensure that the software or system being tested meets all regulatory requirements. This is crucial in many industries where compliance with laws and standards is mandatory. According to the ISTQB CTFL Syllabus v4.0, testing aims to evaluate the quality of the software product and verify that it complies with specified requirements, including regulatory requirements.

Which of the following is an advantage of the whole team approach?

A.
It helps avoid the risk of tasks associated with a user story not moving through the Agile task board at an acceptable rate during an iteration.
A.
It helps avoid the risk of tasks associated with a user story not moving through the Agile task board at an acceptable rate during an iteration.
Answers
B.
It helps team members understand the current status of an iteration by visualising the amount of work left to do compared to the time allotted for the iteration
B.
It helps team members understand the current status of an iteration by visualising the amount of work left to do compared to the time allotted for the iteration
Answers
C.
It helps the whole team be more effective in test case design by requiring all team members to master all types of test techniques.
C.
It helps the whole team be more effective in test case design by requiring all team members to master all types of test techniques.
Answers
D.
It helps team members develop better relationships with each other and make their collaboration more effective for the benefit of the project.
D.
It helps team members develop better relationships with each other and make their collaboration more effective for the benefit of the project.
Answers
Suggested answer: D

Explanation:

The whole team approach, often advocated in Agile methodologies, emphasizes collaboration and collective responsibility among all team members. This approach enhances the relationships within the team and improves overall collaboration, which in turn benefits the project's success. According to the ISTQB CTFL Syllabus v4.0, the whole team approach fosters better communication and cooperation, leading to more effective problem-solving and higher-quality outcomes.

An application is subjected to a constant load for an extended period of time as part of a performance test While running this test, the response time of the application steadily slows down, which results in a requirement not being met This slowdown is caused by a memory leak where the application code does not properly release some of the dynamically allocated memory when it is no longer needed. Which of the following statements is TRUE?

A.
The slowdown is a failure while the memory leak is a defect
A.
The slowdown is a failure while the memory leak is a defect
Answers
B.
The slowdown is a defect while the memory leak is an error.
B.
The slowdown is a defect while the memory leak is an error.
Answers
C.
The slowdown is an error; the memory leak is a defect.
C.
The slowdown is an error; the memory leak is a defect.
Answers
D.
The slowdown is a defect; the memory leak is a failure.
D.
The slowdown is a defect; the memory leak is a failure.
Answers
Suggested answer: A

Explanation:

In software testing terminology, a failure is an observable deviation of the software from its expected behavior. A defect (or bug) is the cause of the failure in the software's code. In this case, the observed slowdown is the failure, while the underlying memory leak in the application code is the defect causing this failure. This distinction is clearly outlined in the ISTQB CTFL Syllabus v4.0, which differentiates between failures (observable issues) and defects (underlying issues in the code).

In addition to thorough testing of the requirements specification, a development team aims to involve users as early as possible in the development process, using practices such as prototyping, to ensure that the software systems being developed will meet the users' expectations. This approach is especially useful at mitigating the risks associated with one of the seven testing principles, which one?

A.
Tests wear out
A.
Tests wear out
Answers
B.
Absence-of-errors fallacy
B.
Absence-of-errors fallacy
Answers
C.
Working software over comprehensive documentation.
C.
Working software over comprehensive documentation.
Answers
D.
Defects cluster together
D.
Defects cluster together
Answers
Suggested answer: B

Explanation:

The absence-of-errors fallacy is the mistaken belief that just because a software system is free of defects, it will meet the user's needs and expectations. Involving users early through practices like prototyping helps ensure that the development team is building the right system that meets user expectations, not just a system that is defect-free. This approach aligns with the testing principle that emphasizes understanding the users' needs and ensuring the system fulfills them. This principle is explained in the ISTQB CTFL Syllabus v4.0.

Determining the schedule for each testing activity and test milestones for a test project, using activity estimates, available resources, and other constraints is a typical task performed during

A.
Test execution
A.
Test execution
Answers
B.
Test design.
B.
Test design.
Answers
C.
Test analysis.
C.
Test analysis.
Answers
D.
Test planning
D.
Test planning
Answers
Suggested answer: D

Explanation:

Test planning involves defining the overall approach to testing, including scheduling, resources, and milestones. It is during this phase that the detailed schedule for each testing activity is determined based on estimates, resource availability, and constraints. The ISTQB CTFL Syllabus v4.0 outlines that test planning encompasses the creation of test plans and schedules to ensure that testing activities are properly managed and controlled.

A document descnbes the test procedures that have been derived for the identified test sets Among other things, the order in which the test cases in the corresponding test set are to be executed according to the dependencies described by preconditions and postconditions is specified This document is a typical work product produced as part of:

A.
Test design.
A.
Test design.
Answers
B.
Test analysis
B.
Test analysis
Answers
C.
Test Implementation.
C.
Test Implementation.
Answers
D.
Test monitoring and control
D.
Test monitoring and control
Answers
Suggested answer: C

Explanation:

Test implementation involves finalizing the test procedures, including the order of execution of test cases based on their dependencies, preconditions, and postconditions. This phase ensures that all necessary test scripts, test data, and test environments are ready for execution. According to the ISTQB CTFL Syllabus v4.0, test implementation is the phase where detailed test procedures are derived and documented, making it a critical step before actual test execution.

Total 288 questions
Go to page: of 29