Rewrite the following conditional expressions without any NOT operators so that the logical outcome is unchanged for all values of the variable x. Then evaluate the original expression and the equivalent expression using the values: x = 1, y = 1, z = 1. Compare the results.
Notes: The NOT operator applies to the part of the expression enclosed in parentheses that follows immediately.
Evaluating the original and equivalent expressions for the values given is only a partial check. A general check can be done with a truth table.
NOT (x < 1) OR NOT (x > 2) (x > =1) OR (x < = 2)
Evaluate original NOT (F) OR NOT (F) =TORT=T
Evaluate equivalent TORT = T
You might also like to view...
A ____ trace indicates the sequence of messages that produced an exception.
A. queue B. stack C. buffer D. handler
Two ways to show summary information for a project include reviewing the project's properties and adding a project summary bar.
Answer the following statement true (T) or false (F)
Changing the title of the page when you save it is a good habit to get into, because ____.
A. you cannot save the page without the change B. you don't have to remember to make the change later C. you are required to change the title to proceed D. None of the above.
To prevent multiple users from modifying a file simultaneously, you need to use the file_lock() function.
Answer the following statement true (T) or false (F)