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

For a car of weight 9000 N the recommended tyre pressure is 18 N/cm².Findthe area of each tyre in contact with the ground​
What is greater 7/5 or 14/10
Which statement best summarizes the passage ?
Click on the answer to the inference question. Please help. Thank you
Can someone help me
Multiply 7 ⋅ 3/4 Enter your answer as an improper fraction, in simplified form, in the box
In a paragraph of 3–5 sentences, evaluate economic reforms passed during Woodrow Wilson’s presidency.
difference between silicon and sulphur
A business sells kicking tees by mail for 3 each the shipping charge is 5 the function p=n+5 shows how the number of tees n related to the price p you will pay
Carlos and Juan are trying to determine which type of soap solution will make the biggest bubbles. They are testing three different bubble solutions. They use