Top Banner Ad

BEC302 — Unit 1: Logic simplification and combinational logic design

Table of Contents (24 sections)

BEC302 · DIGITAL SYSTEM DESIGN · Unit 1

Logic simplification and combinational logic design

Unit Scope & Exam Weightage: This unit is the toolkit of digital design: number systems and code conversion, signed arithmetic, Boolean algebra and De Morgan's theorem, canonical SOP/POS forms, Karnaugh maps up to five variables, the Quine–McCluskey tabulation method, and hazards. In AKTU papers it is worth 14–21 marks — practically every paper carries one K-map or QM minimisation (7 marks), one base/conversion numerical (2 or 7 marks), and a theorem/universal-gate question.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Karnaugh maps up to 5 variables 5 (2023-24 ×2, 2024-25, 2025-26 ×2) 7m × 4 + 2m Survival Mode Numerical
2 Number Systems (base conversion, unknown base) 4 (2023-24, 2024-25 ×2, 2025-26) 7m × 2 + 2m × 2 High-Yield Numerical
3 review of Boolean algebra and Demorgans theorem (De Morgan, universal gates, hazards) 5 (2023-24 ×2, 2024-25 ×2, 2025-26) 7m × 5 Survival Mode Proof
4 tabulation method 1 (2025-26) 7m Algorithm
5 Binary codes / code conversion 1 (2025-26) 2m Quick Definition
6 signed magnitude representation 1 (2023-24) 2m Core Concept
7 Binary arithmetic 1 (2023-24) 2m Core Concept
8 SOP & POS forms / Canonical forms Integrated in #1, #3 — Supporting Topic

2-Hour Last-Night Survival Checklist:

  1. K-map groups: group only powers of two (1,2,4,8,16), wrap edges and corners, use don't-cares (dd) only to enlarge groups, and write the product term from bits that do not change inside the group.
  2. 5-variable map: draw two 4×4 planes (A=0A=0 and A=1A=1); cells directly above/below in the two planes pair up, and matching 4-cell blocks form 8-cell groups.
  3. Quine–McCluskey: sort minterms by number of 1s, combine terms differing in one bit, repeat until no combination is possible, then mark essential prime implicants with a coverage chart; include don't-cares only if they help.
  4. Base conversion: convert through decimal for unrelated bases; for fractional decimal→octal multiply repeatedly by 8 and take integer parts. Unknown base questions: equate the value in decimal and solve the polynomial.
  5. Theorems: A+B‾=AˉBˉ\overline{A+B}=\bar A\bar B, AB‾=Aˉ+Bˉ\overline{AB}=\bar A+\bar B; XOR needs 4 NANDs (X=ABˉ+AˉBX=A\bar B+\bar AB); hazard = temporary wrong output caused by unequal path delays, cured by a consensus term or output strobe.

1. Number Systems, Binary Arithmetic and Codes

Number system (2 Marks): A positional notation with radix (base) bb, where (dn−1…d0.d−1… )b=∑dibi(d_{n-1}\dots d_0.d_{-1}\dots)_b=\sum d_i b^i. Digital circuits use base 2 because two stable voltage levels map directly to 0 and 1.

1.1 Conversion Routes

From → To Method
Base bb → decimal Expand powers of bb and sum
Decimal integer → base bb Repeated division by bb, read remainders upward
Decimal fraction → base bb Repeated multiplication by bb, read integer parts downward
Binary → octal / hex Group bits in 3s / 4s from the binary point
Hex ↔ octal Go through binary (or decimal)

1.2 Signed Magnitude, 1's and 2's Complement

Representation of −5-5 in 8 bits Code Feature
Sign-magnitude 10000101 MSB is sign; two representations of zero
1's complement 11111010 Invert all bits; two zeros; end-around carry
2's complement 11111011 Invert + 1; single zero; arithmetic is simplest

2's-complement subtraction: A−B=A+(Bˉ+1)A-B=A+(\bar B+1); discard the final carry. Overflow in signed addition occurs iff the carry into the sign bit differs from the carry out.

1.3 Binary Codes

  • BCD (8421): each decimal digit coded by 4 bits; invalid codes 1010–1111.
  • Excess-3: BCD digit + 3 (0011); self-complementing.
  • Gray code: successive codes differ in one bit; Gn=Bn⊕Bn+1G_n=B_n\oplus B_{n+1}; used for shaft encoders to avoid multi-bit race.
  • Cyclic code: a code in which every cyclic shift of a valid code word is another valid code word; used in error detection (CRC/polynomial codes).

