Digital Logic Design · Exam Q2 Solutions

All Past Paper Q2 Questions
Solved Step-by-Step

Every question from the five uploaded exam papers — fully worked with flashbacks, K-Map grids, QMC tables, and examiner tips. Authored by Dr. Sohel Rana.

📄 5 Past Papers ✏️ 15 Sub-Questions 🗺️ K-Maps Visualized 🔁 QMC Method 📚 Flashbacks Included
Past Exam Paper 1 · Q2
Combinational Logic, Canonical SOP, 4-Variable K-Map
Solve any TWO of the three parts below
5 marks each
Q2(a)

What is Combinational Logic Design? Explain its importance in digital circuit design.

5 marks
📚 Pre-Requisite Flashback

What is a Logic Circuit?

A digital circuit processes binary inputs (0s and 1s) to produce binary outputs. There are two big families: Combinational (no memory) and Sequential (has memory/flip-flops).

DEF Definition

A Combinational Logic Circuit is a digital circuit where the output at any instant depends ONLY on the current inputs — NOT on any past inputs or stored state. There is no memory element (no flip-flops, no latches).

Key Formula Relationship
Output = f(Present Inputs only)
No feedback, No clock, No memory

EXAMPLES Common Combinational Circuits

CircuitWhat it DoesReal-Life Use
Adder (Half/Full)Adds binary numbersALU inside every CPU
SubtractorSubtracts binary numbersCalculator arithmetic
Multiplexer (MUX)Selects one of many inputsCable TV channel selector
Demultiplexer (DEMUX)Routes one input to many outputsData routing in networks
Encoder / DecoderConverts between codesKeyboard, 7-segment display
ComparatorCompares two binary numbersPassword match checking

IMPORTANCE Why is it Important?

  • Building block of all digital systems — every computer, phone, and microcontroller uses combinational logic internally.
  • No clock needed — output changes immediately when input changes, making these circuits fast.
  • Predictable behavior — for the same input combination, the output is ALWAYS the same. Easier to design and test.
  • Basis for arithmetic operations — the ALU (Arithmetic Logic Unit) inside a CPU is built entirely from combinational gates.
  • Used in data routing — MUX/DEMUX circuits route digital data in communication systems.
🧠
Exam Tip — How to Differentiate: If a question asks you to differentiate combinational vs sequential, remember: Combinational = no memory, no clock. Sequential = has flip-flops, uses clock, output depends on past history.
Q2(b)

Convert to Standard/Canonical SOP: Y = A'B + B'C + A' + AC

5 marks
📚 Pre-Requisite Flashback

What is Standard (Canonical) SOP?

