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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!