3.4.2 Boolean Logic Flashcards

1
Q

A computer is basically a collection of (what)?

These components have 2 states ?

A

A computer is basically a collection of transistors and circuits. These components have two states:

on - a current is flowing through the component
off - a current is not flowing through the component

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

These two states can easily be represented by using binary:

A

These two states can easily be represented by using binary:

1 = on (TRUE)
0 = off (FALSE)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In its most basic form, a computer is ?

A logic gate is ?

A

In its most basic form, a computer is a collection of powered and unpowered circuits and transistors.

A logic gate is a series of transistors connected together to give one or more outputs, each output being based on the input or combination of inputs supplied to it.

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

NOT Logic gate

  • symbol
  • expression operator (statement)
A

Triangle pointing to circle
—|>0—

A¯ (The line would be above)

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

AND Logic gate

  • symbol
  • expression operator (statement)
A

D shape
=D—

A.B (A dot B)

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

OR Logic gate

  • symbol
  • expression operator (statement)
A

Crescenty shape - but slightly stretched horizontally
=) >-

A+B

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

XOR Logic gate

  • symbol
  • expression operator (statement)
A

OR gate, but with another end of crescent

=)) >-

A⊕B (A plus B with a circle around the plus)

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

NOT gate truth table

A

Input Output
1 0
0 1

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

AND gate truth table

A
Input A	Input B	Output
0	0	0
0	1	0
1	0	0
1	1	1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

OR gate truth table

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

XOR gate is also called

A

Exclusive OR gate

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

XOR gate truth table

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

Q = A.B (WITH A LINE OVER WHOLE THING)

How to draw

A

AND gate followed by a NOT gate

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

The convention for truth table?

A

The convention for truth tables is that the rightmost column of inputs goes 0101010101…., and then each column left doubles the intervals of 0s and 1s
Like this:

Input A	Input B
0	0
0	1
1	0
1	1

If there were a third input, the rows would go 0 0 0 0, then 1 1 1 1 if needed. A fourth would have up to eight 0s, then switch to eight 1s if needed, and so on

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

If three inputs - how many rows will truth table have ?

A

We know from the start that the truth table will have 8 rows because there are 8 possible combinations of 3 inputs. (2 x 2 x 2 = 8)

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