Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 14 ( HLE Produces an etror t Performs Updates n datalsuse Rnbles mens s

ID: 3717211 • Letter: Q

Question

Question 14 ( HLE Produces an etror t Performs Updates n datalsuse Rnbles mens selection Sor ubeequent stiy answers Consider & medule thist is ralled whea supplemeutary dats basd o origiund compt dat follow-up calculations requested by the ur (aj la this an example of high or lw ootesion? (b) Which forim of cauralios is preborstle (c) How is coheeton and insormation hiding rulstad Question 15 (3 marks) Whst is an advastage of top-down integration tsting? Question 16 (10 marks) Assume thas we bave the folbowing progan Bisple sumeri static double integratel double a, double b, double delta ical integration, Approxisation by rectangles. double theFunction double x) ) double area 0.0; double x area theFunctionx delta; retura area; Does correctness of integrate depend on correctness of theFusction? Question 17 (9 marks) Consider the following two exaanples of software projects: (1) Developing·convent compiler for a known programming language, such as C, for a new machine and (2) Developing application to automate a doctor's office. (a) Which of the two is likely to call for a waterfall life cycle developineut style? Why? (b) What are the likely risks in the two examples? (c) How can the chosen development life cycle model face the risks?

Explanation / Answer

Sol: 15) Top down integration testing : Top-down integration testing is an integration testing technique used in order to simulate the behaviour of the lower-level modules that are not yet integrated. Stubs are the modules that act as temporary replacement for a called module and give the same output as that of the actual product.

Advantages of top down integration testing :

Isolation of interface errors becomes easier because of incremental nature of top down integration.

Test cases designed to test the integration of a module are reused during the regression tests performed after integrating other modules.

Advantageous if major flaws occur toward the top of the program.

It provides early working module of the program and so design defects can be found and corrected early.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote