Question: GENERAL REQUIREMENTS (Marks: 10) Writing maintainable code in industry is vital, therefore, you are generally required to: Follow good programming practices: o Variable types correct;
GENERAL REQUIREMENTS (Marks: 10) Writing maintainable code in industry is vital, therefore, you are generally required to: Follow good programming practices: o Variable types correct; o Variable scope correct; and o Class and method naming standards correct. Insert comments to show logic and design for the support of code maintainability. Code efficiently. Redundant code must be avoided, Spend 15 minutes ensuring that your programs meet the general criteria below.

Requirement Maximum Examiner's Moderator's Mark Mark Mark (3) ( 2) (3) Good Programming Practice Not followed at all = 0 Average - Minor changes required = 1-2 Excellent - No changes required = 3 Code Efficiency Poor - Much code is duplicated = 0 Average - Some redundant code = 1 Excellent - Code very maintainable = 2 Comment Statements Poor - No comments = 0 Average - Some comments = 1 - 2 Excellent - All necessary comments given to show logic = 3 Program(s) compile and execute No - Many changes required = 0 Average - Minor changes required = 1 Yes - No changes required = 2 TOTAL MARKS (2) 10 Requirement Maximum Examiner's Moderator's Mark Mark Mark (3) ( 2) (3) Good Programming Practice Not followed at all = 0 Average - Minor changes required = 1-2 Excellent - No changes required = 3 Code Efficiency Poor - Much code is duplicated = 0 Average - Some redundant code = 1 Excellent - Code very maintainable = 2 Comment Statements Poor - No comments = 0 Average - Some comments = 1 - 2 Excellent - All necessary comments given to show logic = 3 Program(s) compile and execute No - Many changes required = 0 Average - Minor changes required = 1 Yes - No changes required = 2 TOTAL MARKS (2) 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
