asked 146k views
3 votes
A box contains two types of colored pencils: red and blue. it also has a few pens. you can pick only one item at a time. if you pick either a red or a blue-colored pencil, you get one point. if you pick the pen, you get zero. if you pick a red and a blue pencil at the same time, you get zero again. which logic gate idea are we using in our game?

A) NAND

B) XOR

C) XNOR

D) NOR

2 Answers

5 votes
Xor because in the XOR gate, if both inputs are the same, the output is zero but if they're different, the output is one
answered
User Jihun No
by
7.7k points
4 votes

Answer:

B. XOR

Step-by-step explanation:

Logic gates are practical implementation of a digital circuit. There are three basic logic gates, namely; AND, OR and NOT gates. Every other gates are derived from them.o

XOR, also called exclusive OR is derived from the OR gate. It gives a high output ( ON or '1') when the inputs are odd (that is, it gives one value or ON state when one of a two-input gate is ON or high). The output for an even 'zero' or 'one' input, is a zero or off or low state.

To represent XOR for two inputs: A⊕ B⇒Y(output).

answered
User Sscarduzio
by
8.4k points

No related questions found