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

When trying to distribute -(x+1)squared + 4 How do you do it? Is it -(x+1)-(x+1)+4 Then does it go to X squared +2x+6 I think I did it wrong but I'm not s
Reducing your carbon footprint has no effect on carbon emissions. a. True b. False
How many grams are in a kilogram
Which figure from the early 1500s do these statements describe?
During a sale at a bookstore, Joseph buys a book at full price. He is given a 50 percent discount on a second book of equal or less value. If Joseph buys two bo
Which sentence below is properly punctuated? a. When you arrive on the train, take a taxi to the bus station; I can meet you at the bus station. b. When you a
examples of mood in to kill a mockingbird
The auditor submitted the report on time (change into the passive voice
how to explain the steps you would take to put 36/10 as a decimal
What is antynoym of omen