Save
...
Computer Science Paper 2
Boolean logic
AND
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Dan Rotaru
Visit profile
Cards (42)
What is the output of an AND gate when all inputs are true?
TRUE
(1)
What happens to the output when either input A or B is 0 in an AND gate?
The output is
always
0
Where are the inputs located on the AND gate symbol?
On
the
left side
What does the symbol for the AND gate resemble?
A D
lying
on its side
What is the truth table for the AND gate?
A B Q: 0 0
0
, 0
1
0,
1
0
0,
1
1
1
What does an AND gate check in boolean logic?
It checks if all inputs are
true
(1)
What is the output of the AND gate symbol?
A
•
B
What is the purpose of an AND gate in boolean logic?
Returns
TRUE
(1) only if all inputs are TRUE (1)
Example: "If you study hard AND eat well, you will
pass
the exam."
What are the two inputs to an AND gate?
Input A
Input B
What is the output of A AND B when A =
1
and B =
1
?
1
What are the input signals to the AND gate?
A and B
What is the output of A AND B when A = 1 and B = 0?
0
What is the output of the AND gate for different input combinations?
A =
0
, B = 0: Output = 0
A = 0, B =
1
: Output = 0
A = 1, B = 0: Output = 0
A = 1, B = 1: Output = 1
What is the boolean expression for two inputs A and B using an AND gate?
A
AND
B
What is the output of an AND gate when both inputs are 1?
The output is
1.
How does the AND gate work?
The AND gate outputs a 1 only when both
input signals
A and B are 1
Otherwise, the output
Q
is 0
How would you determine the state of the lamp in the circuit diagram in part (b)?
The lamp will be on (lit) only when both
switches
A and B are closed (in the 1 state)
This is because the circuit diagram represents an
AND gate
, where the
output
C (the lamp) is 1 only when both
inputs
A and B are 1
What is the purpose of the circuit diagram shown in part (a)?
The circuit diagram represents a logic gate, specifically an
AND gate
The AND gate takes two inputs (A and
B
) and produces an
output
(
C
) that is 1 only when both
inputs
are 1
If the inputs to an AND gate are A = 1 and B = 0, what will the output be?
0
In what scenario would an AND gate output TRUE?
When all
conditions
are met
How does the circuit diagram in part (b) differ from the one in part (a)?
The circuit diagram in part (b) shows a more complex circuit with multiple components (
switches
and a lamp)
This circuit represents a real-world application of the
logic gate
shown in part (a)
How does an AND gate function in a boolean expression?
It outputs
true
only if all inputs are true
What must be true for the expression A AND B to be true?
Both
A and B must be true
What is the output of A AND B when A = 0 and B =
0
?
0
What logical operation does the AND gate represent?
The logical
AND
operation
What is the output of A AND B when A = 0 and B = 1?
0
What is required for an AND gate to produce a true output?
All
inputs
must
be
true
What is the relationship between A, B, and C in the circuit diagram?
A.B=C
How are switches connected in an AND gate circuit?
Switches are connected in
series
When is the output Q of an AND gate 1?
When both
inputs A and B
are 1
What is the output of the AND gate when both switches are closed?
The
lamp
lights up
What is the purpose of an AND gate?
It outputs a 1 only when both
inputs
are 1
What is the name of the logic gate shown in the image?
AND gate
If input A is 1 and input B is 0, what will the output C be?
0
What must happen for electricity to flow in an AND gate circuit?
Both
switches
must be closed
How many inputs does the AND gate symbol have?
Two
inputs
What is the symbol for the AND gate shown in part (a)?
A-B=C
What is the function of an AND gate in a circuit?
Requires all
inputs
to be
true
(
closed switches
)
Outputs true (lamp lights) only when all inputs are true
What are the use cases of the AND gate?
Used to implement
logical conjunction
in digital circuits
Commonly used in:
Security systems (e.g. requiring two keys to unlock)
Robotics (e.g. requiring multiple sensor inputs to trigger an action)
Computer processors (e.g. for
conditional branching
)
How does the AND gate truth table relate to the circuit diagram?
It shows both
switches
must be closed for
output
See all 42 cards