Post Lab 9

Post labs are to be done individually. Sharing files between students is not allowed. Doing so is an Academic Integrity violation, and will be treated as such.

More logic grid puzzles!

Details

A logic grid puzzle consists of a scenario where you are trying to match some number of disjoint sets based off of a set of logical statements. To accomplish this, you will fill in a grid built from these disjoint sets. For any given block of the grid, each row and each column can only have one positive answer (which we typically represent with an 'o'). Your goal is to fill out the grid, such that each block has one 'o' in each row and column. Consider the following Scenario:

Three boys (Jake, Anthony and Carlos) and two girls (Abigail and Paige) went on a trip to the zoo. All five kids have five different favorite animals that they want to see: monkeys, alligators, bears, lions, and giraffes. Each of the five children ate one of the five different things as a snack: popcorn, chips, pretzel, nachos with chips and cheese, or crackers. Each child bought one souvenir: a stuffed rabbit, a lion t-shirt, a key chain, a plastic snake, or a stuffed monkey. Figure out from the clues below which child likes which animal, who ate what for snack, and who bought what for a souvenir.

• One of the kids got so excited to see their favorite animal, the alligators, that they spilt their popcorn all over the place.
• Paige really didn't want to see the alligator exhibit because she doesn't like reptiles or anything that has scales.
• The stuffed monkey got a little bit of nacho cheese on its face from its owner's kisses.
• All day after visiting the zoo, Jake kept making lion noises, even in his sleep!
• Abigail and Carlos both got a snack that involved chips.
• The kid who bought the t-shirt loved it so much that he slept in it despite pretzel crumbs getting into his bed.
• The nacho lovers' favorite animal is the monkey, which is why they wanted to see that exhibit.
• None of the boys bought a stuffed animal.
• The kid who got the keychain picked the one with their favorite animal, the alligator, on it.
• One of the girls just loved the new bear exhibit. It was her favorite part of the day.
This exercise is a slightly modified version of the logic puzzle found on the Braingle webpage at: http://www.braingle.com/brainteasers/22588/a-day-at-the-zoo.html.

Submission

Turn this paper in at the beginning of the next class.

Post labs are to be done individually. Sharing files between students is not allowed. Doing so is an Academic Integrity violation, and will be treated as such.