Digital Logic Flashcards

1
Q

What is the difference between analog and digital?

A

Analog is a continuous wave form that changes smoothly. Ex) temperature, speed, time
Digital is a discrete input of 0’s or 1’s

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

Which logic gate does this describe:
“If all inputs are high, all output will be high”

A

AND gate
1 AND 1

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

Which logic gate does this describe?
Any low gives a low.

A

AND gate.
0 - 0, 0 - 1, 1 - 0

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

Which logic gate does this describe?
If any input is high, the output will be high.

A

OR gate.
0 OR 1, 1 OR 0, 1 OR 1

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

Which logic gate does this describe?
If any input is high, the output will be high.

A

OR gate.
0 OR 1, 1 OR 0, 1 OR 1

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

Which gate is the inverter?

A

NOT gate

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

Which logic gate does this describe?
If all inputs are high, then the output will be low

A

NAND gate

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

Which logic gate does this describe?
Any low gives a high

A

NAND gate

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

Which logic gate does this describe?
Any high gives a low.

A

NOR

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

Which logic gate does this describe?
If any inputs are high, then the output will be low.

A

NOR gate

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

Why can you not use IC chips in any configuration?

A

They have a dedicated power and ground pin.
Power pin usually 14
Ground pin usually 7

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

Define PLC

A

A programmable logic controller is essentially a mechanical relay replacer which uses electronic digital logic to create programs that perform logic operation like mechanical relays

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

What is the difference between PLC control circuit and a relay control circuit?

A

PLC control circuit: separate wiring from circuit logic
Relay control circuit: use wiring to create the circuit logic

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

How do you convert decimal to binary?

A

Divide decimal number by base 2, if it divides into an even number it’s a zero, if it’s a decimal then it’s a 1

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

What is the maximum decimal equivalent count that can be obtained with eight bits?

A

255

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

Which gates can be used to make any other gate?

A

NAND, and NOR

17
Q

What is the formula to find decimal from binary?

A

2^n - 1