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

Imagine you are a part of a team that is tasked with writing a mobile applicatio

ID: 666951 • Letter: I

Question

Imagine you are a part of a team that is tasked with writing a mobile application (app) that will allow users to send pictures to their friends. The manager does not want to waste time creating code modules. Describe at least one (1) advantage of modularizing code for this type of task. Justify your response.

Using the scenario from the first part of this discussion, imagine that the same team wants to ensure that the code that they have developed is free of errors. Suggest at least one (1) best practice that the team can implement or follow to help prevent coding errors in the app. Provide a rationale for your suggestion.

Explanation / Answer

(1) Advantage of modularizing code for the given task:

Easier to Debug: App contains hundreds of hundreds lines of codes.If errors occurs then it is very difficult to find the error.If app is modularized then it is easier to find the error as each task has unique section of code so if there is problem in any functionality,search for errors in that function only which implements it.

Resuable code: if code of app is modularized then it can be resued whenever it requires to perform same task.

(2) Best practice of coding for apps to avoid errors:

Follow Coding Standard: To avoud errors programmer should strictly follow coding standards/best practices , these standards are different for different programming langauge.Use comments like name of the module,its purpose,modifications etc .Use naming conventions like camelCase naming of variables

   Follow Software Requirement Specification: Softaware Design Specification is a precise documentation of requirement of app/software.And one should strictly follow this documentation to avoid deviation from actual requirement.

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