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

Question Details: Implement practically the \"Flood Prediction System\" using CL

ID: 3607802 • Letter: Q

Question

Question Details:

Implement practically the "Flood Prediction System" using CLIPSsoftware.

The rules defined for the system are given below,

Flood Prediction System

Rule I

If there have been continuous rains from last 3weeks

Then water level in water reservoirs is aboveits dangerous level

Rule II

If there is prediction of rains in for next 4weeks

AND water level in water reservoirs is aboveits dangerous level

Then there are chances of over flooding inrivers.

Rule III

If there is prediction of heavy clouds forcoming four weeks

AND there is prediction of coming air withheavy concentration of water

Then there is prediction of rains in for next 4weeks

The system will ask the following facts from the user in theform of yes/no,

If there have been continuous rains from last 3weeks?

If there is prediction of rains for coming fourweeks?

If there are chances of coming air with heavyconcentration of water?

If there is prediction of heavy clouds forcoming four weeks?

Then the system will show the result using the rules given abovein the

form of text output that whether there are chances of overflooding in rivers

or not.

Example conversation is shown below:

If there have been continuous rains from last 3 weeks ?

yes (Entered by the user)

If there is prediction of rains for coming four weeks ?

yes (Entered by the user)

If there are chances of com ing air with heavy concentration ofwater ?

Yes (Entered by the user)

If there is prediction of heavy clouds for coming four weeks?

yes (Entered by the user)

Dear user, there are chances of over flooding inrivers.

If there have been continuous rains from last 3 weeks ?

no (Entered by the user)

If there is prediction of rains for coming four weeks ?

yes (Entered by the user)

If there are chances of com ing air with heavy concentration ofwater ?

Yes (Entered by the user)

If there is prediction of heavy clouds for coming four weeks?

yes (Entered by the user)

Dear user, there are no chances of over flooding inrivers.

Explanation / Answer

      If the water level in waterreservoirs is above its dangerous levelAND      - Then there is predictionof rains for next 4 weeks in coming four weeks there arechances of coming air with heavy concentration of water along withheavy clouds.

      If there is prediction ofrains in for next 4 weeks - Then there are chances of overflooding in rivers.(Goal)

      If the water level in waterreservoirs is not above its dangerous levelAND      - Then there isno prediction of rains for next 4 weeks in comingfour weeks there are chances of coming air with heavy concentrationof water along with heavy clouds.

      If there is no prediction ofrains in for next 4 weeks - Then there are no chances ofover flooding in rivers.(Goal)

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