Difference between revisions of "Boolean expression word problems"

From WLCS
(Created page with "'''Resources:''' * Media:DLD.ppt * [http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Logic/Logic2.html Digital Logic] '''Directions:''' * For each of the following wor...")
 
Line 4: Line 4:
  
 
'''Directions:'''
 
'''Directions:'''
* For each of the following world problems, do the following in order:
+
For each of the following world problems, do the following in order:
*# Determine what your Boolean variables are and what they represent
+
# Determine what your Boolean variables are and what they represent
*# Write out the truth table that represents the word problem
+
# Write out the truth table that represents the word problem
*# Write out the complete Boolean expression (unsimplified!) using the minterms from the truth table
+
# Write out the complete Boolean expression (unsimplified!) using the minterms from the truth table
*# Simplify the Boolean expression
+
# Simplify the Boolean expression
*# Draw the digital circuit for the simplified Boolean expression
+
# Draw the digital circuit for the simplified Boolean expression
  
 +
'''Exercises:'''
 
# Three sensors are attached to a printing device, with three alarms attached to the sensors. The first sensor, "A," detects if the device needs ink. The second sensor, "B," detects if the device needs repair. The third sensor, "C," detects if the device should jam.  An alarm sounds if 2 or more problems occur.
 
# Three sensors are attached to a printing device, with three alarms attached to the sensors. The first sensor, "A," detects if the device needs ink. The second sensor, "B," detects if the device needs repair. The third sensor, "C," detects if the device should jam.  An alarm sounds if 2 or more problems occur.
 
# Schools are given snow days given specific circumstances.  If there is ice on the roads, but no salt, then a snow day is given.  If there is salt however, then a snow day is not given.  Regardless of whether or not there is salt, whenever there is >2 inches of snow, then a snow day is given.
 
# Schools are given snow days given specific circumstances.  If there is ice on the roads, but no salt, then a snow day is given.  If there is salt however, then a snow day is not given.  Regardless of whether or not there is salt, whenever there is >2 inches of snow, then a snow day is given.
 
# A computer chip controls whether or not children are allowed to watch a specific TV show.  If the time is before 5PM, then the TV always works.  However, if it's after 5PM, then the shows rating is used.  If the rating is for General Audiences, then the TV will work; however, if the rating is for Mature Audiences, then the TV does not turn on.
 
# A computer chip controls whether or not children are allowed to watch a specific TV show.  If the time is before 5PM, then the TV always works.  However, if it's after 5PM, then the shows rating is used.  If the rating is for General Audiences, then the TV will work; however, if the rating is for Mature Audiences, then the TV does not turn on.

Revision as of 14:14, 27 January 2012

Resources:

Directions: For each of the following world problems, do the following in order:

  1. Determine what your Boolean variables are and what they represent
  2. Write out the truth table that represents the word problem
  3. Write out the complete Boolean expression (unsimplified!) using the minterms from the truth table
  4. Simplify the Boolean expression
  5. Draw the digital circuit for the simplified Boolean expression

Exercises:

  1. Three sensors are attached to a printing device, with three alarms attached to the sensors. The first sensor, "A," detects if the device needs ink. The second sensor, "B," detects if the device needs repair. The third sensor, "C," detects if the device should jam. An alarm sounds if 2 or more problems occur.
  2. Schools are given snow days given specific circumstances. If there is ice on the roads, but no salt, then a snow day is given. If there is salt however, then a snow day is not given. Regardless of whether or not there is salt, whenever there is >2 inches of snow, then a snow day is given.
  3. A computer chip controls whether or not children are allowed to watch a specific TV show. If the time is before 5PM, then the TV always works. However, if it's after 5PM, then the shows rating is used. If the rating is for General Audiences, then the TV will work; however, if the rating is for Mature Audiences, then the TV does not turn on.