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 10:32, 20 October 2010
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:
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
- False or True
- not(False) and True
- not(True) or False
- not(True) or True
Submit:
- Submit the file to School Web Lockers