CTFL-Foundation Exam Questions

Total 327 Questions

Last Updated Exam : 15-Apr-2025

Topic 21: Mix Questions Set A

Which of the following is a structure-based (white-box) technique?


A.

 Decision table testing


B.

State transition testing


C.

Statement testing


D.

Boundary value analysis





C.
  

Statement testing



All other options are specification-based (black-box) techniques, and the main distracter is
answer (A) because decision table testing could be confused with decision testing.

To test a function, the programmer has to write a _________, which calls the function to be
tested and passes it test data:


A.

Stub


B.

Driver


C.

Proxy


D.

None of the above





B.
  

Driver



Which of the following is not true of regression testing?


A.

It can be carried out at each stage of the life cycle.


B.

It serves to demonstrate that the changed software works as intended.


C.

It serves to demonstrate that software has not been unintentionally changed.


D.

It is often automated.





B.
  

It serves to demonstrate that the changed software works as intended.



This is a definition of confirmation testing. The other three options are true of regression
testing.

Which pair of definitions is correct?


A.

Regression testing is checking that the reported defect has been fixed; retesting is
testing that there are no additional problems in previously tested software.


B.

Regression testing is checking there are no additional problems in previously tested
software; retesting enables developers to isolate the problem.


C.

Regression testing involves running all tests that have been run before; retesting runs
new tests.


D.

Regression testing is checking that there are no additional problems in previously tested
software, retesting is demonstrating that the reported defect has been fixed.





D.
  

Regression testing is checking that there are no additional problems in previously tested
software, retesting is demonstrating that the reported defect has been fixed.



Explanation:
Regression testing is testing that nothing has regressed. Retesting (or confirmation testing)
confirms the fix is correct by running the same test after the fix has been made. No other
option has both of these as true.

Which of the following types of test tool are most likely to include traceability functions?
(i) Performance testing tool
(ii) Requirements management tool
(iii) Configuration management tool
(iv) Static analysis tool


A.

(i) and (ii)


B.

(i) and (iv)


C.

(ii) and (iii)


D.

(iii) and (iv)





C.
  

(ii) and (iii)



Requirements management tools (ii) have traceability because they enable test conditions
and subsequently test scripts and defects to be traced back to requirements. Configuration
management tools (iii) also need to trace the appropriate version of a test script to the
release or version of a system or module.
Performance monitoring tools (i) and static analysis tools (iv) are designed for specific
objectives. Neither of these tools particularly need traceability functions.

Which of the following is the odd one out..?


A.

White box


B.

Glass box


C.

Structural


D.

Functional





D.
  

Functional



According to the ISTQB Glossary, regression testing is required for what purpose?


A.

 To verify the success of corrective actions.


B.

To prevent a task from being incorrectly considered completed.


C.

To ensure that defects have not been introduced by a modification.


D.

To motivate better unit testing by the programmers.





C.
  

To ensure that defects have not been introduced by a modification.



Which activities form part of test planning?
i) Developing test cases.
ii) Defining the overall approach to testing.
iii) Assigning resources.
iv) Building the test environment.
v) Writing test conditions.


A.

i, ii & iv are true, iii & v are false.


B.

ii & iii are true, i, iv & v are false.


C.

iv & v are true, i, ii & iii are false.


D.

 i, ii & iii are true iv & v are false





B.
  

ii & iii are true, i, iv & v are false.



Maintenance testing is:


A.

updating tests when the software has changed


B.

testing a released system that has been changed


C.

testing by users to ensure that the system meets a business need


D.

testing to maintain business advantage





B.
  

testing a released system that has been changed



Failure is _________


A.

Incorrect program behavior due to a fault in the program


B.

Bug found before product Release


C.

Bug found after product Release


D.

 Bug found during Design phase





A.
  

Incorrect program behavior due to a fault in the program




Page 12 out of 33 Pages
Previous