Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Consider the pseudo code provided below:

Which of the following options provides a set of test cases that achieves 100% decision coverage for this code fragment, with the minimum number of test cases?

Assume that in the options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable “a”, the second number represents variable “b”, and the third number represents variable “c”.

A.

(5. 3,2)

B.

(5. 3, 2); (6, 4, 2); (5, 4, 0)

C.

(5. 4, 0); (3, 2, 5); (4, 5, 0)

D.

(4,5. 0); {5, 4, 5)

Consider the pseudo code for the Answer program:

Which of the following statements about the Answer program BEST describes the control flow anomalies to be found in the program?

A.

The Answer program contains no control flow anomalies.

B.

The Answer program contains unreachable code.

C.

The Answer program contains unreachable code and an infinite loop.

D.

The Answer program contains an infinite loop.

Which TWO of the following are generic PRODUCT risk factors that should be considered by a Technical Test Analyst?

a)A high number of performance efficiency defects in the software

b)Inaccurate arithmetic calculations in key business areas cj Particularly complex code

d) Communication issues with geographically distributed teams

e) Usability-’ issues with the design of the user interface

A.

a and b

B.

a and c

C.

b and d

D.

c and e

You are working for a video game manufacturer You have a new title being released Market interest in the product is at an all time high and everyone in the company has been promised huge bonuses if the launch is successful You are responsible for portability testing Which area, m particular should you emphasize in your testing?

A.

Installability

B.

Replaceability

C.

Analyzability

D.

Learnability

Consider the code fragment provided below:

The comment frequency of the code fragment is 13%.

To which non-functional quality characteristic does a good level of comment frequency especially contribute?

A.

Portability

B.

Maintainability

C.

Usability

D.

Performance Efficiency

Why might static analysis be used on an Agile project’

SELECT ONE OPTION

A.

To implement a test-driven approach at the component level

B.

To manually identify potential defects and thus avoid technical debt

C.

To clarify and simplify code design without changing its behavior

D.

To identify the causes of technical debt through the use of tools

Your Agile team is developing a web-based system that will allow users to browse and buy online from a store's shopping catalogue. Continuous Integration has been implemented and technically it is working well, running several times per day, but each run is taking almost as much time as the team is prepared to allow. It is clear that after a few more iterations, as the number of tests needed grows with the product, it will be taking too much time.

Which of the four options contains a pair of solutions that will BOTH help to solve this problem?

a.Only include unit and component integration tests in the automated Cl runs.

b.Schedule low priority tests to be the first ones executed in each run, in order to provide rapid build verification.

c.Reduce the extent to which the automated tests go through the user interface, using technical interfaces instead.

d.Reduce the number of Cl cycles run each day.

e.Select a subset of automated tests for the daytime Cl runs, and run as many of the other tests as possible in an overnight cycle.

SELECT ONE OPTION

A.

d and e

B.

b and d

C.

c and e

D.

a and c

Which statement is correct with respect to fault injection tools?

A.

They modify the code under test in order to check the coverage achieved by specified tests

B.

They deliberately introduce incorrect inputs to a system to ensure it can withstand and recover from error conditions

C.

They inject defects into the SUT in order to test the error handling capabilities of test automation software

D.

They can detect memory leaks and wild pointers when a component is executing

A new system is being built to handle the message handling of financial transactions - this system is critical to the organization's finances. The code includes loops and decisions with several multiple conditions. The nature of the system means that tests are quite time-consuming to execute. Which of the following would be the BEST white box testing option for the new software?

A.

Multiple Condition coverage

B.

MC/DC coverage

C.

Decision coverage

D.

Statement coverage

You are testing software that will be used in nuclear power plants. The particular piece of code you are testing has been classified as SIL 2. The following section of code falls under this classification:

If ((A > B) or (C > D)) and (E = F) then print A

Endif

Which of the following sets of test data would supply the minimum tests needed to achieve the "highly recommended" level of coverage?

A.

Set 1

B.

Set 3

C.

Set 5

D.

Set 2