Free ISEB-SWT2 Exam Braindumps
ISTQB-ISEB Certified Tester Foundation Level Questions 184–188 (page: 27)

Updated On: 10-Feb-2026
View Related Case Study

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?

  1. 100% or
  2. 50% or
  3. 67% or
  4. 83% or

Answer(s): D

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%).



View Related Case Study

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
Endif
Read 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?

  1. 0
  2. 10, 0
  3. 10, 5, 0
  4. 10, 11, 0

Answer(s): D



View Related Case Study

Given the Following program IF X <>= ZTHEN Statement 2;ENDMcCabe's Cyclomatic Complexity is :

  1. 2
  2. 3
  3. 4
  4. 5

Answer(s): B



View Related Case Study

An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are:

  1. 0,1900,2004,2005
  2. 1900, 2004
  3. 1899,1900,2004,2005
  4. 1899, 1900, 1901,2003,2004,2005

Answer(s): C



View Related Case Study

Code Coverage is used as a measure of what?

  1. Defects
  2. Trends analysis
  3. Test Effectiveness
  4. Time Spent Testing

Answer(s): C



Viewing page 27 of 69
Viewing questions 131 - 135 out of 338 questions


Post your Comments and Discuss ITIL ISEB-SWT2 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!