Lookup table lab
- If you've finished lab1 and have time, you can try this one.
- The idea is that it is really easy to use a rule based
system for a mutually exclusive lookup table.
- The user puts in the facts, exactly one rule matches the
facts and gives the answer.
- Here is the table
Team Name | Home Colour | Away Colour |
Arsenal | Red | Yellow |
Blackburn | Blue | Black |
Liverpool | Red | White |
Manchester United | Red | Blue |
Tottenham | White | Blue |
- Make a series (5) rules that give you the team name if you
know the home and away colours.
- Make sure it is correct. How have you made sure it is correct?
- Here's my answer. You may want to save
it and open it in notepad or clips.