Question: The exclusive OR function is used in computer programming and logic design, the exclusive OR function returns a value of 1 if either of the
The exclusive OR function is used in computer programming and logic design, the exclusive OR function returns a value of 1 if either of the two inputs are true, but returns a 0 if both are true or if neither are true
The following shows the values for Exclusive OR compared to Regular OR

Your job is to choose the correct logic for cells F3-F6, the answers below are for cell F3 and assume you use fill down to complete cells F4-F6
Which of the following IF-Then statements would provide the correct values for the Exclusive OR Output column?
| a. | =IF(AND(E3,D3),1,IF(OR(E3,D3),0,1)) | |
| b. | =IF(OR(E3,D3),IF(NOT(AND(E3,D3)),1,0),0) | |
| c. | =IF(OR(E3,D3),IF(AND(E3,D3),1,0),0) | |
| d. | =IF(AND(E3,D3),0,IF(OR(E3,D3),0,1)) |
\begin{tabular}{|l|l|l|l|l|l|l|r|} \hline & A & B & C & D & E & F \\ \hline 1 & \multicolumn{1}{|l|}{ Regular OR } & & \multicolumn{2}{|l|}{ Exclusive OR (XOR) } \\ \hline 2 & Input 1 & Input 2 & Output & Input 1 & Input 2 & Output \\ \hline 3 & & 0 & 0 & 0 & 0 & 0 & 0 \\ \hline 4 & 0 & 1 & 1 & 0 & 1 & 1 \\ \hline 5 & 1 & 0 & 1 & 1 & 0 & 1 \\ \hline 6 & 1 & 1 & 1 & 1 & 1 & 0 \\ \hline \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
