Difference between revisions of "Logical operators assignment"

From WLCS
(Created page with " '''Exercises:''' * Evaluate and simplify the following as True or False not(False) True or False False and False True and False not(True or False) True or True False and True F...")
 
Line 1: Line 1:
 +
'''Directions:'''
 +
# Open a text editor (Applications->Accessories->gEdit Text Editor)
 +
# Put your name at the top
 +
# Save the file as YOURLASTNAME_logic.txt
 +
# Complete the exercises below in this file.  If you use DrPython, then be sure to copy your code back into this file
 +
# Be sure to number each of your answers!!
  
 +
'''References:'''
 +
* [[Media:BooleanLogic.ppt]]
  
 
'''Exercises:'''
 
'''Exercises:'''
 
* Evaluate and simplify the following as True or False
 
* Evaluate and simplify the following as True or False
not(False)
+
# not(False)
True or False
+
# True or False
False and False
+
# False and False
True and False
+
# True and False
not(True or False)
+
# not(True or False)
True or True
+
# True or True
False and True
+
# False and True
False or True
+
# False or True
not(False) and True
+
# not(False) and True
not(True) or False
+
# not(True) or False
not(True) or True
+
# not(True) or True
 +
 
 +
'''Submit:'''
 +
* Submit the file to [http://wlhs.schoolweblockers.com/ School Web Lockers]

Revision as of 11:32, 20 October 2010

Directions:

  1. Open a text editor (Applications->Accessories->gEdit Text Editor)
  2. Put your name at the top
  3. Save the file as YOURLASTNAME_logic.txt
  4. Complete the exercises below in this file. If you use DrPython, then be sure to copy your code back into this file
  5. Be sure to number each of your answers!!

References:

Exercises:

  • Evaluate and simplify the following as True or False
  1. not(False)
  2. True or False
  3. False and False
  4. True and False
  5. not(True or False)
  6. True or True
  7. False and True
  8. False or True
  9. not(False) and True
  10. not(True) or False
  11. not(True) or True

Submit: