CTFL-Foundation Exam Question 31
A program controls a switch:
The program has three buttons:
- "ON" to turn the switch ON, or leaves it ON if it were ON.
- "OFF" to turn the switch OFF, or leaves it OFF if it were OFF.
- "Toggle" to change the state of the switch (turn it ON if it was OFF; turn it OFF if it was ON) The following drawing shows drawing shows the state diagram of the program (only the states are marked; the arrows mark possible transitions and are intentionally left unlabeled)

What percentage of the transitions in the State Transition diagram is guaranteed to be covered by the test case given above?
Note: The number of covered transitions depends on the initial state of the switch! Look for the minimum coverage case.

The program has three buttons:
- "ON" to turn the switch ON, or leaves it ON if it were ON.
- "OFF" to turn the switch OFF, or leaves it OFF if it were OFF.
- "Toggle" to change the state of the switch (turn it ON if it was OFF; turn it OFF if it was ON) The following drawing shows drawing shows the state diagram of the program (only the states are marked; the arrows mark possible transitions and are intentionally left unlabeled)

What percentage of the transitions in the State Transition diagram is guaranteed to be covered by the test case given above?
Note: The number of covered transitions depends on the initial state of the switch! Look for the minimum coverage case.

CTFL-Foundation Exam Question 32
In a system designed to work out the employee tax to be paid:
_ An employee has $4,000 of salary tax free.
_ The next $1,500 is taxed at 10%.
_ The next $28,000 after that is taxed at 22%.
_ Any further amount is taxed at 40%.
Which of these is a valid Boundary Value Analysis test case?
_ An employee has $4,000 of salary tax free.
_ The next $1,500 is taxed at 10%.
_ The next $28,000 after that is taxed at 22%.
_ Any further amount is taxed at 40%.
Which of these is a valid Boundary Value Analysis test case?
CTFL-Foundation Exam Question 33
Which of the following are typical defects discovered by static analysis tools?
CTFL-Foundation Exam Question 34
During test process improvement it is recommended to use standards where possible.
Standards originate from various sources and they cover different subjects in relation to testing Pick TWO sources of software standards, useful to software testing from the ones mentioned below. 1 credit
Standards originate from various sources and they cover different subjects in relation to testing Pick TWO sources of software standards, useful to software testing from the ones mentioned below. 1 credit
CTFL-Foundation Exam Question 35
When an organization considers the use of testing tools, they should:
