Explain why it is difficult to validate a reusable component without the component source code. In what ways would a formal component specification simplify the problems of validation?

What will be an ideal response?

Component validation without source code is very difficult because there is no way
of assessing how the component handles exceptions (and this is rarely defined in a
component specification). The only validation method that can be used is black-box
testing so static techniques cannot be used. Component specifications are rarely
complete and this increases the problems of black-box testing. Formal
specifications would help because they would precisely define what the component
was supposed to do and its actual behaviour could be compared to the specification.
However, formal specification rarely cover all exceptions and they do not help with
testing performance, dependability or other non-functional characteristics.

Computer Science & Information Technology

You might also like to view...

What is the best image format to use for favicons to make sure all browsers can see it?

a. JPEG b. TIF c. ICO d. PNG

Computer Science & Information Technology

In the figure above, the box indicated by item 3 points to ____.

A. the Design tab to access a list of themes B. the All Themes list C. additional themes that might be available online D. the link that allows you to save the theme

Computer Science & Information Technology