5.5 Logic circuits Flashcards

1
Q

Digital computers and Central Processing Units (CPUs) must be able to carry out arithmetic processes and logical combinations

A

These are done in an Arithmetic Logic Unit (ALU), the heart of each CPU.

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

a system that performs calculations or makes decisions is a logic system

A

A computer is a logic system that contains memory.

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

Computers and logic systems can handle either

A

analogue or digital information

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

The ALU needs its inputs in digital form such as:

A

Logic 1 (also known as logic ’True’)
Logic 0 (also known as logic ‘False’)

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

on/off or true/false in logic is defined as

A

1 and 0

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

1/0 in a logic system are known as binary digits abbreviated as

A

bits

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

a combination of bits is called a

A

word

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

two binary states can be represented in a variety of ways including

A

most common high and low voltage levels

also two different frequencies and two-phase angles

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

Positive logic is more commonly used where H means 1 and L means 0

A

.

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

Logic gate operations can be expressed using

A

Boolean Algebra
X = A or B and C

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

Truth tables specifically describe the

A

function of a logic gate

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

Logic gates have only three basic functions

A
  • AND Function
  • OR Function
  • NOT (Inversion) Function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

By combining the three basic functions
AND
OR
NOT
which others can be made

A

NAND (not AND)
NOR (not OR)
EXCLUSIVE OR
EXCLUSIVE NOR

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

There are several different ways to define logic functions

A

Circuit schematic/equivalent circuit
Logic symbol
Truth table
Signal diagram

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

NOT (inverter) Gate

A

an inverter has only one input, and its output is always the opposite of the input

    - A =  A A - logic 0: produces 1 A - logic 1: produces 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

AND Gate

A

both relays need to be energised (logic 1 inputs) to give a logic 1 output.

17
Q

AND and OR gates are usually what

A

Transistors

18
Q

AND Gate

A

X = A . B

the . is read as AND

19
Q

NAND Gate

A

X = NOT A and B

NOT bubble at the output inverts the output of the AND gate making it a NAND.

20
Q

NAND Gate truth table

A

The output is a logic 1 when any input is 0.

The output is a logic 0 only when all inputs are 1.

21
Q

OR Gate

A

either relay needs to be energised (logic 1 inputs) to give a logic 1 output. These relays will be transistors.

22
Q

the + sign means what in logic circuits

A

OR

23
Q

NOR Gate

A

the output is inverted (NOT OR)

A NOR gate (Not OR) has two or more inputs and one output

24
Q

NOR Gate truth table

A

X = NOT A or B

The output is only a logic 1 if all inputs are at logic 0

25
Q

what’s the difference between a NAND and NOR gate

A

The NOR gate is a gate that produces a logic 1 output only when all of its inputs are logic 0.

The NAND gate is a gate that produces a logic 1 output only when one or more of its inputs are logic 0

26
Q

XOR (exclusive OR)

A

Some circuits are required to perform only when either input is 1, not both. They will only output a 1 when the inputs are not identical. These are called XOR gates

AKA EXOR

27
Q

⊕ this symbol is called the

A

XOR operator

28
Q

XNOR (exclusive NOR)

A

Has two inputs and one output

outputs are the inverse of the XOR gate

29
Q

XNOR truth table

A

The output is at logic 0 when input A is at logic 1 and input B is at logic 0, or vice versa.

The output is at logic 1 when both inputs A and B are at logic 1, or both inputs are at logic 0.

30
Q

Inverters

A

Inverters have one input and one output. The output will produce the complement (opposite) of the input

31
Q

when are inverters used

A

they are used when the complement of a particular signal is required within a logic circuit

32
Q

what does a small circle at the input indicate

A

indicates that a logic “zero” will now activate the element at that particular input

33
Q

INHIBIT Gate
Occasionally if required to “hold” one input to an “AND” gate at a particular logic level to disable the entire gate

A

The inhibit is logic 1 to disable the gate. The inhibit at logic 0 enables the gate

34
Q

what is a full adder derived from

A

two half adders and an OR gate

35
Q
A