[amp_mcq option1=”ad hoc” option2=”cross-sectional” option3=”bottom-up” option4=”top-down E. None of the above” correct=”option4″]
The correct answer is: D. top-down
In top-down testing, the tester starts at the top of the program hierarchy and works their way down, testing each module in turn. This approach is often used when the program is well-structured and has a clear hierarchy of modules.
A. ad hoc testing is a type of testing that is not planned or structured. It is often used to test new or untested code, or to test code that has been changed recently. Ad hoc testing can be effective, but it is not as reliable as other types of testing.
B. cross-sectional testing is a type of testing that tests the program as a whole, rather than individual modules. This type of testing is often used to test the program’s functionality and usability.
C. bottom-up testing is a type of testing that starts at the bottom of the program hierarchy and works its way up. This approach is often used when the program is not well-structured or does not have a clear hierarchy of modules.
E. None of the above is not a valid option.