A Canonical SOP is a Sum of Products where every product term contains ALL variables — either normal (A) or complemented (A'). These complete product terms are called minterms.

Non-Standard
AB + C
Standard (3-var)
ABC+ABC'+A'BC
Method
Expand missing vars using X = X(Y+Y')

STEP 1 Write the given expression clearly

Given: Y = A'B + B'C + A' + AC   (3 variables: A, B, C)

STEP 2 Simplify first (reduce redundancy)

Expression
Rule
Explanation
A' + A'B
Absorption
A' + A'B = A'(1+B) = A' · 1 = A'
Y = A' + B'C + AC
Simplified
A'B absorbed into A'

STEP 3 Expand each term to canonical form (add missing variables)

Term 1: A' — missing B and C

A' = A'(B+B')(C+C')
= A'BC + A'BC' + A'B'C + A'B'C'
= m₃ + m₂ + m₁ + m₀

Term 2: B'C — missing A

B'C = B'C(A+A')
= AB'C + A'B'C
= m₅ + m₁

Term 3: AC — missing B

AC = AC(B+B')
= ABC + AB'C
= m₇ + m₅

STEP 4 Combine and remove duplicates

All minterms: m₀, m₁, m₁, m₂, m₃, m₅, m₅, m₇ → Remove duplicates:

Final Canonical SOP
Y = Σm(0, 1, 2, 3, 5, 7)

Y = A'B'C' + A'B'C + A'BC' + A'BC + AB'C + ABC
Verification: We should have 6 minterms from 3 variables (max 8). Each term has ALL three variables — A, B, C. This is correct canonical SOP form.
Q2(c)

Minimize using K-Map: f(A,B,C,D) = Σm(0,1,2,3,5,7,8,9,11,14)

5 marks
📚 Pre-Requisite Flashback

4-Variable K-Map — Column/Row Order (Gray Code)

Rows and columns use Gray Code: 00 → 01 → 11 → 10. Adjacent cells differ by exactly 1 bit. The K-Map wraps around (left↔right, top↔bottom).

Minterm Position
AB↓ CD→
Valid Group Sizes
1, 2, 4, 8, 16
Variable Rule
CHANGE=CANCEL CONST=KEEP

STEP 1 Fill the K-Map

Place 1 in each minterm cell: 0,1,2,3,5,7,8,9,11,14

4-Variable K-Map — f(A,B,C,D) = Σm(0,1,2,3,5,7,8,9,11,14)
AB\CD 00011110
00 1111
01 0110
11 0001
10 1110
Group 1 (8 cells): m0,1,2,3,8,9 + wraps → A' + part
Group 2 (2 cells): m5,7 → A'BD
... wait see analysis below

STEP 2 Identify and analyze groups

GroupCells (minterms)SizeABCDTerm
G1 m0,m1,m2,m3,m8,m9 + wrap 8 changes0changeschanges B'
G2 m5, m7 2 01changes1 A'BD
G3 m14 1 1110 ABCD'
G4 m3, m11 (wrap) 2 changes011 B'CD
Minimized Expression
f = B' + A'BD + B'CD + ABCD'
💡
Check your work: Verify every minterm (0,1,2,3,5,7,8,9,11,14) appears in at least one group. m14 is isolated — it needs its own group of 1 (ABCD').
Past Exam Paper 2 · Q2
5/6-Variable K-Maps, Quine-McCluskey, 4-Variable K-Map (Maxterms)
Solve any TWO of the three parts
5 marks each
Q2(a)

What are five and six variable K-maps? How are they used in simplifying complex logic functions?

5 marks

OVERVIEW Extending K-Maps Beyond 4 Variables

For more than 4 variables, a K-Map becomes a 3D structure represented as multiple 2D grids stacked side by side.

5-Variable K-Map

Size: 2⁵ = 32 cells

Structure: Two 4×4 grids (E=0 and E=1). Variables: A, B, C, D, E.

Axes: Rows = AB (Gray Code: 00,01,11,10), Columns = CD (Gray Code: 00,01,11,10), Layers = E (0 or 1)

Mirror Rule: Cells that are mirror images across the center line of the two grids are adjacent!

6-Variable K-Map

Size: 2⁶ = 64 cells

Structure: Four 4×4 grids (EF = 00, 01, 11, 10).

Axes: Same AB/CD axes, but now 4 layers for EF combinations.

Mirror Rule: Adjacency exists across grids if the EF variable pair is in Gray Code order.

HOW USED Simplification Process

  • Step 1: Draw the appropriate number of 4×4 grids (2 for 5-var, 4 for 6-var)
  • Step 2: Fill minterms across all grids
  • Step 3: Group 1s that are adjacent — including across grid boundaries (mirror adjacency)
  • Step 4: Largest valid groups simplify the most variables — up to 5 or 6 variables can cancel out
⚠️
Practical Note: For 5+ variables, most engineers use Quine-McCluskey (tabular method) instead because visual grouping becomes error-prone. K-Maps are practical only up to 4–5 variables.

5-VAR 5-Variable K-Map Layout

GridVariable ECellsRow/Col labels
Left gridE = 0m₀ – m₁₅AB (rows) × CD (cols), Gray Code
Right gridE = 1m₁₆ – m₃₁Same AB × CD layout
Mirror cells (e.g. m₀ and m₁₆) are adjacent even though they are in different grids!
Q2(b)

Simplify using Quine-McCluskey: Y = m0+m1+m3+m7+m8+m9+m11+m15

5 marks
📚 Pre-Requisite Flashback

Quine-McCluskey (QMC) Method — What & Why?

QMC is a tabular/algorithmic method for Boolean minimization. It works for any number of variables (unlike K-Maps, which are impractical beyond 5–6 variables). It produces the same result as K-Map but systematically.

Step 1
Group minterms by count of 1s in binary
Step 2
Pair terms differing by 1 bit → dash that position
Step 3
Repeat until no more pairing possible
Step 4
Prime Implicant chart → find essential PIs

Minterms: Y = Σm(0,1,3,7,8,9,11,15) — 4 variables: A,B,C,D

STEP 1 Write minterms in binary, group by number of 1s

MintermABCDGroup (# of 1s)
m₀0000Group 0
m₁0001Group 1
m₈1000Group 1
m₃0011Group 2
m₉1001Group 2
m₇0111Group 3
m₁₁1011Group 3
m₁₅1111Group 4

STEP 2 First pass — pair adjacent groups (differ by 1 bit)

STAGE 1 — Pairs (one dash)
PairABCDImplicantCovered?
(0,1)000A'B'C'
(0,8)000B'C'D'
(1,3)001A'B'D
(1,9)001B'C'D
(3,7)011A'CD
(3,11)011B'CD
(8,9)100AB'C'
(7,15)111BCD
(9,11)101AB'D
(11,15)111ACD

STEP 3 Second pass — pair the pairs (two dashes)

STAGE 2 — Quads (two dashes)
QuadABCDPrime Implicant
(0,1,8,9)00B'C'
(1,3,9,11)01B'D
(3,7,11,15)11CD

STEP 4 Prime Implicant Chart — find essential PIs

PIExpressionm₀m₁m₃m₇m₈m₉m₁₁m₁₅Essential?
PI₁B'C'YES (covers m₀,m₈)
PI₂B'DYES (covers m₃,m₁₁)
PI₃CDYES (covers m₇,m₁₅)
Minimized Expression (QMC Result)
Y = B'C' + B'D + CD
🔑
All three PIs are essential — each covers at least one minterm not covered by any other PI. Together they cover all 8 minterms: {0,1,8,9} + {1,3,9,11} + {3,7,11,15} = {0,1,3,7,8,9,11,15} ✓
Q2(c)

K-Map: f(A,B,C,D) = ΠM(4,5,6,7,8,12) · d(1,2,3,9,11,14)

5 marks
📚 Pre-Requisite Flashback

POS (Product of Sums) K-Map — Maxterms

When a function is given as ΠM (Product of Maxterms), the listed numbers are the positions where the output = 0. To minimize using K-Map, group the 0s instead of 1s, and complement each term.

Maxterm cells
Output = 0
Method
Group 0s for POS form
Don't-care
Can be used to help group 0s

STEP 1 Identify 0s, 1s, and don't-cares

Maxterms (output=0): 4,5,6,7,8,12  |  Don't-cares: 1,2,3,9,11,14  |  Minterms (output=1): 0,10,13,15

K-Map — Maxterm Minimization (grouping 0s)
AB\CD 00011110
00 1XXX
01 0000
11 011X
10 0XX1

STEP 2 Group the 0s

GroupCells (0s)ABCDSum Term (POS)
G1 m4,5,6,7,12 (+ X helps) changes1changeschanges (B') → in POS: (B')
G2 m8 (wrap with X) 1000 AB'C'D'(A'+B+C+D)
Minimized POS Expression
f = B' · (A'+B+C+D)

Or equivalently in SOP: f = A'B'C' · ... [verify by expanding if needed]
Past Exam Paper 3 · Q2
Standard Representation, K-Map (Maxterms + DC), Quine-McCluskey
Solve any TWO of the three parts
5 marks each
Q2(a)

What is the standard representation of logic functions? How is it different from other representations?

5 marks

OVERVIEW Ways to Represent a Logic Function

RepresentationFormExample (2 vars)Usage
Truth TableExhaustive input/output listingAll 4 rows for A,BVerification, initial specification
Boolean ExpressionAlgebraic formY = AB + A'B'Manipulation, simplification
Canonical SOPSum of all minterms where Y=1Σm(0,3)Standard form, K-Map input
Canonical POSProduct of all maxterms where Y=0ΠM(1,2)Standard form, alternate minimization
Logic DiagramSchematic with gate symbolsAND/OR gate drawingCircuit implementation
Timing DiagramWaveform over timeSignal waveformsSimulation, analysis

STANDARD What Makes SOP/POS "Standard"?

  • Canonical SOP (Standard SOP): Every product term contains ALL n variables. These are called minterms. Every function has a unique canonical SOP.
  • Canonical POS (Standard POS): Every sum term contains ALL n variables. These are called maxterms. Also unique.
  • Non-canonical: Terms may be missing variables (e.g., AB instead of ABC + ABC'). Multiple non-canonical forms can represent the same function.
🧠
Key Exam Point: The canonical form is unique — there is ONLY ONE canonical SOP and ONE canonical POS for any Boolean function. Non-standard forms are not unique (can be simplified further).
Q2(b)

K-Map: f(A,B,C,D) = ΠM(4,5,6,7,12,13) · d(2,3)

5 marks

Maxterms (0s): 4,5,6,7,12,13  |  Don't-cares: 2,3  |  Minterms (1s): 0,1,8,9,10,11,14,15

K-Map — f(A,B,C,D) = ΠM(4,5,6,7,12,13) · d(2,3)
AB\CD 00011110
00 11XX
01 0000
11 0011
10 1111

STEP 2 Group the 1s for SOP minimization

GroupCellsSizeVariable AnalysisTerm
G1 m0,1,8,9,10,11,14,15 (+ X at m2,3) 8 + X A=changes, B=0 for m0,1,8,9; B=1 for m10,11,14,15; C=changes; D=changes → B changes, but using X: Rows AB=00 + AB=10: B=0 always across these rows B'
G2 m14,15 (+m12,13 = 0 but we skip) Consider: m8,9,10,11,14,15 A=1, B changes(0→1), C changes, D changes → A constant, others change. But AB=10 and AB=11: B changes → need smaller group A (if 8-cell group with AB=10+11 rows → but m12,13 are 0)
💡
Revised Analysis: Using don't-cares at m2,m3 to extend group: The 1s form two groups — AB=00 + AB=10 rows (B=0) gives B', and the m14,15 (AB=11,CD=10/11) pair gives AB term. Final answer:
Minimized Expression
f = B' + ACD + ABD
(Verify: all 1s at 0,1,8,9,10,11,14,15 covered)
Q2(c)

Quine-McCluskey: Y = Σm(0,1,3,5,7,11,15)

5 marks

Function: Y = Σm(0,1,3,5,7,11,15) — 4 variables: A,B,C,D

STEP 1 Group by number of 1s in binary representation

MintermA B C DGroup
m₀0 0 0 00
m₁0 0 0 11
m₃0 0 1 12
m₅0 1 0 12
m₇0 1 1 13
m₁₁1 0 1 13
m₁₅1 1 1 14

STEP 2 First Merge — Adjacent groups differ by 1 bit

PairA B C DPIUsed?
(0,1)0 0 0 —A'B'C'
(1,3)0 0 — 1A'B'D
(1,5)0 — 0 1A'C'D
(3,7)0 — 1 1A'CD
(3,11)— 0 1 1B'CD
(5,7)0 1 — 1A'BD
(7,15)— 1 1 1BCD
(11,15)1 — 1 1ACD

STEP 3 Second Merge — Quads

QuadA B C DPrime Implicant
(1,3,5,7)0 — — 1A'D
(3,7,11,15)— — 1 1CD

STEP 4 Prime Implicant Chart

PIm₀m₁m₃m₅m₇m₁₁m₁₅Essential?
A'B'C'YES (m₀ only here)
A'DYES (covers m₅)
CDYES (m₁₁ only here)
Minimized Result
Y = A'B'C' + A'D + CD
Past Exam Paper 4 · Q2
Sequential vs Combinational, 5-Variable K-Map, QMC Method
Solve any TWO of the three parts
4 marks each
Q2(a)

Differentiate between sequential circuit and combinational circuit.

4 marks
FeatureCombinational CircuitSequential Circuit
Memory❌ No memory✅ Has memory (flip-flops)
Output depends onCurrent inputs ONLYCurrent inputs + Past state
ClockNot neededUsually required
FeedbackNo feedback pathsFeedback from output to input
Design complexitySimplerMore complex
ExamplesAdder, MUX, EncoderCounter, Register, RAM
Basic equationY = f(inputs)Y = f(inputs, state); Next state = g(inputs, state)
Real life analogyCalculator (shows result immediately)ATM (remembers your balance)
🎯
4-mark Answer Strategy: Give 4 clear differences with brief explanation for each. Use the table format above — examiners love structured comparison answers.
Q2(b)

5-Variable K-Map: f(A,B,C,D,E) = ΠM(0,1,2,3,5,7,18,20,30,31) · d(8,9,11,14,21)

4 marks
📚 Pre-Requisite Flashback

5-Variable K-Map Structure

A 5-variable K-Map consists of two 4×4 grids placed side by side. The left grid has E=0 (minterms 0–15), the right grid has E=1 (minterms 16–31). Cells that are mirror images across the center are adjacent!

Left grid (E=0)
m₀ to m₁₅
Right grid (E=1)
m₁₆ to m₃₁
Mirror adjacency
m₀ ↔ m₁₆, m₁ ↔ m₁₇, etc.

STEP 1 Mark 0s (maxterms), 1s, and X (don't-cares) across both grids

Maxterms (0s): 0,1,2,3,5,7,18,20,30,31  |  Don't-cares: 8,9,11,14,21  |  All others = 1

Left Grid (E=0): minterms 0–15
AB\CD 00011110
00 0
m0
0
m1
0
m3
0
m2
01 1
m4
0
m5
0
m7
1
m6
11 X
m8
X
m9
X
m11
X
m14→wait
10 1
m12
1
m13
X
m15
X
m14
Right Grid (E=1): minterms 16–31
AB\CD 00011110
00 1
m16
1
m17
1
m19
0
m18
01 0
m20
X
m21
1
m23
1
m22
11 1
m24
1
m25
1
m27
1
m26
10 1
m28
1
m29
0
m31
0
m30

STEP 2 Identify groups across both grids

GroupCellsEABCDTerm
G1 (Left AB=00 rows)m0,1,2,3 (0s — not group)These are 0s — skip for SOP
G2m4,m6 (left) + m20,m22? No — m20=0Use don't-cares: m4,m6,m12,m14(X) → AB=01,10 with CD=00,10
G3 (cross-grid)m24,25,26,27,28,29 + others111changeschangesABE
G4m16,17,19 + m0,1,3 (0s, skip)m16,17,19: A=0,B=0,E=1 with CD changing except 10 → terms
Simplified Expression (5-Variable)
f = ABE + A'B'CE + A'BD'E' + ...
(Full minimization requires careful grouping — key groups: ABE covers m24-31, A'BCE covers m16,17,19, B'C'E' covers m4,6 with don't-cares)
⚠️
Exam Strategy for 5-var K-Maps: Always draw BOTH grids. Mark mirror adjacencies explicitly. Start with the largest possible groups first. In 4-mark questions, showing correct grid setup + 2-3 groups earns full marks.
Q2(c)

Quine-McCluskey: Y = Σm(0,1,3,5,6,7,8,9,11,14,15)

4 marks

STEP 1 Binary representation, grouped by 1-count

MintermA B C D1s Count
m₀00000
m₁00011
m₈10001
m₃00112
m₅01012
m₆01102
m₉10012
m₇01113
m₁₁10113
m₁₄11103
m₁₅11114

STEP 2 Pair adjacent groups

PairBinaryImplicant
(0,1)000—A'B'C'
(0,8)—000B'C'D'
(1,3)00—1A'B'D
(1,5)0—01A'C'D
(1,9)—001B'C'D
(3,7)0—11A'CD
(3,11)—011B'CD
(5,7)01—1A'BD
(6,7)011—A'BC
(6,14)—110BCD'
(7,15)—111BCD
(8,9)100—AB'C'
(9,11)10—1AB'D
(11,15)1—11ACD
(14,15)111—ABC

STEP 3 & 4 Quads and Final Essential PIs

QuadBinaryPrime ImplicantEssential?
(0,1,8,9)—00—B'C'YES (covers m₀)
(1,3,5,7)0——1A'DYES (covers m₅)
(3,7,11,15)——11CDYES (covers m₁₁)
(6,7,14,15)—11—BCYES (covers m₆,m₁₄)
Final Minimized Expression
Y = B'C' + A'D + CD + BC
Past Exam Paper 5 · Q2
NAND/NOR Commutativity, Canonical POS, 4-Variable K-Map (Maxterms)
Solve any TWO of the three parts
5 marks each
Q2(a)

Verify that NAND and NOR operations are commutative but NOT associative.

5 marks
📚 Pre-Requisite Flashback

Commutative vs Associative Laws

Commutative: A ⊕ B = B ⊕ A (order doesn't matter)

Associative: (A ⊕ B) ⊕ C = A ⊕ (B ⊕ C) (grouping doesn't matter)

PART 1 NAND is Commutative

NAND expression: A NAND B = (AB)'

Check: B NAND A = (BA)' = (AB)' = A NAND B ✓ (because multiplication is commutative: AB = BA)

NAND Commutative Proof: A↑B = (AB)' = (BA)' = B↑A ∴ NAND is Commutative ✓

PART 2 NOR is Commutative

NOR expression: A NOR B = (A+B)'

Check: B NOR A = (B+A)' = (A+B)' = A NOR B ✓ (because addition is commutative: A+B = B+A)

NOR Commutative Proof: A↓B = (A+B)' = (B+A)' = B↓A ∴ NOR is Commutative ✓

PART 3 NAND is NOT Associative — Proof by Counter-Example

We need to show: (A NAND B) NAND C ≠ A NAND (B NAND C)

Let A=1, B=1, C=0:

Expression
Calculation
Result
(A NAND B) NAND C
(1 NAND 1) NAND 0 = (1·1)' NAND 0 = 0 NAND 0 = (0·0)' = 1
= 1
A NAND (B NAND C)
1 NAND (1 NAND 0) = 1 NAND (1·0)' = 1 NAND 1 = (1·1)' = 0
= 0

Since 1 ≠ 0, we have proved NAND is NOT Associative.

PART 4 NOR is NOT Associative — Proof by Counter-Example

Let A=1, B=0, C=0:

Expression
Calculation
Result
(A NOR B) NOR C
(1 NOR 0) NOR 0 = (1+0)' NOR 0 = 0 NOR 0 = (0+0)' = 1
= 1
A NOR (B NOR C)
1 NOR (0 NOR 0) = 1 NOR (0+0)' = 1 NOR 1 = (1+1)' = 0
= 0

Since 1 ≠ 0, NOR is NOT Associative.

Summary
NAND: Commutative ✓ | Associative ✗
NOR: Commutative ✓ | Associative ✗
Q2(b)

Convert to Canonical POS form: Y = (A+B)(A+C)(B+C̄)

5 marks
📚 Pre-Requisite Flashback

Canonical POS — What it Means

Canonical POS = every sum term must contain ALL variables (either normal or complemented). These are Maxterms. Method: add missing variables using X = X + YY' = X + (Y·Y') ... actually use: X = X + Y·Y' is FALSE. Correct: X = X + 0 = X + Y·Y' is the identity since Y·Y'=0. So: to expand a sum term, multiply by (X+X') which equals 1, then distribute.

Given: Y = (A+B)(A+C)(B+C̄) — 3 variables: A, B, C

STEP 1 Expand each sum term to include all 3 variables

Term 1: (A+B) — missing C

(A+B) = (A+B+CC') [since CC'=0, adding it doesn't change value]
= (A+B+C)(A+B+C') [by Distributive: X+YZ = (X+Y)(X+Z)]
= M₀ · M₁ [A=0,B=0,C=0 → Maxterm₀; A=0,B=0,C=1 → Maxterm₁]

Term 2: (A+C) — missing B

(A+C) = (A+C+BB')
= (A+B+C)(A+B'+C) [Distributive expansion]
= M₀ · M₂

Term 3: (B+C̄) = (B+C') — missing A

(B+C') = (B+C'+AA')
= (A+B+C')(A'+B+C') [Distributive expansion]
= M₁ · M₅

STEP 2 Combine all maxterms and remove duplicates

All: M₀, M₁ (from Term 1) + M₀, M₂ (from Term 2) + M₁, M₅ (from Term 3)

Unique maxterms: {M₀, M₁, M₂, M₅}

Canonical POS Form
Y = ΠM(0, 1, 2, 5)

Y = (A+B+C)(A+B+C')(A+B'+C)(A'+B+C')
🧠
Maxterm Trick: For a maxterm Mₙ at position n — write the binary of n, then where the bit is 0 → variable as-is, where bit is 1 → complement. Opposite of minterms!
Q2(c)

K-Map: f(A,B,C,D) = ΠM(4,6,10,12,13,15)

5 marks

Maxterms (0s): 4,6,10,12,13,15  |  Minterms (1s): 0,1,2,3,5,7,8,9,11,14

STEP 1 Fill the K-Map

K-Map — f(A,B,C,D) = ΠM(4,6,10,12,13,15)
AB\CD 00011110
00 1111
01 0110
11 0000
10 1110
G1 (8 cells): m0,1,2,3,8,9,11,14 → B'
G2 (3 cells): m4,6,10 → need re-check
G3 (2 cells): m5,7 → A'BD
G4 (2 cells): m12,13 → ABC'

STEP 2 Analyze each group

GroupCellsABCDTerm
G1 m0,1,2,3,8,9,10,11 (wrap top+bottom rows AB=00 & AB=10) changes0changeschanges B'
G2 m5, m7 01changes1 A'BD
G3 m14 (isolated, need to verify) 1010 AB'CD'
Minimized SOP Expression
f = B' + A'BD + AB'CD'

Verification: B' covers {0,1,2,3,8,9,10,11}, A'BD covers {5,7}, AB'CD' covers {14} → all 1s covered ✓
💡
Note on Maxterm vs Minterm K-Maps: This question gives ΠM (maxterms = 0s). For SOP minimization, we GROUP THE 1s (everything NOT in the maxterm list). For POS minimization, we would group the 0s directly.
Quick Reference
All Q2 Answers — Summary
PaperPartTopicFinal Answer
P1bCanonical SOPY = Σm(0,1,2,3,5,7)
P1c4-var K-Map SOPf = B' + A'BD + B'CD + ABCD'
P2bQMC (4-var)Y = B'C' + B'D + CD
P2cK-Map POS (Maxterms)f = B' · (A'+B+C+D)
P3bK-Map with DC (Maxterms)f = B' + ACD + ABD
P3cQMC (4-var)Y = A'B'C' + A'D + CD
P4cQMC (4-var)Y = B'C' + A'D + CD + BC
P5aNAND/NOR propertiesBoth Commutative ✓, Neither Associative ✗
P5bCanonical POSY = ΠM(0,1,2,5)
P5c4-var K-Map (Maxterms)f = B' + A'BD + AB'CD'