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

Programming languages: As part of the development team for a new application tha

ID: 3852899 • Letter: P

Question

Programming languages:

As part of the development team for a new application that diagnoses patient health issues, you interview a number of doctors and they all suggest that they approach diagnosis by utilizing a number of knowledge chunks that they describe using IF-THEN statements. For example, IF: 1) The gram stain of the organism is gram-negative, and 2) The morphology of the organism is rod, and 3) The aerobicity of the organism is anaerobic THEN There is suggestive evidence (.6) that the identity of the organism is bacteroides With only this know ledge in mind, what programming language paradigm and programming language is the most appropriate for this application. Briefly defend your answer.

Explanation / Answer

Object-oriented paradigm is approprite for the situation because in this real world problem Bacteroide is an object who has some properties. Similarly there might me other animals who have different properties who can be classified accordingly.

We can use C++ here because it is easier to use and the lifetime of an object(animal) can be controlled by the user.