Boolean Logic Flashcards

1
Q

Why do computers use binary?

A

Computers are made up of lots of transistors (switches) which can either be OFF (0) or ON (1).

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

What are Logic Gates?

A

Special circuits built into computer chips that receive binary data, apply a Boolean operation, then output a binary result.

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

What is the function of an AND gate?

A

Outputs “true”(1) only when both inputs are “true”(1). Otherwise, it outputs “false”(0).

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

What is the function of an OR gate?

A

Outputs “true”(1) if one or more of its inputs are “true”(1). Otherwise, it outputs “false”(0)

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

Outputs “true”(1) if input is “false”(0). Outputs “false”(0) if input is “true”(1).

Output that is always the opposite value to the input.

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

How many inputs and outputs does an NOT gate have?

A

One input
One output

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

How many inputs and outputs does an AND gate have?

A

Two inputs
One output

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

What is the output of an AND gate when both inputs are 1?

A

1

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

What is the output of an AND gate when at least one input is 0?

A

0

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

How many inputs and outputs does an OR gate have?

A

Two inputs
One output

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

What is the output of an OR gate when at least one input is 1?

A

1

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

What is the output of an OR gate when both inputs are 0?

A

0

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

What is a truth table?

A

A table showing the outputs for all possible combinations of inputs to a logic gate or circuit.

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