boolean Flashcards

(42 cards)

1
Q

What is a logic gate?

A

A logic gate is an electronic component that performs a basic logical function on one or more binary inputs to produce a single binary output.

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

What are the basic types of logic gates?

A

The basic types of logic gates are AND, OR, NOT, NAND, NOR, XOR, and XNOR.

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

True or False: An AND gate outputs true only when all its inputs are true.

A

True.

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

Fill in the blank: The output of an OR gate is true if at least _____ of its inputs are true.

A

one

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

What is the function of a NOT gate?

A

A NOT gate inverts the input signal; if the input is true, the output is false, and vice versa.

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

What does a NAND gate do?

A

A NAND gate outputs false only when all its inputs are true; otherwise, it outputs true.

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

Multiple Choice: Which gate outputs true only when both inputs are false? A) AND B) OR C) NOR

A

C) NOR

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

What is the primary use of XOR gates?

A

XOR gates are used to compare two binary inputs; they output true when the inputs are different.

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

True or False: A XNOR gate is the opposite of an XOR gate.

A

True.

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

Fill in the blank: The output of a NAND gate is _____ when both inputs are true.

A

false

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

What is the truth table?

A

A truth table is a mathematical table used to determine the output of a logic gate based on all possible combinations of its inputs.

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

How many inputs can a logic gate have?

A

Logic gates can have one or more inputs, but the most common are one, two, or three inputs.

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

Multiple Choice: Which of the following gates is used for negation? A) AND B) NOT C) OR

A

B) NOT

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

What is the output of an AND gate with inputs A = true and B = false?

A

false.

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

Fill in the blank: The output of an OR gate is _____ when both inputs are false.

A

false

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

True or False: The output of a NOT gate is the same as its input.

A

False.

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

What does the output of a NOR gate represent?

A

The output of a NOR gate is true only when all inputs are false.

18
Q

Multiple Choice: Which gate is represented by the symbol ‘•’? A) OR B) AND C) NOT

19
Q

What is the significance of Boolean logic in computers?

A

Boolean logic is fundamental for designing digital circuits and performing logical operations in computers.

20
Q

Fill in the blank: The combination of AND, OR, and NOT gates can be used to create _____ circuits.

21
Q

True or False: A logic circuit can be constructed using only NAND gates.

22
Q

What is the output of an XOR gate with inputs A = true and B = true?

23
Q

Fill in the blank: A truth table for a two-input AND gate has _____ rows.

24
Q

Multiple Choice: Which gate would you use to detect when two inputs are equal? A) AND B) XOR C) XNOR

25
What are combinational circuits?
Combinational circuits are logic circuits whose outputs depend solely on the current inputs, without any memory.
26
True or False: Sequential circuits have memory elements.
True.
27
What is a logic level?
A logic level represents the state of a binary signal, typically high (1) or low (0).
28
Fill in the blank: The symbol for an OR gate resembles a _____ shape.
curved
29
What is the output of a NOR gate with inputs A = false and B = false?
true.
30
Multiple Choice: Which gate would output true for the following inputs: A = true, B = false? A) AND B) OR C) NOT
B) OR
31
What is the primary function of a logic gate in electronics?
To perform logical operations on binary inputs.
32
True or False: A circuit can be made with only NOT gates.
False.
33
Fill in the blank: The output of an AND gate is _____ if at least one input is false.
false
34
What does a logic circuit do?
A logic circuit processes binary signals to perform operations like addition, subtraction, or decision-making.
35
Multiple Choice: Which of the following represents a logic gate's behavior? A) Algorithm B) Truth Table C) Program
B) Truth Table
36
What is the output of a NAND gate with inputs A = false and B = false?
true.
37
True or False: Logic gates can be implemented using mechanical switches.
True.
38
Fill in the blank: Logic gates can be built using _____ components.
electronic
39
What is the purpose of using truth tables in logic?
Truth tables help visualize and analyze the output of logic gates based on different input combinations.
40
Multiple Choice: Which logic gate is known for its ability to perform addition in binary? A) AND B) OR C) XOR
C) XOR
41
What is the output of an OR gate if both inputs are true?
true.
42
Fill in the blank: A circuit using only NAND gates is called a _____ gate circuit.
universal