CM12002 Boolean Logic

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:36 PM on 5/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

54 Terms

1
New cards

What are combinational logic circuits? [2]

Inputs are static (don’t change over time)

And deterministic (single output for each combination of inputs)

2
New cards

What are sequential logic circuits? [3]

Incorporate feedback from their outputs

Dynamic (changing over time)

Can be non-deterministic (several possible outputs for a given input)

3
New cards

What are the properties of AND? [5]

Associativity - (A.B).C = A.(B.C)

Commutativity - A.B = B.A

Identity - A.1 = A

Absorption - A.A = A

Annihilator - A.0 = 0

4
New cards

What are the properties of OR? [5]

Associativity - (A+B)+C = A+(B+C)

Commutativity - A+B = B+A

Identity - A+0 = A

Absorption - A+A = A

Annihilator - A+1 = 1

5
New cards

What is distributivity? [1]

A.(B+C) = A.B + A.C

6
New cards

What are the properties of NOT? [1]

Involutivity - A’’ = A

7
New cards

What are de Morgan’s Laws? [2]

(A.B)’ = A’+B’

(A+B)’ = A’.B’

8
New cards

What are the 2 basic techniques to determine if two formulas are equivalent? [2]

Equational reasoning

Semantic reasoning

9
New cards

What is equational reasoning? [1]

Using a series of known laws or axioms to go from one formula to the other by algebraic manipulation

10
New cards

What is semantic reasoning? [1]

Verifying that two formulas have the same output for each possible input combination (tabulated in a truth table)

11
New cards

What is the standard sum of products? [3]

Every Boolean expression is equivalent to a standard sum of products

A series of terms joined by OR operations

Each term contains a combination of ALL variables joined by AND operations

12
New cards

What are the 2 stages of simplification? [2]

Convert to standard sum of products

Find simplest form of formula (one with fewest logic gates)

13
New cards

What are Karnaugh maps? [2]

Method to simplify Boolean algebra expressions

Works well for up to 4 variables

Uses Gray codes (adjacent cells differ by only one variable)

14
New cards

What does the Karnaugh map for 2 variables look like? [1]

knowt flashcard image
15
New cards

What does the Karnaugh map for 4 variables look like? [1]

knowt flashcard image
16
New cards

How are Karnaugh maps used for simplification? [2]

Adjacent squares grouped in even numbers

<p>Adjacent squares grouped in even numbers</p>
17
New cards

How do you simplify Boolean expressions? [4]

Standard sum of products

Plot on to Karnaugh maps

Find smallest number of biggest valid groupings

Read off the resulting function

18
New cards

What is Binary Coded Decimal (BCD)? [1]

Uses 4 bits to represent one decimal digit

<p>Uses 4 bits to represent one decimal digit</p>
19
New cards

What are ‘don’t cares’? [2]

Inputs which cannot arise

Or we don’t need the outputs corresponding to them

e.g. 1010, 1111

<p>Inputs which cannot arise </p><p>Or we don’t need the outputs corresponding to them</p><p>e.g. 1010, 1111</p>
20
New cards

What are ‘don’t cares’ represented by? [1]

x

21
New cards

What would the truth table for BCD on a seven segment display look like? [2]

knowt flashcard image
22
New cards

What would the Karnaugh map for the segment ‘a’ look like? [2]

knowt flashcard image
23
New cards

How do we use ‘don’t cares’ in simplification? [1]

Can be included in areas

<p>Can be included in areas</p>
24
New cards
<p>What is the truth table for a 1-bit half-adder? [2]</p>

What is the truth table for a 1-bit half-adder? [2]

knowt flashcard image
25
New cards

What is the circuit for a 1-bit half-adder? [2]

knowt flashcard image
26
New cards
<p>What is the truth table for a full-adder? [2]</p>

What is the truth table for a full-adder? [2]

knowt flashcard image
27
New cards

How are full-adders combined? [2]

Cout becomes Cin of the next adder

Joined in series

<p>C<sub>out</sub> becomes C<sub>in</sub> of the next adder</p><p>Joined in series</p>
28
New cards

