1 / 6

Branching Databases.

Branching Databases. A. Hancox 2008. We are going to sort a set of animals using a branching database. Cow. Sheep. Pig. Horse. (Pretend you do not know their names). A. Hancox 2008. Sort the objects into 2 groups with a clear yes/no question. Does the animal have horns?. Cow. Sheep.

ghada
Download Presentation

Branching Databases.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Branching Databases. A. Hancox 2008

  2. We are going to sort a set of animals using a branching database. Cow Sheep Pig Horse (Pretend you do not know their names) A. Hancox 2008

  3. Sort the objects into 2 groups with a clear yes/no question. Does the animal have horns? Cow Sheep Pig Horse Yes No A. Hancox 2008

  4. Sort the objects again using a simple yes/no question. Is the animal covered in wool? Cow Sheep Yes No A. Hancox 2008

  5. Do the same with the remaining objects. Does the animal have a curly tail? Pig Horse Yes No A. Hancox 2008

  6. You have now created a simple branching database. Yes Is the animal covered in wool? Yes No Cow Sheep Pig Does the animal have horns? Horse No Yes Does the animal have a curly tail? No A. Hancox 2008

More Related