Evaluate the following conditional expressions in a step-by-step manner as shown in the examples when x = 1 and y = 2.
Note: In the solutions below, indicate the current logical expression being evaluated according to the rules of precedence.
```
y-3 = 0 ORx-3 =0 ANDy=2
```
Evaluates as False
Assign Values 2 — 3 = 0 OR 1 — 3 = 0 AND 2 = 2
Add Parentheses ((2 — 3) = 0) OR ((1 — 3) = 0) AND (2 = 2)
Do Arithmetic (-1 = 0) OR (-2 = 0) AND (2 = 2)
Evaluate Relational Exp. F OR F AND T
Evaluate Logical Exp.
AND First F OR F AND T = F OR F
OR Next F OR F = F
Get Result FALSE
You might also like to view...
Give one example of a task for which you would not write a program, and give another example of a task for which you would write a program.
What will be an ideal response?
The default font color of a Web page is ________
A) white B) black C) red D) blue
When entering text on a slide, you should avoid leaving a single word hanging on a line on its own
Indicate whether the statement is true or false
To give proper credit to a source from which you drew information for a research paper, you would include a parenthetical ________ in the paper
A) works cited B) bibliography C) source D) citation