Which one of the following is the characteristic of good testing in any life cycle model?

Which of the following statements comparing component testing and system testing is TRUE?

Answer Set:
a) Component testing verifies the functionality of software modules, program objects, and classes that are separately testable, whereas system testing verifies interfaces between components and interactions between different parts of the system.

b) Test cases for component testing are usually derived from component specifications, design specifications, or data models, whereas test cases for system testing are usually derived from requirement specifications, functional specifications, or use cases.

c) Component testing only focuses on functional characteristics, whereas system testing focuses on functional and non-functional characteristics.

d) Component testing is the responsibility of the testers, whereas system testing typically is the responsibility of the users of the system.

Which of the following describes the main phases of a formal review?

Answer Set:
a) Initiation, backtracking, individual preparation, review meeting, rework, follow-up

b) Planning, individual preparation, review meeting, rework, closure, follow-up

c) Planning, kick off, individual preparation, review meeting, rework, follow-up

d) Individual preparation, review meeting, rework, closure, follow-up, root cause analysis

a) FALSE. This statement is true, tool-supported static analysis can be used as a preventive measure (Section 3.3, advantages 2. and 6. dot)

b) FALSE. This statement is true, tool-supported static analysis can find defects that are not found by dynamic testing (Section 3.3, background, 1. Par., sentence 3).

c) FALSE. This statement is true, tool-supported static analysis is a cost saving method used to find defects early (Section 3.3, advantages, 1. Dot)

d) TRUE. This statement is wrong. During static analysis no failures are found, because the code is not running (Section 3.2, background, sentence 2).

One of the test goals for your project is to have 100% decision coverage.

The following three tests have been executed for the control flow graph shown below.

Test_01 covers path: A, B, D, E, G
Test_02 covers path: A, B, D, E, F, G
Test_03 covers path: A, C, F, C, F, C, F, G

Which of the following statements related to the decision coverage goal is TRUE?

Answer Set:
a) Decision D has not been tested completely.

b) 100% decision coverage has been achieved.

c) Decision E has not been tested completely.

d) Decision F has not been tested completely.

In the diagram there are following four conditions/decisions: A, D, E. F

The Test_01 covers A->B, D->E and E->G
The Test_02 covers A->B, D->E, E->F and F->G
The Test_03 covers A->C, F->C and F->G.

Hence
condition A is covered (A->B by Test_01 and A->C by Test_03),

condition E is covered (E->G by Test_01 and E->F by Test_02),

condition F is covered (F->C by Test_03 and F->G by Test_02 and Test_03).

Condition D is not covered, there is only D->E by Test_01 and Test_02, but D->F is not covered.

Hence
a) TRUE: D was not covered (see above)

b) FALSE: 1 of 4 decisions was not covered (see above), so there are only 75% decision coverage.

c) FALSE: E has been fully tested/covered (see above).

d) FALSE: F has been fully tested/covered (see above).

I. TRUE:. Receiving customer data is typical functional testing

II. TRUE: In the problem description it was stated, "The existing test cases covered 100% of all statements of the corresponding module"; statement testing is structural testing

III. TRUE:. In the problem description it was stated, "To verify the fix and to ensure more extensive coverage, some new tests were designed and added to the test suite and executed", so this is a retest.

IV. FALSE. In the problem description there is no information about performance testing.

Hence
a) FALSE, as III is missing.

b) FALSE, as II is missing.

c) TRUE, as I,,II and III are mentioned.

d) FALSE, since I is absent and IV is mentioned erroneously.

I. Is TRUE, because equivalence partitions divide possible inputs into classes where all elements are expected to cause the same behavior (Section 4.3.1, 1. sentence);

II. Is TRUE, because Equivalence partitions uses both valid and invalid partitions. (Section 4.3.1, 2. sentence);

III. Is FALSE, it is enough to use one value from each class. (Section 4.3.1, 1. Par.);

IV. Is FALSE, input from GUI is possible, but this method is not necessary.

Hence
a) FALSE, because IV is NOT TRUE.

b) FALSE, because II is NOT FALSE.

c) FALSE, because III is NOT TRUE and I is NOT FALSE;

d) TRUE, because I and II are TRUE and III and IV are FALSE.

Which of the following options lists techniques categorized as Black Box design techniques?

Answer Set:
a) Equivalence Partitioning, Decision Table testing, State Transition testing, and Boundary Value analysis

b) Equivalence Partitioning, Decision Table testing, Statement coverage, Use Case Based testing

c) Equivalence Partitioning, Decision Coverage testing, Use Case Based testing

d) Equivalence Partitioning, Decision Coverage testing, Boundary Value analysis

a) FALSE, the project has poor specifications, hence there is only a small possibility that any use cases exist.

b) FALSE, statement testing is time consuming, and there is time pressure in the project.

c) TRUE, exploratory testing is a good idea when there is poor documentation and time pressure (Section 4.5, background, Par.3, Sentence 3).

d) FALSE, decision testing is time consuming, and there is time pressure in the project.

Which of the following are typical exit criteria from testing?

Answer Set:
a) Test coverage measures, reliability measures, test cost, schedule, status of defect correction and residual risks

b) Test coverage measures, reliability measures, degree of tester independence, and product completeness

c) Test coverage measures, reliability measures, test cost, availability of testable code, time to market, and product completeness

d) Time to market, residual defects, tester qualification, degree of tester independence, test coverage measures and test cost

From the list below, which are the recommended principles for introducing a test tool to an organization?

1. Roll out the tool to the entire organization at the same time

2. Start with a pilot project

3. Adapt and improve processes to fit the use of the tool

4. Provide training and coaching for new users

5. Let each team decide their own way of using the tool

6. Monitor that costs do not exceed initial acquisition cost

7. Gather lessons learned from all teams

Select ONE option.
Answer Set:
a) 1, 3, 4, 5

b) 2, 5, 6

c) 2, 3, 4, 7

d) 1, 6, 7

Which of the following is a characteristic of good testing?

Hence, it could be concluded that all of the above i.e. validity, reliability, and usability are the characteristic of a good test.

Which of the following is a characteristic of good testing and applies to any software development life cycle model?

Which of the following is a characteristic of good testing and applies to any software development life cycle model? Answer Set: a) Acceptance testing is always the final test level to be applied.

Which of the following is an advantage of using an independent tester?

Benefits of Independent Testing The independent testers are unbiased. Cost-effective as it has a separate budget, which helps in tracking money spent on training, testing tools, equipment. Provides improved Software Quality. Supplies more Experienced and skilled power.

What is a key characteristic of structure based testing techniques?

What is a key characteristic of structure-based testing techniques? They are mainly used to assess the structure of a specification. They are used both to measure coverage and to design tests to increase coverage. They are based on the skills and experience of the tester.