.A logic operator not defined in this chapter is the NAND function; it is denoted by ↑. NAND is short for “not AND” where a ↑ b ≡ ~ (a ∧ b). a. Give the truth table for the two-input NAND function b.Show that the NAND operator can be used to simulate each of the AND, OR, and NOT operators.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

2 .A logic operator not defined in this chapter is the NAND function; it is denoted by ↑. NAND is short for “not AND” where a ↑ b ≡ ~ (a ∧ b).
a. Give the truth table for the two-input NAND function
b.Show that the NAND operator can be used to simulate each of the AND, OR, and NOT operators.

 

For the first part you need a truth table, but you need to answer the second part of the question correctly too. 
You need to show what rules you have used to get the conclusion. For that purpose look at the following instructions:
 

In chapter 5, you have learned about De Morgan’s Law. You have also learned how to prove the validity of propositional logic arguments. Please refer to section 5.2.3 of your book to learn more about these concepts.

To answer the second part of the questions, you should know well about the above laws and logics and you need to know how and where to apply De Morgan’s Law, implication, conjunction, double negation and so on….

To show that NAND is equivalent to not, you have to pick a variable and show that a NAND “a” equals “not a” (just by Applying bullion logic). Note that the not operator is a unary operator (it operates only on a single variable).

 a NAND a = !a         or in another form we can show       a ↑ a =  ~ a 

Now if we want to show that NAND is equivalent to OR operator, we should show the following using double negation, De Morgan’s law and implication.

And you need to do almost the same to show that NAND is equivalent to AND operator.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Counting Problems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education