boolean algebra

studied byStudied by 8 people
4.0(1)
Get a hint
Hint

what are the two possible outputs of a boolean equation?

1 / 21

22 Terms

1

what are the two possible outputs of a boolean equation?

True or False (or 1/0)

New cards
2

why do we use karnaugh maps?

to simplify boolean expressions

New cards
3

how do you find the simplified expression from a completed karnaugh map?

  1. take each box in any order

  2. take each variable in any order

  3. if the digit for the variable in the heading stays the same, keep the variable

  4. if the digit for the variable in the heading changes, discard the variable

New cards
4

what are the 8 rules for drawing boxes on a karnaugh map?

  1. boxes must be rectangles or squares

  2. no diagonal boxes

  3. boxes must only contain 1s

  4. boxes must be as large as possible

  5. boxes can only be made of 2n 1s ( e.g 1, 2, 4, 8 etc)

  6. boxes can overlap

  7. use the smallest amount of boxes possible

  8. boxes can ‘wrap around’ the edges of the map

New cards
5

why do we simplify boolean expressions?

  • decreases considerably the cost of the hardware

  • reduces the heat generated by the chip

  • most importantly, increases speed

New cards
6

de morgan’s laws

¬(A V B) ≡ ¬A Λ ¬B

¬(A Λ B) ≡ ¬A V ¬B

New cards
7

distribution

A V (B Λ C) ≡ (A V B) Λ (A V C)

A Λ (B V C) ≡ (A Λ B) V (A Λ C)

*note that this works for only AND and only OR as well

New cards
8

association

(A Λ B) Λ C ≡ A Λ (B Λ C) ≡ A Λ B Λ C

(A V B) V C ≡ A V (B V C) ≡ A V B V C

New cards
9

commutation

A V B ≡ B V A

A Λ B ≡ B Λ A

New cards
10

double negation

¬¬A ≡ A

New cards
11

absorption

A Λ (A V B) ≡ A

New cards
12

draw the truth table and symbol for the logic gate AND.

Λ

<p><strong>Λ</strong></p>
New cards
13

draw the AND gate and describe it’s function.

  • applied to two literals to produce one output

  • only outputs true (1) when both literals are true

  • can be thought of as applying multiplication to its inputs

<ul><li><p>applied to two literals to produce one output</p></li><li><p>only outputs true (1) when <strong><u>both literals are true</u></strong></p></li><li><p>can be thought of as applying <strong><u>multiplication</u></strong> to its inputs</p></li></ul>
New cards
14

draw the truth table and symbol for the logic gate OR.

V

<p><strong>V</strong></p>
New cards
15

draw the OR gate and describe it’s function.

  • applied to two literals to produce one output

  • outputs true (1) when one or more literals are true

  • can be thought of as applying addition to its inputs

<ul><li><p>applied to two literals to produce one output</p></li><li><p>outputs true (1) when <strong><u>one or more literals are true</u></strong></p></li><li><p>can be thought of as applying <strong><u>addition</u></strong> to its inputs</p></li></ul>
New cards
16

draw the truth table and symbol for the logic gate NOT.

¬

<p><strong>¬</strong></p>
New cards
17

draw the NOT gate and describe it’s function.

  • applied to one literal (input) to produce a single output

  • ‘flips‘ the value of the input

<ul><li><p>applied to <strong><u>one literal</u></strong> (input) to produce a single output</p></li><li><p><strong><u>‘flips‘</u></strong> the value of the input</p></li></ul>
New cards
18

draw the truth table and symbol for the logic gate XOR.

<p><strong>⊻</strong></p>
New cards
19

draw the XOR gate and describe it’s function.

  • applied to two literals (inputs) to produce a single output

  • similar to OR, differs when both inputs are true

  • only outputs true when exactly one input is true

<ul><li><p>applied to two literals (inputs) to produce a single output</p></li><li><p>similar to <strong><u>OR</u></strong>, differs when both inputs are true</p></li><li><p>only outputs true when <strong><u>exactly one</u></strong> input is true</p></li></ul>
New cards
20

describe a half-adder and draw the circuit.

  • a logic circuit that adds two bits together

  • outputs a digit (sum) and a carry bit (remainder)

  • does not provide input for a carry bit from a previous addition

<ul><li><p>a logic circuit that <strong><u>adds two bits</u></strong> together</p></li><li><p>outputs a digit (sum) and a carry bit (remainder)</p></li><li><p>does not provide input for a carry bit from a previous addition</p></li></ul>
New cards
21

describe a full-adder circuit and its function.

  • a logic circuit that adds two bits, and a carry bit (Cin) together

  • outputs a digit (sum) and a carry bit (remainder)

  • can be combined to add larger numbers together (e.g a byte) by feeding the carry bit of the previous addition into the next one

<ul><li><p>a logic circuit that adds <strong><u>two bits, and a carry bit</u></strong> (Cin) together</p></li><li><p>outputs a digit (sum) and a carry bit (remainder)</p></li><li><p>can be <strong><u>combined to add larger numbers</u></strong> together (e.g a byte) by<strong> <u>feeding the carry bit of the previous addition into the next</u> </strong>one</p></li></ul>
New cards
22

describe a D type flip-flop and it’s function.

  • a logic circuit that stores the state of a bit, and can ‘flip’ between 0 and 1

  • it has two inputs: a single bit data input (D) and a clock signal

  • the output of the circuit (Q) only changes when the clock pulse is at a rising edge

  • when this occurs the output is changed to the value of D at that moment

<ul><li><p>a logic circuit that <strong><u>stores the state of a bit</u></strong><u>,</u> and can ‘flip’ between 0 and 1</p></li><li><p>it has two inputs: <strong><u>a single bit data input</u></strong> (D) and a <strong><u>clock signal</u></strong></p></li><li><p>the output of the circuit (Q) only changes when the clock pulse is at a <strong><u>rising edge</u></strong></p></li><li><p>when this occurs the output is changed to the value of D <strong><u>at that moment</u></strong></p></li></ul>
New cards

Explore top notes

note Note
studied byStudied by 23 people
... ago
5.0(1)
note Note
studied byStudied by 73 people
... ago
5.0(2)
note Note
studied byStudied by 7454 people
... ago
4.6(5)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 20 people
... ago
5.0(1)
note Note
studied byStudied by 20 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 125764 people
... ago
4.8(564)

Explore top flashcards

flashcards Flashcard (28)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (56)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 23 people
... ago
5.0(2)
flashcards Flashcard (58)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (246)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (84)
studied byStudied by 34 people
... ago
5.0(2)
robot