Examiner Tip (code questions): For "Define cyclic codes" (2025-26, 2 marks), state the cyclic-shift property and one application (CRC); for signed magnitude, explicitly mention the MSB sign bit, the remaining magnitude bits, and the double-zero defect — that triple is what the marker checks.


2. Boolean Algebra, Canonical Forms and Hazards

Boolean algebra (2 Marks): Algebra of the two-valued variable set {0,1}\{0,1\} with operations AND (⋅\cdot), OR (++) and NOT (′'). It obeys commutative, associative and distributive laws, plus the absorption and complement laws used for simplification.

2.1 De Morgan's Theorem (with Proof by Truth Table)

A+B‾=Aˉ⋅Bˉ,A⋅B‾=Aˉ+Bˉ\overline{A+B}=\bar A\cdot\bar B,\qquad \overline{A\cdot B}=\bar A+\bar B
AA BB A+B‾\overline{A+B} AˉBˉ\bar A\bar B AB‾\overline{AB} Aˉ+Bˉ\bar A+\bar B
0 0 1 1 1 1
0 1 0 0 1 1
1 0 0 0 1 1
1 1 0 0 0 0

Generalised form: A+B+C+…‾=AˉBˉCˉ…\overline{A+B+C+\dots}=\bar A\bar B\bar C\dots and ABC…‾=Aˉ+Bˉ+Cˉ+…\overline{ABC\dots}=\bar A+\bar B+\bar C+\dots — "break the bar, change the sign".

2.2 Canonical SOP and POS

Form Meaning Notation
Minterm (mim_i) Product term containing every variable once; equals 1 for one combination m0=AˉBˉCˉm_0=\bar A\bar B\bar C
Maxterm (MiM_i) Sum term containing every variable once; equals 0 for one combination M0=A+B+CM_0=A+B+C
Canonical SOP Sum of minterms where F=1F=1 F(A,B,C)=Σm(1,3,7)F(A,B,C)=\Sigma m(1,3,7)
Canonical POS Product of maxterms where F=0F=0 F=ΠM(0,2,4,5,6)F=\Pi M(0,2,4,5,6)

Conversion: mi=Mi‾m_i=\overline{M_i}; the missing indices of one form give the other.

2.3 Universal Gates and XOR Implementation

NAND and NOR are universal because each alone can realise NOT, AND and OR:

  • NOT: A⋅A‾=Aˉ\overline{A\cdot A}=\bar A
  • AND: AB‾⋅AB‾‾=AB\overline{\overline{AB}\cdot\overline{AB}}=AB
  • OR: Aˉ⋅Bˉ‾=A+B\overline{\bar A\cdot\bar B}=A+B (NAND form)

XOR using 4 NAND gates: let N1=AB‾N_1=\overline{AB}; N2=AN1‾N_2=\overline{AN_1}; N3=BN1‾N_3=\overline{BN_1}; X=N2N3‾=ABˉ+AˉBX=\overline{N_2N_3}=A\bar B+\bar AB. This is the minimum-NAND XOR requested in the 2024-25 paper.

2.4 Hazards

Hazard (2 Marks): an unwanted temporary change (glitch) at the output of a combinational circuit caused by unequal propagation delays through different paths when an input changes. A static-1 hazard produces a brief 0 in an output that should stay 1; a static-0 hazard is the reverse; a dynamic hazard causes multiple transitions.

Cure: add the consensus/redundant term that bridges adjacent 1-groups in the K-map (e.g. F=AB+AˉC+BCˉF=AB+\bar AC+B\bar C removes the hazard in AB+AˉCAB+\bar AC), use output strobing (sample after delays settle), or design with synchronous registers.


3. Karnaugh Map Minimisation (up to 5 Variables)

K-map (2 Marks): a grid of 2n2^n cells arranged in Gray-code order so that horizontally/vertically adjacent cells differ in exactly one variable; grouping 2k2^k adjacent 1s eliminates kk variables from the product term.

3.1 Grouping Rules

  1. Groups must contain 1, 2, 4, 8, 16… cells.
  2. Wraparound is allowed (top↔bottom row, left↔right column, four corners).
  3. Make the fewest, largest groups; every 1 must be covered, overlapping is permitted.
  4. A don't-care may be used only if it enlarges a group; it need not be covered.
  5. Read the term from variables that remain constant across the whole group.

3.2 Five-Variable Map

Use two 4×4 planes for A=0A=0 and A=1A=1, with variables BCBC as rows and DEDE as columns. Equivalent cells in the two planes pair vertically; a 4-cell square appearing in both planes gives an 8-cell octet that eliminates AA as well.

After-Topic PYQs:

  • 2023-24 (7 Marks): "Use Karnaugh maps to simplify the Boolean function: F(A,B,C,D)=∑(1,2,4,6,9,10,11,12,13,14,15)F(A, B, C, D) = \sum(1, 2, 4, 6, 9, 10, 11, 12, 13, 14, 15)."
  • 2025-26 (7 Marks): "Simplify the Boolean function F(w,x,y,z)=∑m(1,3,7,11,15)+d(0,2,5)F(w, x, y, z) = \sum m(1, 3, 7, 11, 15) + d(0, 2, 5). Also implement the minimized function using basic logic gates."
  • 2024-25 (7 Marks): "Minimize the logic function using K-MAP Method F(A,B,C,D,E)=∑m(8,9,10,11,13,15,16,18,21,24,25,26,27,30,31)F(A,B,C,D,E) = \sum m(8,9,10,11,13,15,16,18,21,24,25,26,27,30,31)"
  • 2025-26 (2 Marks): "Simplify the following expression using K-map: f(A,B,C)=∑m(0,1,2,3,4,5,6,7)f(A, B, C) = \sum m(0, 1, 2, 3, 4, 5, 6, 7)"
  • 2025-26 (7 Marks): "Minimize the following using Quine-McCluskey Method: F(P,Q,R,S)=∑m(0,3,5,6,7,10,12,13)+d(2,9,15)F(P, Q, R, S) = \sum m(0, 3, 5, 6, 7, 10, 12, 13) + d(2, 9, 15)."
  • 2023-24 (7 Marks): "State and Prove Demorgan's theorem."
  • 2025-26 (7 Marks): "What do you mean by universal logic gates? Implement all other logic gates using universal logic gates."
  • 2024-25 (7 Marks): "What do you mean by Hazards? Explain the different method by which hazard can be eliminated."
  • 2024-25 (2 Marks): "The solution to the quadratic equation k2−11k+22=0k^2 - 11k + 22 = 0 are x=3x=3 and x=6x=6. What is the base of the number system?"
  • 2025-26 (2 Marks): "Determine the value of base xx, if (193)x=(623)8(193)_x = (623)_8"
  • 2023-24 / 2025-26 (7 Marks each): conversion problems listed in Solved Q1 and Q2 below.

Solved Exam-Ready Questions

Solved Q1 (2024-25 — 7 Marks | Base Conversions)

Q: Convert the following in their corresponding base: (i) (ABC)16=()2(ABC)_{16} = ()_2 (ii) (100010100.110101)2=()8(100010100.110101)_2 = ()_8 (iii) (2230)4=()3(2230)_4 = ()_3

Solution:

  1. (i) Hex → binary: replace each hex digit by 4 bits: A=1010A=1010, B=1011B=1011, C=1100C=1100.
(ABC)16=(101010111100)2(ABC)_{16}=\mathbf{(101010111100)_2}
  1. (ii) Binary → octal: group in threes from the point, padding with zeros: 100 010 100 . 110 101 → 4,4,4,.6,54,4,4,.6,5.
(100010100.110101)2=(444.65)8(100010100.110101)_2=\mathbf{(444.65)_8}
  1. (iii) Base 4 → base 3 via decimal: (2230)4=2(43)+2(42)+3(41)+0=128+32+12=17210(2230)_4=2(4^3)+2(4^2)+3(4^1)+0=128+32+12=172_{10}. Repeated division by 3: 172=2(81)+10172=2(81)+10, 10=1(9)+110=1(9)+1 → digits 2,0,1,0,12,0,1,0,1.
(2230)4=(20101)3(check: 2⋅81+1⋅9+1=172)(2230)_4=\mathbf{(20101)_3}\quad\text{(check: }2\cdot81+1\cdot9+1=172\text{)}

Solved Q2 (2023-24 — 7 Marks | Mixed Conversions)

Q: Convert the following: 1. Hexadecimal equivalent of the decimal number 256. 2. Decimal equivalent of (123)9(123)_9. 3. 378.9310378.93_{10} to octal. 4. Convert A3BHA3BH and 2F3H2F3H into binary.

Solution:

  1. 25610=1×162=(100)16256_{10}=1\times16^2= \mathbf{(100)_{16}}.
  2. (123)9=1(81)+2(9)+3=10210(123)_9=1(81)+2(9)+3=\mathbf{102_{10}}.
  3. Integer part: 378/8=47378/8=47 r2; 47/8=547/8=5 r7; 5/8=05/8=0 r5 → 5728572_8. Fraction: 0.93×8=7.44→70.93\times8=7.44\to7; 0.44×8=3.52→30.44\times8=3.52\to3; 0.52×8=4.16→40.52\times8=4.16\to4; 0.16×8=1.28→10.16\times8=1.28\to1; 0.28×8=2.24→20.28\times8=2.24\to2 → 0.734128…0.73412_8\ldots
378.9310≈(572.73412)8378.93_{10}\approx\mathbf{(572.73412)_8}
  1. A3BH=1010 0011 10112A3B_H=1010\,0011\,1011_2; 2F3H=0010 1111 001122F3_H=0010\,1111\,0011_2.

Solved Q3 (2024-25 / 2025-26 — 2 Marks | Unknown Base)

Q: The solution to the quadratic equation k2−11k+22=0k^2 - 11k + 22 = 0 are x=3x=3 and x=6x=6. What is the base of the number system? and Determine the value of base xx, if (193)x=(623)8(193)_x = (623)_8

Solution:

  1. First question: the coefficients 11 and 22 are written in base bb, so the polynomial is k2−(b+1)k+(2b+2)=0k^2-(b+1)k+(2b+2)=0. Sum of roots =b+1=3+6=9⇒b=8=b+1=3+6=9\Rightarrow b=8; check product =2b+2=18=3×6=2b+2=18=3\times6 ✓. Base = 8.
  2. Second question: (623)8=6(64)+2(8)+3=40310(623)_8=6(64)+2(8)+3=403_{10}. So (193)x=x2+9x+3=403⇒x2+9x−400=0(193)_x=x^2+9x+3=403\Rightarrow x^2+9x-400=0. Discriminant =81+1600=1681=412=81+1600=1681=41^2, so x=(−9+41)/2=16x=(-9+41)/2=16 (reject −25-25). Base = 16; check 1(256)+9(16)+3=4031(256)+9(16)+3=403 ✓.

Solved Q4 (2023-24 — 7 Marks | 4-Variable K-map)

Q: Use Karnaugh maps to simplify the Boolean function: F(A,B,C,D)=∑(1,2,4,6,9,10,11,12,13,14,15)F(A, B, C, D) = \sum(1, 2, 4, 6, 9, 10, 11, 12, 13, 14, 15).

Solution:

  1. Plot 1s at the listed minterms on a Gray-ordered 4×4 map (rows AB=00,01,11,10AB=00,01,11,10; columns CD=00,01,11,10CD=00,01,11,10).
  2. Cross-plane four-cell group m{2,6,10,14}m\{2,6,10,14\}: C=1,D=0C=1,D=0 while A,BA,B vary → term CDˉC\bar D.
  3. Four-cell group m{4,6,12,14}m\{4,6,12,14\}: B=1,D=0B=1,D=0 → term BDˉB\bar D.
  4. Four-cell group m{12,13,14,15}m\{12,13,14,15\}: A=1,B=1A=1,B=1 → term ABAB.
  5. Four-cell group m{9,11,13,15}m\{9,11,13,15\}: A=1,D=1A=1,D=1 → term ADAD.
  6. Pair m{1,9}m\{1,9\}: B=0,C=0,D=1B=0,C=0,D=1 → term BˉCˉD\bar B\bar C D.
  7. Verify every minterm is covered: 1→pair; 2,6,10,14→CDˉC\bar D; 4→BDˉB\bar D; 9→pair/ADAD; 11→ADAD; 12,13→ABAB; 15→AB/ADAB/AD.
F=CDˉ+BDˉ+AB+AD+BˉCˉD\boxed{F=C\bar D+B\bar D+AB+AD+\bar B\bar C D}

Solved Q5 (2025-26 — 7 Marks | K-map with Don't Cares + Gate Implementation)

Q: Simplify the Boolean function F(w,x,y,z)=∑m(1,3,7,11,15)+d(0,2,5)F(w, x, y, z) = \sum m(1, 3, 7, 11, 15) + d(0, 2, 5). Also implement the minimized function using basic logic gates.

Solution:

  1. Plot 1s at 1,3,7,11,15 and don't-cares at 0,2,5.
  2. Use the don't-care at 5 to form the four-cell group {1,3,5,7}\{1,3,5,7\} (rows wx=00wx=00, columns with z=1z=1, both yy): w=0,z=1w=0,z=1 → term wˉz\bar w z.
  3. Form the four-cell group {3,7,11,15}\{3,7,11,15\}: y=1,z=1y=1,z=1 → term yzyz.
  4. All required minterms are now covered: 1 by wˉz\bar wz; 3,7 by both; 11,15 by yzyz. Don't-cares 0 and 2 are unused.
F=wˉz+yz=z(wˉ+y)\boxed{F=\bar wz+yz=z(\bar w+y)}
  1. Gate implementation: one NOT gate on ww → AND(wˉ,z\bar w,z); AND(y,zy,z); OR the two products. Alternatively implement z(wˉ+y)z(\bar w+y) with one inverter, one OR and one AND — three gates.
  2. Verification by algebra: at m11=1011m_{11}=1011, wˉ=0\bar w=0 but yz=1y z=1 → F=1F=1 ✓; at m5=0101m_5=0101 (don't care) F=1F=1, which is allowed.

Solved Q6 (2024-25 — 7 Marks | Five-Variable K-map)

Q: Minimize the logic function using K-MAP Method F(A,B,C,D,E)=∑m(8,9,10,11,13,15,16,18,21,24,25,26,27,30,31)F(A,B,C,D,E) = \sum m(8,9,10,11,13,15,16,18,21,24,25,26,27,30,31)

Solution:

  1. Draw two 4×4 planes: A=0A=0 plane holds minterms 8–15 (BCDEBCDE = 8–15); A=1A=1 plane holds 16–31, i.e. local indices 0–15.
  2. Octet from the two matching four-cell blocks at local indices 8,9,10,11 in both planes (B=1,C=0B=1,C=0, D,ED,E free) → term BCˉB\bar C.
  3. Quad in A=0A=0 plane at indices 9,11,13,15 (B=1,E=1B=1,E=1, C,DC,D free) → term A′BEA'BE.
  4. Quad in A=1A=1 plane at local indices 10,11,14,15 (B=1,D=1B=1,D=1) → term ABDABD.
  5. Pair in A=1A=1 plane at local indices 0,2 (B=0,C=0,E=0B=0,C=0,E=0) → term AB′CˉEˉAB'\bar C\bar E.
  6. Single at m21m_{21} (A=1,B=0,C=1,D=0,E=1A=1,B=0,C=1,D=0,E=1) → term AB′CD′EˉAB'CD'\bar E.
  7. All fifteen 1s are covered; note m31m_{31} is covered by ABDABD and m13m_{13} by A′BEA'BE.
F=BCˉ+AˉBE+ABD+AB′CˉEˉ+AB′CD′Eˉ\boxed{F=B\bar C+\bar A B E+ABD+AB'\bar C\bar E+AB'CD'\bar E}

Solved Q7 (2025-26 — 7 Marks | Quine–McCluskey)

Q: Minimize the following using Quine-McCluskey Method: F(P,Q,R,S)=∑m(0,3,5,6,7,10,12,13)+d(2,9,15)F(P, Q, R, S) = \sum m(0, 3, 5, 6, 7, 10, 12, 13) + d(2, 9, 15).

Solution:

  1. List with don't-cares: {0,2,3,5,6,7,9,10,12,13,15}\{0,2,3,5,6,7,9,10,12,13,15\}, grouped by number of 1s:
    • 0 ones: 0000 (0)
    • 1 one: 0010 (2), 0100 (4 absent)
    • 2 ones: 0011(3), 0101(5), 0110(6), 1001(9), 1010(10), 1100(12)
    • 3 ones: 0111(7), 1101(13)
    • 4 ones: 1111(15)
  2. First combination: 0–2 → 00-0; 2–3 → 001-; 2–6 → 0-10; 2–10 → -010; 3–7 → 0-11; 5–7 → 01-1; 5–13 → -101; 6–7 → 011-; 9–13 → 1-01; 12–13 → 110-; 7–15 → -111; 13–15 → 11-1.
  3. Second combination: 0-10 with 0-11 → 0-1- (covers 2,3,6,7); -101 with -111 → -1-1 (covers 5,7,13,15).
  4. Prime implicants: P′Qˉ′S′P'\bar Q'S' (0,2), P′RP'R (2,3,6,7), QˉRS′\bar QRS' (2,10), QSQS (5,7,13,15), PQR′PQR' (12,13), PR′SPR'S (9,13), PQSPQS (13,15).
  5. Essential prime implicants: minterm 0 is covered only by P′Qˉ′S′P'\bar Q'S'; minterm 10 only by QˉRS′\bar QRS'; minterm 12 only by PQR′PQR'. These three are essential.
  6. Remaining minterms 3,5,6,7 are covered by P′RP'R plus QSQS (minimum two more terms).
F=PˉQˉSˉ+QˉRS′+PQR′+P′R+QS\boxed{F=\bar P\bar Q\bar S+\bar QRS'+PQR'+P'R+QS}

Solved Q8 (2023-24 — 7 Marks | De Morgan Proof + Universal Gates)

Q: State and Prove Demorgan's theorem. / What do you mean by universal logic gate? Implement XOR gate using minimum number of NAND gate.

Solution:

  1. Theorem 1: A+B‾=AˉBˉ\overline{A+B}=\bar A\bar B — "the complement of a sum equals the product of the complements"; proved by the truth table in Section 2.1 (columns 3 and 4 identical).
  2. Theorem 2: AB‾=Aˉ+Bˉ\overline{AB}=\bar A+\bar B — proved by columns 5 and 6 of the same table.
  3. Inductive extension to nn variables follows by treating (A+B)(A+B) as one variable.
  4. Universal gate: a gate type sufficient to realise any Boolean function by itself. NAND and NOR qualify because NOT, AND and OR can all be built from one type.
  5. XOR in 4 NANDs: N1=AB‾N_1=\overline{AB}; N2=AN1‾N_2=\overline{AN_1}; N3=BN1‾N_3=\overline{BN_1}; X=N2N3‾=ABˉ+AˉBX=\overline{N_2N_3}=A\bar B+\bar AB.
  6. Verification: for A=B=1A=B=1, N1=0N_1=0, N2=N3=1N_2=N_3=1, X=0X=0 ✓; for A=1,B=0A=1,B=0, N1=1N_1=1, N2=0N_2=0, N3=1N_3=1, X=1X=1 ✓.

Solved Q9 (2024-25 — 7 Marks | Hazards)

Q: What do you mean by Hazards? Explain the different method by which hazard can be eliminated.

Solution:

  1. Definition: a glitch — a momentary incorrect output — produced when an input change travels along paths with different propagation delays.
  2. Static-1 hazard: output should remain 1 but momentarily drops to 0 (e.g. F=AB+AˉCF=AB+\bar AC with B=C=1B=C=1 as AA changes).
  3. Static-0 hazard: dual case in POS realisation. Dynamic hazard: output changes more than once before settling.
  4. K-map cure: add the consensus term covering the two adjacent groups that are not themselves grouped — for the example add BCBC, giving F=AB+AˉC+BCF=AB+\bar AC+BC (hazard-free).
  5. Strobing: enable the output only after the worst-case delay has elapsed.
  6. Design cure: use synchronous circuits with registers, or implement the function in a single level of NAND/NOR logic with matched delays.

Practice Questions (Self-Test)

  1. (2 Marks) Define cyclic codes.
  2. (2 Marks) Explain signed magnitude representation with an 8-bit example for −5-5.
  3. (2 Marks) Simplify f(A,B,C)=Σm(0,1,2,3,4,5,6,7)f(A,B,C)=\Sigma m(0,1,2,3,4,5,6,7) using a K-map. (Ans: f=1f=1.)
  4. (7 Marks) Convert (1A3F)16(1A3F)_{16} to binary, octal and decimal.
  5. (7 Marks) Minimise F(A,B,C,D)=Σm(0,1,2,5,8,9,10,13)F(A,B,C,D)=\Sigma m(0,1,2,5,8,9,10,13) with a K-map. (Hint: look for an octet and two quads.)
  6. (7 Marks) Implement F=AˉB+ABˉF=\bar AB+A\bar B using only NOR gates.