boolean searching (sdcc)

11
Boolean Searching or How to choose your slice of pizza at the Pizza Buffet.

Upload: wil-weston

Post on 13-May-2015

1.364 views

Category:

Self Improvement


1 download

DESCRIPTION

boolean searching powerpoint

TRANSCRIPT

Page 1: Boolean Searching (SDCC)

Boolean Searching

or How to choose your slice of pizza at the Pizza Buffet.

Page 2: Boolean Searching (SDCC)

Vinny Diagram’s Pizza Buffet

Toppings:• Pepperoni • Sausage • Garlic• Onion• Anchovies• Crawfish (Vinny is from New Orleans)

Page 3: Boolean Searching (SDCC)

Boolean Operators• AND• OR• NOT

Page 4: Boolean Searching (SDCC)

Vinny Buffet is also known for his odd figure eight shaped pizzas, because he is little careless when placing the pizzas into the oven. So, that makes finding the right slice an additional challenge.

Page 5: Boolean Searching (SDCC)

“AND”

By using “AND” we are requiring both of the search terms (in this case – pizza toppings) to appear somewhere in the document (make that pizza).

In Vinny’s merged pizzas, it is only the middle slice we want. The one with both Pepperoni and Sausage!

Page 6: Boolean Searching (SDCC)

“OR”

By using “OR” we are saying either of the toppings can appear somewhere on the pizza.

In Vinny’s merged pizzas any slice is okay!

Page 7: Boolean Searching (SDCC)

“NOT”

“NOT” excludes those search terms (like anchovies) that follow it.

In Vinny’s merged pizzas we don’t want any slice of pizza that has anchovies! Just the Crawfish side please!

Page 8: Boolean Searching (SDCC)

Let’s try Searching for articles using these Boolean operators.

• “AND”

Page 11: Boolean Searching (SDCC)

Questions?

This powerpoint presentation can be viewed at http://weston.fall2008.googlepages.com/home