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) AND NOT (x = 2) (x<>1)AND(x<>2)


Evaluate original NOT (T) AND NOT (F) = F AND T = F
Evaluate equivalent F AND T = F (Both are the same)

Computer Science & Information Technology

You might also like to view...

Explain why executions are always strict even if read locks are released after the last operation of a transaction but before its commitment. Give an improved statement of Rule 2

What will be an ideal response?

Computer Science & Information Technology

Subforms are often used when a many-to-many relationship exists between tables

Indicate whether the statement is true or false

Computer Science & Information Technology

Word's ________ feature automatically creates a backup version of your current document

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ____ object is needed to hold data retrieved from a database via the OleDbDataAdapter connection.

A. DataFile B. DataRecord C. DataSource D. DataTable

Computer Science & Information Technology