What is a guard bit? [2]

Hidden bit added to most significant end of integer

Detects overflow

<p>Hidden bit added to most significant end of integer</p><p>Detects overflow</p>
29
New cards

What is the value of the guard bit set to initially? [2]

The value of the most significant bit

<p>The value of the most significant bit</p>
30
New cards

What is arithmetic overflow? [1]

When the guard bit is different from the most significant bit in the result

<p>When the guard bit is different from the most significant bit in the result</p>
31
New cards

How is a subtractor created? [3]

1’s complement using inverters

The 1 to be added becomes the first carry

32
New cards

How do you multiply in binary? [1]

Use long multiplication then add

Multiplying shifts bits to the left

<p>Use long multiplication then add</p><p>Multiplying shifts bits to the left</p>
33
New cards

What is a logical shift? [2]

Bits moved out are lost

0s fill vacated positions

<p>Bits moved out are lost</p><p>0s fill vacated positions</p>
34
New cards

What does an n-place logical left shift represent? [2]

Multiplication by 2n on unsigned binary

Subject to overflow

35
New cards

What does an n-place logical right shift represent? [2]

Division by 2n on unsigned binary

With rounding (down)

36
New cards

What is an arithmetic right shift? [2]

Shift bits to the right

Copies of sign bit are copied into vacated positions

<p>Shift bits to the right</p><p>Copies of sign bit are copied into vacated positions</p>
37
New cards

What does an n-place arithmetic right shift represent? [1]

Division by 2n on signed 2’s complement value

38
New cards

What is a circular shift? [1]

Bits moved out one end and moved in the other end

<p>Bits moved out one end and moved in the other end</p>
39
New cards

What is a SR latch? [2]

Set-reset latch

<p>Set-reset latch</p>
40
New cards

What is the simplified characteristic table for an SR latch? [1]

knowt flashcard image
41
New cards

Why are SR latches asynchronous? [2]

There is delay before logic gate responds to input

Two separate gates cannot switch simultaneously

42
New cards

What is an inverted SR latch? [2]

Sets when S=0, resets when R=0

Can’t have S=R=0

<p>Sets when S=0, resets when R=0</p><p>Can’t have S=R=0</p>
43
New cards

What is a solution to asynchronous transition? [2]

Use a clock input to enable / disable transitions

e.g. gated latch or flip-flop

44
New cards

What is a solution to non-deterministic transitions (e.g. S=R=1 on SR latch)? [1]

Avoid states by adding gates to control inputs

45
New cards

What is a SR flip-flop? [2]

Simple latch which responds only when clock signal is present

<p>Simple latch which responds only when clock signal is present</p>
46
New cards

What is the truth table for a SR flip-flop? [1]

knowt flashcard image
47
New cards

What is a D-type flip-flop? [2]

Ensures inputs are always different by using one input and an inverter

<p>Ensures inputs are always different by using one input and an inverter</p>
48
New cards

What does a D-type flip-flop act like? [1]

Storage of a bit

49
New cards

What is the truth table for a D-type flip-flop? [1]

knowt flashcard image
50
New cards

What is a J-K flip-flop? [1]

Makes use of the combination S=R=1

Used as a toggle (changes output state of flip-flop)

<p>Makes use of the combination S=R=1</p><p>Used as a toggle (changes output state of flip-flop)</p>
51
New cards

What is the truth table for a J-K flip-flop? [1]

knowt flashcard image
52
New cards

What is a parallel register? [3]

Lots of D-type flip-flops

Can be read or written from simultaneously using clock

Load is control signal

<p>Lots of D-type flip-flops</p><p>Can be read or written from simultaneously using clock</p><p>Load is control signal</p>
53
New cards

What is a shift register? [3]

Shifts bits

Transfers information serially

Output of one D-type flip-flop is input of another

<p>Shifts bits</p><p>Transfers information serially</p><p>Output of one D-type flip-flop is input of another</p>
54
New cards

What is a ripple counter? [3]

Asynchronous

JK kept at constant high

<p>Asynchronous</p><p>JK kept at constant high</p>