ISTQB Test 2

scripting-Logic-istqb

ISTQB Practice test. Try and Evaluate.

Question #1: Complete statement and branch coverage means:

Ans is B. That you have tested every statement and every branch in the program.

Question #2: Which is the best definition of complete testing:

Ans is A. You have discovered every bug in the program.

Question #3: A defect arrival rate curve:

Ans is A. Shows the number of newly discovered defects per unit time

Question #4: Which of the following is a purpose of the review planning phase?

Ans is D. Allocate the individual roles.

Question #5: Which of the following combinations correctly describes a valid approach to component testing:

i) Functional testing of the component in isolation.
ii) Structure-based testing of the code without recording incidents.
iii) Automated tests that are run until the component passes.
iv) Functional testing of the interfaces between modules.

Ans is B. I,  ii and iii

Question #6: Which of the following is MOST characteristic of specification based (black-box) techniques?

Ans is C. Test cases are derived systematically from models of the system .

Question #7: Which of the following is a benefit of test independence?

Ans is C. It avoids author bias in defining effective tests.

Question #8: Which of the following is MOST important in the selection of a test approach?

Ans is C. Available skills and experience in the proposed techniques.

Question #9: Which of the following types of defects is use case testing MOST LIKELY to uncover?

i) Defects in the process flows during real-world use of the system.
ii) Defects in the interface parameters in integration testing.
iii) Integration defects caused by the interaction and interference of different components.
iv) Defects in the system as it transitions between one state and another.

Ans is B. i, iii.

Question #10: For which of the following would a static analysis tool be MOST useful?

Ans is D. Enforcement of coding standards.

Question #11: Which type of test design techniques does the following statement best describe a procedure to derive test cases based on the specification of a component?

Ans is A. Black Box Techniques.

Question #12: Match the following terms and statements.

1.Decision Table Testing
2.Decision Testing
3.State Transition Testing
4.Exploratory Testing

W. Testing carried out w boxes to achieve specific test objectives, possibly to complement structured testing.
X. A test technique used which may be used to verify different system re depending on current conditions or previous history.
Y. A test technique which combines combinations of inputs that might not otherwise have been exercised during testing.
Z. A form of control flow testing based on decision outcomes.

Ans is A. 1Y, 2Z, 3X, 4W.

Question #13: Which activities form part of test planning?

i) Developing test cases.
ii) Defining the overall approach to testing.
iii) Assigning resources.
iv) Building the test environment
v) Writing test conditions.

Ans is B. ii & iii are true, i, iv & v are false.

Question #14: With which of the following categories is a test comparator tool USUALLY associated?

Ans is C. Tool support for test execution and logging.

Question #15: What determines the level of risk?

Ans is D. The likelihood of an adverse event and the impact of the event.

Question #16: What is the purpose of exit criteria?

Ans is A. To define when a test level is complete.

Question #17: What is the KEY difference between preventative and reactive approaches to testing?

Ans is B. Preventative tests are designed early; reactive tests are designed after the software has been produced.

Question #18: Which of the following benefits are MOST likely to be achieved by using test tools?

i) Easy to access information about tests and testing.
ii) Reduced maintenance of testware.
iii) Easy and cheap to implement.
iv) Greater consistency of tests.

Ans is C. i and iv

Question #19: What is the MAIN benefit of designing tests early in the life cycle?

Ans is B. It helps prevent defects from being introduced into the code.

Question #20: The above diagram represents the following paths through the code.

A. vwy
B. vwz
C. vxy
D. vxz

What is the MINIMUM combination of paths required to provide full statement coverage?

Exhibit:

next


Search

Subscribe to YouTube

Training on Selenium

Like us on facebook

Jobs

Jobs

Cooking with Amol