[Free] 2019(Nov) EnsurePass iSQI CTFL_001 Dumps with VCE and PDF 221-230

Get Full Version of the Exam
http://www.EnsurePass.com/CTFL_001.html

Question No.221

A system is designed to accept values of examination marks as follows: Fail: 0-39 inclusive

Pass: 40-59 inclusive

Merit: 60-79 inclusive

Distinction: 80-100 inclusive

In which of the following sets of values are all values in different equivalence partitions?

A.

25, 40, 60, 75

B.

0, 45, 79, 87

C.

35, 40, 59, 69

D.

25, 39, 60, 81

Correct Answer: B

Question No.222

A washing machine has three temperature bands for different kinds of fabrics: fragile fabrics are washed at temperatures between 15 and 30 degrees Celsius; normal fabrics are washed at temperatures between 31 and 60 degrees Celsius; heavily soiled and tough fabrics are washed at temperatures between 61 and 100 degrees Celsius. Which of the following contains only values that are in different equivalence partitions?

A.

15, 30, 60

B.

20, 35, 60

C.

25, 45, 75

D.

12, 35, 55

Correct Answer: C

Question No.223

Consider the following pseudo code: 1 Begin

  1. Read Time

  2. If Time lt; 12 Then

  3. Print(Time, quot;amquot;)

  4. Endif

  5. If Time gt; 12 Then

  6. Print(Time 12, quot;pmquot;)

  7. Endif

  8. If Time = 12 Then

  9. Print (Time, quot;noonquot;)

  10. Endif

  11. End

How many test cases are needed to achieve 100 per cent decision coverage?

A.

1

B.

2

C.

3

D.

4

Correct Answer: C

Question No.224

Consider the following pseudo code: 1 Begin

  1. Read Time

  2. If Time lt; 12 Then

  3. Print(Time, quot;amquot;)

  4. Endif

  5. If Time gt; 12 Then

  6. Print(Time 12, quot;pmquot;)

  7. Endif

  8. If Time = 12 Then

  9. Print (Time, quot;noonquot;) 11 Endif

12 End

If the test cases Time = 11 and Time = 15 were input, what level of decision coverage would be achieved?

A. 100% or 6/6 B. 50% or 3/6 C. 67% or 4/6 D. 83% or 5/6

Correct Answer: D

Question No.225

A software component has the code shown below: Program BiggestA,

Biggest: Integer Begin

Read A Biggest = 10 While A gt; 0 Do

If A gt; 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?

A.

0

B.

10, 0

C.

10, 5, 0

D.

10, 11, 0

Correct Answer: D

Question No.226

Given the Following program IF X lt;gt;= ZTHEN Statement 2;ENDMcCabe#39;s Cyclomatic Complexity is:

A.

2

B.

3

C.

4

D.

5

Correct Answer: B

Question No.227

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

A.

0,1900,2004,2005

B.

1900, 2004

C.

1899,1900,2004,2005

D.

1899, 1900, 1901,2003,2004,2005

Correct Answer: C

Question No.228

Code Coverage is used as a measure of what?

  1. Defects

  2. Trends analysis

  3. Test Effectiveness

  4. Time Spent Testing

Correct Answer: C

Question No.229

How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment?

Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3

  1. 2 Test Cases

  2. 3 Test Cases

  3. 4 Test Cases

  4. Not achievable

Correct Answer: A

Question No.230

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

  1. Stub

  2. Driver

  3. Proxy

  4. None of the above

Correct Answer: B

Get Full Version of the Exam
CTFL_001 Dumps
CTFL_001 VCE and PDF