Question Get Answer

can you please solve this for me using selection statements following the diagram shown in file .and thank you .

Instruction: Write a complete program and must follow the good practice of writing program.
Deadline: 30/06/2020
As a programmer, you have been asked to develop an expert system for medical
diagnosis. An expert system is a program that behaves like a human expert for a particular
application domain. The application domain in this assignment contains the likely causes of
a fever.
Expert systems are typically rule-based, where a rule has two components. The first
component is the conditions under which the rule is applicable; the second component is the
recommended action under those conditions.
A rule-based systems performs a series of queries to determine the situation at hand
so that it can determine which of its rules apply. The queries are done in a manner that uses
the responses from previous queries to determine future queries. Such a process enables
the program to determine quickly the specifics of the situation.
Because the tool that you are developing is concerned only with suggesting the possible
cause of a fever, the first rule to consider is
No fever no recommendation (i.e. no fever implies no recommendation).
Where is the mathematical symbol for implication. If the response to the initial query
indicates the user does not have a fever, then the tool should announce no recommendation
can be made. If the initial query indicates that the user does have a fever, then a follow-up
query is asked.
The tool you design and produce should be based on the diagram in Figure 1. Page 1 of 3 Example Output Fever Diagnostic Tool
Please note that this program performs no true diagnostic
activity. No decisions should be made based upon the
tool’s analysis. If users have a fever, they should
contact their doctor.
Do you have fever (y, n): y
Are you coughing (y, n): n
Do you have a headache (y, n): y
Are you experiencing any of the following: pain when
bending your head forward, nausea or vomiting bright light
hurting your eyes drowsiness or confusion (y, n): y
- Fever
- Headache
- pain when bending your head forward, nausea or vomiting
bright light hurting your eyes drowsiness or confusion
Possibilities include meningitis Page 2 of 3 Figure 1: Procedure to diagnose the cause of a fever. Page 3 of 3

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Statistics and Probability tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes