To solve the expression \( p \text{ AND } q \text{ OR } r \) with the given values \( p = 0 \), \( q = 1 \), and \( r = 1 \), we will follow the order of operations considering logical AND and OR.
-
First, we calculate \( p \text{ AND } q \):
- Since \( p = 0 \) and \( q = 1 \): \[ p \text{ AND } q = 0 \text{ AND } 1 = 0 \]
-
Next, we use this result in the expression \( (p \text{ AND } q) \text{ OR } r \):
- We just calculated \( p \text{ AND } q = 0 \) and we have \( r = 1 \): \[ 0 \text{ OR } 1 = 1 \]
Therefore, the final outcome of the expression \( p \text{ AND } q \text{ OR } r \) is 1.