4.6.4 Logic Gates

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What is a logic gate?

A device which applies logical operations to one or more Boolean inputs in order to produce a single output

2
New cards

What are the key logic gates?

- AND
- OR

- NOT

- XOR
- NAND
- NOR

3
New cards

What is a truth table?

A table showing every possible combination of inputs and the corresponding output

4
New cards

NOT Gate

Output will always be opposite to the input

→ Denoted with an overline

<p>Output will always be opposite to the input</p><p>→ Denoted with an overline</p>
5
New cards

AND Gate

Only outputs true when both inputs are true

→ Denoted with a dot between the inputs

<p>Only outputs true when both inputs are true</p><p>→ Denoted with a dot between the inputs</p>
6
New cards

OR Gate

True if one or more inputs are true

→ Denoted with a (+) between inputs

<p>True if one or more inputs are true</p><p>→ Denoted with a (+) between inputs</p>
7
New cards

XOR Gate

Exclusive OR

→ Only true if strictly one input is true

→ Denoted with a circled (+) between inputs

<p>Exclusive OR</p><p>→ Only true if strictly one input is true</p><p>→ Denoted with a circled (+) between inputs</p>
8
New cards

NAND Gate

Not AND

→ Only true if both outputs are false

<p>Not AND</p><p>→ Only true if both outputs are false</p>
9
New cards

What are NAND gates also known as?

The universal gate

10
New cards

Why is the NAND gate considered universal?

Different combinations of NAND gates can act like NOT, OR and AND gates

11
New cards

What are the advantages of using NAND gates?

- Minimises the cost of production

- Using fewer gates can speed up processing

12
New cards

NOR Gate

Not OR

→ False if one or more inputs are false

<p>Not OR</p><p>→ False if one or more inputs are false</p>
13
New cards

What is an adder?

A logic circuit to add Boolean values together

14
New cards

What are the types of adders?

- Half

- Full

15
New cards

What is a half adder?

A logic circuit with two inputs, outputs and logic gates

→ Used to add two Boolean values

<p>A logic circuit with two inputs, outputs and logic gates</p><p>→ Used to add two Boolean values</p>
16
New cards

What is the truth table for a half adder?

S - Sum

C - Carry

<p>S - Sum</p><p>C - Carry</p>
17
New cards

What is a full adder?

A logic circuit with three inputs and two outputs

→ Allows two boolean values and a carry bit from a previous operation

<p>A logic circuit with three inputs and two outputs</p><p>→ Allows two boolean values and a carry bit from a previous operation</p>
18
New cards

What is an edge-triggered D-type flip-flop?

A logic circuit which can be used as a memory unit for storing the value of a single bit

19
New cards

What are the inputs and outputs of a ETDTFF?

Inputs:

- Data

- Clock signal

Output:

- Value of the stored bit

20
New cards

How does the clock signal impact the ETDTFF?

- Clock signal alternates between 0 and 1 at a set frequency

- The value of the stored bit is set to the value of the data input with each change

- Can be used to synchronise numerous