f(a,b) = (a nand b) xor (b nand a) One of the following is an alternative definition of f f(a,b) = (a and not b) or (b and not a) f(a,b) = false f(a,b) = (a xor b) nand (b xor a) f(a,b) = true
Added by Valerie W.
Close
Step 1
Step 1: We are given the function f(a,b) = a nand b xor b nand a. Show more…
Show all steps
Your feedback will help us improve your experience
Paul Gabriel and 52 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
The NAND gate has inputs A and B. Its output is connected to both inputs of another NAND gate. An equivalent gate for these two NAND gates is a(n): OR gate, AND gate, NOR gate, XOR gate.
Paul G.
The logical operators NAND (not and) and NOR (not or) are defined as follows: $$\begin{aligned} p \mathrm{NAND} q &=\sim(p \wedge q) \\ p \mathrm{NOR} q &=\sim(p \vee q) \end{aligned}$$ Construct a truth table for each proposition. $$ p \text { NAND } q $$
The Language Of Logic
Logical Equivalences
If the two inputs of a NAND gate are shorted, the gate is equivalent to (a) XOR (b) $\mathrm{OR}$ (c) NOR (d) NOT
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD