Ask Question
23 September, 18:04

Given these values for the boolean variables x, y, and z:

x=true; y=true; z=false;

Indicate whether each expression is true (T) or false (F):

1) ! (y || z) || x

2) z && x && y

3) ! y || (z || x)

4) x || x && z

+3
Answers (1)
  1. 23 September, 20:09
    0
    1. True.

    2. False.

    3. True.

    4. True.

    Explanation:

    Remember OR operator (||) gives false when both of it's operands are false. AND Operator (&&) gives false when even one of it's operator is false.

    In first part we have

    ! (True || False) || True

    =! True||True

    =False||True

    =True

    In second part we have.

    False && True && True

    = False && True

    =False.

    In Third part

    ! True || (False || True)

    =False || True

    =True.

    In fourth part

    True || True && False

    =True|| False

    =True.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given these values for the boolean variables x, y, and z: x=true; y=true; z=false; Indicate whether each expression is true (T) or false ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers