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

Little Susie is trying to train her new puppy. She is trying to figure out when

ID: 3598005 • Letter: L

Question

Little Susie is trying to train her new puppy. She is trying to figure out when the puppy should get a dog biscuit as a reward. She has concluded the following:
- Give the puppy a biscuit if it sits and wiggles but does not bark.
- Give the puppy a biscuit if it barks and wiggles but does not sit.
- Give the puppy a biscuit if it sits but does not wiggle or bark.
- Give the puppy a biscuit if it sits, wiggles and barks.
- Don't give the puppy a treat other wise.
Use the following:
S:Sit(0 for not sitting; 1 for sitting)
W:Wiggles(0 for not wiggling; 1 for wiggling)
B:Barking (0 for not barking; 1 for barking)
F:Biscuit function(0, don't give the puppy a biscuit; 1, give the puppy a biscuit)
Construct a truth table and find the minimized Boolean function to implement the logic telling Susie when to give her dog a biscuit.

Explanation / Answer

S W B F

0 0 0 0

0 0 1 0

0 1 0 0

0 1 1 1 //give the puppy a biscuit if it barks and wiggles but does not sit.

1 0 0 1 //give the puppy a biscuit if it sits but does not wiggles or bark.

1 0 1 0

1 1 0 1 // give the puppy a biscuit if it sits and wiggles but does not bark.

1 1 1 1 //give the puppy a biscuit if it sits, wiggles and barks.

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