karose6637 karose6637
  • 14-09-2019
  • Mathematics
contestada

How does logical operator work- explain the differences between A AND B and A OR B? (6 pts)

Respuesta :

lublana
lublana lublana
  • 22-09-2019

Answer with Step-by-step explanation:

We are given two input A and B

A AND B=[tex]A\cdot B[/tex]

If A=0 and B=0 then [tex]A\cdot B=0[/tex]

If A=0 and B=1 then [tex]A\cdot B=0[/tex]

If A =1 and B=0 then [tex]A\cdot B=0[/tex]

If A=1 and B=1 then [tex]A\cdot B=1[/tex]

A OR B=A+B

If A=0 and B=0 then A+B=0+0=0

If A=0 and B=1 then A+B=0+1=1

If A =1 and B=0 then A+B=1+0=1

If A=1 and B=1 then A+B=1+1=1

If A=0 and B=1 or A=1 and B=0 then A AND B=0 but A OR B=1

This is the main difference A AND B and A OR B.

Answer Link

Otras preguntas

Which ratio best defines relative frequency Number of nonfavorable outcomes numbers of possible outcomes Numbers of possible outcomes numbers of nonflavorable
Look At The Enormous Limestone Statue Below. Known As The Great Sphinx Of Giza, It Was Created In About 2500 Bce In Egypt. What Conclusion Can You Reasonably Dr
What is the specific name for the rock formed when lava cools and hardens at the Earth’s surface?
How do you say 24 in spanish?
Help me please explain to me what it is saying for me to do .
Which of the following statements is an emotional appeal? D.Senator Chang has represented our state for the last 12 years. A.Senator Chang has expe
What is chemical reactions
What were the first actions taken by the US once war was declared?
What trophic level do herbivores occupy in a food chain?
What is the slope of the line passing through (1, 2) and (3, 8)?