Определить значения логических выражений при заданных значениях переменных a и b. a = true b = true a and b andnot a or a or not b not a and (b and a) or (a or not b) not ((a and b) and a) or a or not b
A=TRUE, b=TRUE, (NOT a) = FALSE, (NOT b) = FALSE 1) a AND b AND (NOT a) OR a OR (NOT b) = = TRUE AND TRUE AND FALSE OR TRUE OR FALSE = = FALSE OR TRUE OR FALSE = TRUE 2) (NOT a) AND (b AND a) OR (a OR (NOT b)) = = FALSE AND (TRUE AND TRUE) OR (TRUE OR FALSE) = = FALSE OR TRUE = TRUE 3) NOT ((a AND b) AND a) OR a OR (NOT b) = = NOT ((TRUE AND TRUE) AND TRUE) OR TRUE OR FALSE = = NOT (TRUE) OR TRUE = TRUE
1) a AND b AND (NOT a) OR a OR (NOT b) =
= TRUE AND TRUE AND FALSE OR TRUE OR FALSE =
= FALSE OR TRUE OR FALSE = TRUE
2) (NOT a) AND (b AND a) OR (a OR (NOT b)) =
= FALSE AND (TRUE AND TRUE) OR (TRUE OR FALSE) =
= FALSE OR TRUE = TRUE
3) NOT ((a AND b) AND a) OR a OR (NOT b) =
= NOT ((TRUE AND TRUE) AND TRUE) OR TRUE OR FALSE =
= NOT (TRUE) OR TRUE = TRUE