ISTQB certification · Exam CTFL-Foundation

CTFL-Foundation Mock Exam Page 6

ISTQB Certified Tester Foundation Level

Free CTFL-Foundation mock exam questions 51–60, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free CTFL-Foundation questions

51–60 of 98 free
Question 51 Choose 1

A software component has the code shown below:
Program BiggestA,
Biggest: Integer
Begin
Read A
Biggest = 10
While A > 0
Do
If A > Biggest
Then Biggest = A
EndifRead A
Enddo
End
The component has exit criteria for component testing that include 100% statement
coverage. Which of the following test cases will satisfy this criterion?

Show answerHide answer

Correct answer: D

10, 11, 0

Question 52 Choose 1

Which of the following is most likely to cause failure in the implementation of a test tool?

Show answerHide answer

Correct answer: C

No agreed requirements for the tool.

Question 53 Choose 1

Important consequences of the impossibility of complete testing are:

Show answerHide answer

Correct answer: D

All of the above

Question 54 Choose 1

Which of the following has the typical formal review activities in the correct sequence?

Show answerHide answer

Correct answer: C

Planning, kick-off, individual preparation, review meeting.

Explanation

The correct sequence is: planning, kick-off, individual preparation, review meeting, re-work,
follow-up. All of the other options have either the activities in the wrong order or activities
missing from the strict flow.

Question 55 Choose 1

What if the project isn't big enough to justify extensive testing..?

Show answerHide answer

Correct answer: A

Use risk based analysis to find out which areas need to be tested

Question 56 Choose 1

What do you mean by “Having to say NO”..?

Show answerHide answer

Correct answer: B

No, the software is not ready for production

Question 57 Choose 1

What test roles (or parts in the testing process) is a developer most likely to perform?
(i) Executing component integration tests.
(ii) Static analysis.
(iii) Setting up the test environment.
(iv) Deciding how much testing should be automated.

Show answerHide answer

Correct answer: A

(i) and (ii)

Explanation

(i) Executing component integration tests is usually done by developers. Developers are
usually responsible for unit and component integration testing. Independent testing usually
follows at system and acceptance test levels.
(ii) Static analysis is usually done by developers because: it requires an understanding of
the code and therefore the person doing this needs skills in the programming language;
and it can be done as soon as the code is written. Therefore it is quick and effective for the
developer to do it. The risk of a lack of test independence can be mitigated by performing
independent system and acceptance testing.
(iii) Setting up the test environment is an activity typically performed by a tester. It may
require support from developers and staff from other departments and on some occasions
environments could be set up by developers. However, it is a task that could be done by a
tester rather than a developer.
(iv) Deciding how much testing should be automated is typically a decision made by the
test leader, who will consult other staff in the decision-making process. Developers may be
involved and their skills may be required to automate some tests. However, the decision on
how much to automate should not be made by developers.

Question 58 Choose 1

One Key reason why developers have difficulty testing their own work is:

Show answerHide answer

Correct answer: C

 Lack of training

Question 59 Choose 1

Consider the following pseudo code:
1 Begin
2 Read Time
3 If Time < 12 Then
4 Print(Time, "am")
5 Endif
6 If Time > 12 Then
7 Print(Time 12, "pm")
8 Endif
9 If Time = 12 Then
10 Print (Time, "noon")
11 Endif
12 End
If the test cases Time = 11 and Time = 15 were input, what level of decision coverage
would be achieved?

Show answerHide answer

Correct answer: D

83% or 5/6

Explanation

Test case 1 exercises the decision outcomes True, False, False
Test case 2 exercises the decision outcomes False, True, False
This leaves the True outcome of decision 3 not exercised.
Of the 6 possible decision outcomes, 5 have been exercised, so the decision coverage is
5/6 (about 83%).

Question 60 Choose 1

Which of the following, if observed in reviews and tests, would lead to problems (or conflict)
within teams?

Show answerHide answer

Correct answer: C

Testers and reviewers communicate defects as criticism against persons and not
against the software product.

Full mock exam

Sit the CTFL-Foundation exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CTFL-Foundation exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CTFL-Foundation mock exam
  • 65questions per mock
  • 105 mintime limit
  • 327questions in the bank
  • Newmock on every attempt