Boolean logic Flashcards

(27 cards)

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Boolean logic?

A

A form of algebra that uses true/false values to perform logical operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False: The primary values in Boolean logic are 0 and 1.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the three basic operations in Boolean logic?

A

AND, OR, NOT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: In Boolean logic, the AND operation returns true if _____ operands are true.

A

both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the OR operation do in Boolean logic?

A

It returns true if at least one operand is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: The NOT operation inverts the truth value of its operand.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the result of the expression TRUE AND FALSE?

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the result of the expression TRUE OR FALSE?

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A NAND gate is a combination of which gates?

A

NOT - AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a truth table?

A

A table that shows all possible truth values for a set of Boolean variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False: A truth table can only represent two variables.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How many inputs does the NAND gate have?

A

The NAND gate only has one input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the result of the expression NOT (TRUE AND FALSE)?

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an NAND gate?

A

Reversers the output of an AND gate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a NOR gate?

A

Reversers the output of an OR gate

17
Q

True or False: The commutative law states that A AND B = B AND A.

18
Q

What is an XOR gate?

A

It works similar to an OR gate except it is false if both the inputs are true. In a circuit diagram it has the extra line at the back of the shape.

19
Q

Fill in the blank: In Boolean logic, the exclusive OR (XOR) operation returns true if _____.

A

exactly one operand is true

20
Q

What is a logical gate?

A

An electronic circuit that performs a Boolean function.

21
Q

True or False: NAND is the negation of the AND operation.

22
Q

What is the output of a NOR gate when both inputs are false?

23
Q

Fill in the blank: The _____ gate only produces an output when both inputs are true.

24
Q

What is the significance of Boolean logic in computer science?

A

It is used in programming, circuit design, and algorithms.

25
True or False: Boolean logic can be applied to more than just true/false values.
False
26
What does a half adder do in digital circuits?
It adds two single binary digits and provides the sum and carry output.
27
What is the primary use of a multiplexer in Boolean logic?
To select one of many input signals and forward the selected input into a single line.