To evaluate the expression \( p \text{ AND } q \text{ OR } r \) using the values \( p = 0 \), \( q = 1 \), and \( r = 1 \), we need to follow the order of operations.
-
First, calculate \( p \text{ AND } q \): \[ p \text{ AND } q = 0 \text{ AND } 1 = 0 \]
-
Next, use the result from the previous step to calculate \( 0 \text{ OR } r \): \[ 0 \text{ OR } 1 = 1 \]
So, the final outcome of \( p \text{ AND } q \text{ OR } r \) is 1.