Question: QUESTION 3 [TOTAL MARKS: 30] Q 3(a) [16 Marks] Code reusability is an important part of modern software design particularly to avoid writing duplicate code
QUESTION 3 [TOTAL MARKS: 30]
Q 3(a) [16 Marks] Code reusability is an important part of modern software design particularly to avoid writing duplicate code or rewriting code that has already been written. Demonstrate, using an example, how to: (i) Avoid having duplicate code in an individual C# form. (ii) Share C# functionality across multiple projects.
Q 3(b) [8 Marks] Demonstrate, using an example, how to calculate the cyclomatic complexity of code.
Q 3(c) [6 Marks] Demonstrate, using an example, the importance of re-factoring in program maintenance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
