Digital Logic Design Flashcards
What is the basic unit of digital logic design?
Logic gate
Which logic gate outputs a high signal only if all inputs are high?
AND gate
Which logic gate outputs a high signal if any of its inputs are high?
OR gate
Which logic gate outputs a high signal if either of its inputs are high, but not both?
XOR gate
What does a NOT gate do?
Inverts the input signal
What is the Boolean expression for an AND gate with inputs A and B?
A AND B
What is the Boolean expression for an OR gate with inputs A and B?
A OR B
What is the Boolean expression for a NOT gate with input A?
NOT A
What is the output of an AND gate if A=0 and B=1?
0
What is the output of an OR gate if A=1 and B=1?
1
What is the output of an XOR gate if A=0 and B=1?
1
What is the output of a NOT gate if the input is 1?
0
What is a truth table used for in digital logic design?
To show the output of a logic gate for all possible combinations of inputs
What is a multiplexer used for in digital logic design?
To select one input from multiple sources and route it to the output
What is a flip-flop used for in digital logic design?
To store a single bit of data
What is the difference between combinational and sequential logic circuits?
Combinational circuits have no memory, while sequential circuits have memory
What is the purpose of a decoder in digital logic design?
To convert a binary code into a set of output signals
What is a full adder used for in digital logic design?
To add three binary numbers together
What is a half adder used for in digital logic design?
To add two binary numbers together without considering any carry from previous stages