• 100% Satisfaction Guarantee

Andy, Computer Consultant
Category: Computer
Satisfied Customers: 23538
Experience:  11yr exp, Comp Engg, Internet expert, Web developer, SEO
16465236
Andy is online now

# a. Explain the relationship between an AND gate and a NAND

### Resolved Question:

a.    Explain the relationship between an AND gate and a NAND gate in terms of Boolean Algebra and draw truth tables for both types of gate

b.    Explain the relationship between an OR gate and a NOR gate in terms of Boolean Algebra and draw truth tables for both types of gate
Submitted: 7 years ago.
Category: Computer
Expert:  Andy replied 7 years ago.
Have a nice day.

A.

AND gate: If all the inputs of the And gate are 1(true) then the output is 1(true). If Any input of the AND gate is 0 (false), then the output is 0 (false)
NAND gate: If any of the inputs of the Nand gate are 0(false) then the output is 1(true). If all inputs of the NAND gate are 1 (true), then the output is 0 (false)

in terms of Boolean algebra, relationship between AND and NAND is: AND = ~NAND
i.e. AND is invert of NAND

Truth table: AND Gate.
Inputs Output
A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1

Truth table: NAND Gate.
Inputs Output
A B C D
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0

B.
OR gate: If all the inputs of the OR gate are 0(false) then the output is 0(false). If Any input of the OR gate is 1 (true), then the output is 1 (true)

NOR Gate: If all the inputs of the NOR gate are 0(false) then the output is 1(true). If Any input of the NOR gate is 1 (true), then the output is 0 (false)

in terms of Boolean algebra, relationship between OR and NOR is: OR= ~NOR
i.e. OR is invert of NOR

Truth Table: OR Gate.
Inputs Output
A B C D
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1

Truth Table: NOR Gate.
Inputs Output
A B C D
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0

---------------------------------------------------------------------------------
Click on the ACCEPT button so that I get paid for my work.
----------------------------------------------------------------------------------
Andy, Computer Consultant
Category: Computer
Satisfied Customers: 23538
Experience: 11yr exp, Comp Engg, Internet expert, Web developer, SEO

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Previous | Next >
• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
• I am very happy with my very fast response. Eric is very knowledgeable in the subject area. Thank you! RP Austin, TX
• Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
• The Expert answered my Mac question and was patient. He answered in a thorough and timely manner, keeping the response on a level that could understand. Thank you! Frank Canada
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA

• ### Andy

#### Satisfied Customers:

5316
11yr exp, Comp Engg, Internet expert, Web developer, SEO
< Last | Next >

### Andy

#### Satisfied Customers:

5316
11yr exp, Comp Engg, Internet expert, Web developer, SEO

### Engineer John C.

#### Satisfied Customers:

3220
Computer Science Engineer with 10 years of experience in Computer Support, and Microsoft, A+ and Cisco certified

### Ryan H.

#### Satisfied Customers:

1741
A+ Certified Technician - 10 Years experience working with all types of computer systems.

### Jane Lefler

#### Satisfied Customers:

0
Computer Programmer / Technician/ Consultant 16+ years

### Frederick S.

#### Satisfied Customers:

7241
Computer technician and founder of a home PC repair company.

### lifesaver

#### Satisfied Customers:

4288
Engineering degree in Computer science,Microsoft Certified Professional.JA computer expert.