Top Banner Ad

AEC101A — Unit 4: Digital Electronics Basics

Table of Contents (32 sections)

AEC101A · Fundamentals of Electronics Engineering · Unit 4

Digital Electronics Basics

Unit Scope & Exam Weightage: This is the highest-volume unit of the paper: 23 clusters worth about 114 marks. It moves from number systems and complements through gates and Boolean algebra to 4-variable K-maps, adders, MUX and flip-flops. Repeated 7-mark questions ask for K-map minimisation and a gate-level implementation, so both halves must be practised. Applications tie the algebra to an ALU, MUX data routing, microcontroller I/O and PLDs.


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

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 k-map (upto 4 variables) 7 (2023-24 ×4, 2024-25 ×2, 2025-26 ×2) 7m × 7 Survival Mode Numerical + Circuit
2 basic logic gates — AND, OR, NOT, NAND, NOR, XOR with truth tables 6 (2023-24 ×3, 2024-25 ×2, 2025-26 ×2) 7m + 3.5m × 2 + 2m × 3 High Yield Diagram
3 Number systems — binary, decimal, hexadecimal (conversion only) 6 (2023-24 ×2, 2024-25, 2025-26 ×3) 7m × 2 + 2m × 4 Numerical
4 Boolean algebra — basic laws and De Morgan's theorems 5 (2023-24 ×2, 2024-25 ×2, 2025-26) 7m × 4 + 2m Proof Practice
5 half adder and full adder (truth table and logic diagram) 2 (2024-25, 2025-26) 7m + 2m Predicted
6 logic levels (HIGH/LOW, 0/1) integrated in #2 — Core Concept
7 multiplexer concept 0 direct — Predicted
8 flip-flop — SR and D flip-flop (concept only) 0 direct — Predicted
9 applications: binary addition in CPU ALU integrated in #5 — Application
10 MUX in data routing integrated in #7 — Application
11 digital signals in microcontroller I/O 0 direct — Application
12 basics of PLA / PLD devices 0 direct — Predicted

2-Hour Last-Night Survival Checklist:

  1. K-map routine: write minterm numbers in Gray-code order (00, 01, 11, 10) on both axes; group only 1, 2, 4, 8, 16 cells; wrap around edges and corners; use don't-cares only to enlarge a group.
  2. Four verified groupings to rehearse: Σm(0,3,5,7,8,9,10,12,13)+d(1,6,11,14)=ACˉ+ADˉ+AˉD+BˉCˉ\Sigma m(0,3,5,7,8,9,10,12,13)+d(1,6,11,14)=A\bar C+A\bar D+\bar A D+\bar B\bar C; Σm(0,1,2,3,5,7,8,9,11,14)=AˉD+BˉD+AˉBˉ+BˉCˉ+ABCDˉ\Sigma m(0,1,2,3,5,7,8,9,11,14)=\bar A D+\bar B D+\bar A\bar B+\bar B\bar C+ABC\bar D; Σm(0,1,2,3,5,7,13,15)+d(8,10)=BD+AˉBˉ\Sigma m(0,1,2,3,5,7,13,15)+d(8,10)=BD+\bar A\bar B; Σm(1,3,4,5,6,7,9,11,13,15)=D+AˉB\Sigma m(1,3,4,5,6,7,9,11,13,15)=D+\bar A B.
  3. Number systems: N10→N_{10}\to binary by repeated division, fraction by repeated multiplication; use 4 bits per hex digit and 3 bits per octal digit; in rr's-complement subtraction, discard the end carry, and if no carry appears the answer is negative.
  4. Gate identities: NOT =NAND=NAND tied inputs; AND =NAND=NAND followed by NOT; OR =NAND=NAND of inverted inputs; XOR =(ABˉ+AˉB)‾=\overline{(A\bar B+\bar A B)} implementations with four NANDs. De Morgan: A+B‾=AˉBˉ\overline{A+B}=\bar A\bar B, AB‾=Aˉ+Bˉ\overline{AB}=\bar A+\bar B.
  5. Last 20 minutes: write the half-adder (S=A⊕B, C=ABS=A\oplus B,\ C=AB) and full-adder (S=A⊕B⊕Cin, Cout=AB+Cin(A⊕B)S=A\oplus B\oplus C_{in},\ C_{out}=AB+C_{in}(A\oplus B)) equations and the SR/D flip-flop characteristic tables.

1. Number Systems, Complements and Binary Arithmetic

1.1 Positional notation

A number (dn−1…d0.d−1…)r(d_{n-1}\ldots d_0.d_{-1}\ldots)_{r} has value ∑diri\sum d_i r^i. Binary uses r=2r=2 (bits 0/1), octal r=8r=8, decimal r=10r=10, hexadecimal r=16r=16 (digits 0–9, A–F).

Conversion Method Worked example
Decimal → binary Repeated division by 2; fraction by repeated multiplication (63.250)10=111111.012(63.250)_{10}=111111.01_2
Binary → decimal Sum powers of 2 (10010.101)2=16+2+0.5+0.125=18.62510(10010.101)_2=16+2+0.5+0.125=18.625_{10}
Hex → binary 4 bits per hex digit A6B.0F16=1010 0110 1011.0000 11112\text{A6B.0F}_{16}=1010\,0110\,1011.0000\,1111_2
Binary → octal Group 3 bits about the point =101 001 101 011.000 011 1102=5153.0368=101\,001\,101\,011.000\,011\,110_2=5153.036_8
Octal → decimal Sum powers of 8 (472.254)8=4(64)+7(8)+2+2/8+5/64+4/512=314.335937510(472.254)_8=4(64)+7(8)+2+2/8+5/64+4/512=314.3359375_{10}
Decimal → BCD Code each decimal digit by 4 bits (5678)10=0101 0110 0111 1000BCD(5678)_{10}=0101\,0110\,0111\,1000_{BCD}

1.2 Complements and subtraction

r’s complement of N=(rn−1)−N+1;(r−1)’s complement=(rn−1)−Nr\text{'s complement of }N=(r^n-1)-N+1;\qquad (r-1)\text{'s complement}=(r^n-1)-N

For binary: 1's complement = flip every bit; 2's complement = flip bits and add 1. To compute A−BA-B, add the complement of BB to AA. With 2's complement, discard the final carry; no carry means the result is negative. With 1's complement, add the end carry back to the LSB (end-around carry); no carry means the result is negative and must be recomplemented.

Worked:

  • (1010)2−(0101)2(1010)_2-(0101)_2: 2's complement of 0101=10110101=1011; 1010+1011=101011010+1011=10101, discard carry ⇒ 01012=5\mathbf{0101_2=5}.
  • (10111)2−(110011)2(10111)_2-(110011)_2: align as 010111−110011010111-110011; 1's complement of 110011=001100110011=001100; sum =100011=100011 with no carry ⇒ result negative; complement 100011→011100=−2810100011\to011100=\mathbf{-28_{10}} (check 23−51=−2823-51=-28).
  • 1001101010011010: 1's complement 0110010101100101, 2's complement 0110011001100110.
  • (1110.10+1011.11)2=11010.012(1110.10+1011.11)_2=11010.01_2 (14.5+11.75=26.2514.5+11.75=26.25).

Finding an unknown base: (211)X=(152)8=1(64)+5(8)+2=106(211)_X=(152)_8=1(64)+5(8)+2=106; 2X2+X+1=106⇒2X2+X−105=02X^2+X+1=106\Rightarrow2X^2+X-105=0, positive root X=7X=7. Similarly (193)X=(623)8=403⇒X2+9X−400=0⇒X=16(193)_X=(623)_8=403\Rightarrow X^2+9X-400=0\Rightarrow X=16.


2. Logic Levels, Gates and Universal Realisation

TTL levels: LOW 0-0.8 V0\text{-}0.8\text{ V}, HIGH 2.0-5.0 V2.0\text{-}5.0\text{ V} (undefined between). CMOS: LOW ≤0.3VDD\leq0.3V_{DD}, HIGH ≥0.7VDD\geq0.7V_{DD}.

Gate Boolean expression Truth-table output (00,01,10,11)
AND Y=ABY=AB 0, 0, 0, 1
OR Y=A+BY=A+B 0, 1, 1, 1
NOT Y=AˉY=\bar A 1, 0 (for A=0,1)
NAND Y=AB‾Y=\overline{AB} 1, 1, 1, 0
NOR Y=A+B‾Y=\overline{A+B} 1, 0, 0, 0
XOR Y=A⊕B=AˉB+ABˉY=A\oplus B=\bar AB+A\bar B 0, 1, 1, 0
XNOR Y=A⊕B‾=AB+AˉBˉY=\overline{A\oplus B}=AB+\bar A\bar B 1, 0, 0, 1

NAND/NOR are universal because any Boolean function (including NOT, AND, OR) can be built from them alone:

  • NOT: A∣A=AˉA\mid A=\bar A (both NAND inputs tied).
  • AND: (A∣B)∣(A∣B)=AB(A\mid B)\mid(A\mid B)=AB.
  • OR: Aˉ∣Bˉ=A+B\bar A\mid\bar B=A+B using two tied-input NANDs as inverters.
  • XOR with NANDs: N1=A∣BN_1=A\mid B, N2=A∣N1N_2=A\mid N_1, N3=B∣N1N_3=B\mid N_1, Y=N2∣N3=A⊕BY=N_2\mid N_3=A\oplus B. XNOR adds one more NAND inverter.
  • NOR equivalents follow dually: NOT =A+A‾=\overline{A+A}, OR =A+B‾+A+B‾‾=\overline{\overline{A+B}+\overline{A+B}}, AND =Aˉ+Bˉ‾=\overline{\bar A+\bar B}.

Examiner Tip: In NAND/XOR realisation questions, draw each intermediate gate with its expression written beside it (N1=AB‾N_1=\overline{AB}, etc.). Examiners award marks for the staged derivation even if the final drawing is untidy.


3. Boolean Algebra and De Morgan's Theorems

Law SOP form POS form
Identity A+0=AA+0=A, A⋅1=AA\cdot1=A A+1=1A+1=1, A⋅0=0A\cdot0=0
Idempotent A+A=AA+A=A, AA=AAA=A —
Complement A+Aˉ=1A+\bar A=1, AAˉ=0A\bar A=0 —
Commutative/Associative A+B=B+AA+B=B+A, A+(B+C)=(A+B)+CA+(B+C)=(A+B)+C same for ⋅\cdot
Distributive A(B+C)=AB+ACA(B+C)=AB+AC A+BC=(A+B)(A+C)A+BC=(A+B)(A+C)
Absorption A+AB=AA+AB=A, A(A+B)=AA(A+B)=A —
Consensus AB+AˉC+BC=AB+AˉCAB+\bar AC+BC=AB+\bar AC (A+B)(Aˉ+C)(B+C)=(A+B)(Aˉ+C)(A+B)(\bar A+C)(B+C)=(A+B)(\bar A+C)
De Morgan A+B‾=AˉBˉ\overline{A+B}=\bar A\bar B AB‾=Aˉ+Bˉ\overline{AB}=\bar A+\bar B

Verified proofs:

  1. AB+ABC+ABˉ=A(B+BC+Bˉ)=A[(B+Bˉ)+BC]=A(1+BC)=AAB+ABC+A\bar B=A(B+BC+\bar B)=A[(B+\bar B)+BC]=A(1+BC)=A.
  2. AˉBˉ+AˉB+ABˉ+AB=Aˉ(Bˉ+B)+A(Bˉ+B)=Aˉ+A=1\bar A\bar B+\bar AB+A\bar B+AB=\bar A(\bar B+B)+A(\bar B+B)=\bar A+A=1 (sum of all four minterms).
  3. A+AˉB=(A+Aˉ)(A+B)=1(A+B)=A+BA+\bar AB=(A+\bar A)(A+B)=1(A+B)=A+B.
  4. F=XY+XY′ ⁣/Z+YZ′F=XY+XY'\!/Z+YZ' written properly means XY+XYˉZˉ+YZˉXY+X\bar Y\bar Z+Y\bar Z. Using consensus XY+XZˉ+YZˉ=XY+XZˉ+YZˉXY+X\bar Z+Y\bar Z=\mathbf{XY+X\bar Z+Y\bar Z}; the term XZˉX\bar Z cannot be dropped because X=1,Y=0,Z=0X=1,Y=0,Z=0 makes the function 1.
  5. Standard SOP uses minterms (AB→ABCˉ+ABCAB\to AB\bar C+ABC for 3 variables); standard POS uses maxterms. For F(A,B,C)=AB+BC+CAF(A,B,C)=AB+BC+CA, the minterms where F=1F=1 are 3, 5, 6, 7, so F=Σm(3,5,6,7)F=\Sigma m(3,5,6,7) and F=ΠM(0,1,2,4)F=\Pi M(0,1,2,4).

Caution on printed identities: Some question-bank lines contain typographical duplications (for example A+A⋅B+AB=A+BA+A\cdot B+AB=A+B, whose left side actually reduces to AA; the intended identity is A+AˉB=A+BA+\bar AB=A+B). In the exam, write the corrected standard identity and note the correction.


4. Karnaugh Map Minimisation (up to 4 Variables)

4.1 Map layout and grouping rules

A 4-variable K-map has 16 cells with row label ABAB and column label CDCD in Gray order 00, 01, 11, 10. Minterm numbers increase in Gray order, so adjacent cells differ in exactly one variable.

  1. Put 1 for each minterm, X for each don't-care, 0 elsewhere.
  2. Form the largest possible power-of-two groups (1, 2, 4, 8, 16); wrap top/bottom rows and left/right columns; corners are adjacent.
  3. Cover every 1 at least once; use X's only if they enlarge a group.
  4. Read each group as the product of variables that stay constant, then OR the products. For POS, group the 0s and write sum terms.

4.2 Four verified worked minimisations

Function Minimal SOP Notes
F1=Σm(0,3,5,7,8,9,10,12,13)+d(1,6,11,14)F_1=\Sigma m(0,3,5,7,8,9,10,12,13)+d(1,6,11,14) ACˉ+ADˉ+AˉD+BˉCˉA\bar C+A\bar D+\bar A D+\bar B\bar C Don't-cares complete the octet/quads; POS form (A+D+Bˉ)(A+D+Cˉ)(Aˉ+Cˉ+Dˉ)(A+D+\bar B)(A+D+\bar C)(\bar A+\bar C+\bar D)
F2=Σm(0,1,2,3,5,7,8,9,11,14)F_2=\Sigma m(0,1,2,3,5,7,8,9,11,14) AˉD+BˉD+AˉBˉ+BˉCˉ+ABCDˉ\bar A D+\bar B D+\bar A\bar B+\bar B\bar C+ABC\bar D Cell 14 is isolated except through the ABCDˉABC\bar D pair
F3=Σm(0,1,2,3,5,7,13,15)+d(8,10)F_3=\Sigma m(0,1,2,3,5,7,13,15)+d(8,10) BD+AˉBˉBD+\bar A\bar B The two don't-cares make a clean quad; POS (B+Aˉ)(D+Bˉ)(B+\bar A)(D+\bar B)
F4=Σm(1,3,4,5,6,7,9,11,13,15)F_4=\Sigma m(1,3,4,5,6,7,9,11,13,15) D+AˉBD+\bar A B One octet of all odd DD cells plus one quad
F5=ΠM(0,2,10,11,12,14,15)⋅Πd(5,13)F_5=\Pi M(0,2,10,11,12,14,15)\cdot\Pi d(5,13) SOP AˉB+AˉD+ABˉCˉ\bar A B+\bar A D+A\bar B\bar C POS (A+B+D)(Aˉ+Bˉ)(Aˉ+Cˉ)(A+B+D)(\bar A+\bar B)(\bar A+\bar C)

A 5-variable POS such as ΠM(3,5,6,9,10,11,13,19,21,22,23,25,26,27,29)\Pi M(3,5,6,9,10,11,13,19,21,22,23,25,26,27,29) needs two 4-variable maps (E=0E=0 and E=1E=1); it is beyond the stated “up to 4 variables” scope but the verified POS is (C+Bˉ+Dˉ)(C+Bˉ+Eˉ)(C+Dˉ+Eˉ)(D+Cˉ+Eˉ)(B+E+Cˉ+Dˉ)(B+Aˉ+Dˉ+Eˉ)(C+\bar B+\bar D)(C+\bar B+\bar E)(C+\bar D+\bar E)(D+\bar C+\bar E)(B+E+\bar C+\bar D)(B+\bar A+\bar D+\bar E).

Examiner Tip: The question says “implement using basic gates only” or “NOR gates only”. After minimising, draw the SOP with AND → OR (or convert to NOR-only by double negation: F=P1‾+P2‾+⋯‾F=\overline{\overline{P_1}+\overline{P_2}+\cdots} where each Pi‾\overline{P_i} is a NOR-generated product complement). Finish with the truth table spot-check for two or three minterms.


5. Adders, MUX, Flip-Flops and Programmable Logic

5.1 Half adder and full adder

AA BB CinC_{in} Sum Carry
0 0 0 0 0
0 1 0 1 0
1 0 0 1 0
1 1 0 0 1
0 0 1 1 0
0 1 1 0 1
1 0 1 0 1
1 1 1 1 1
S=A⊕B⊕Cin,Cout=AB+Cin(A⊕B).S=A\oplus B\oplus C_{in},\qquad C_{out}=AB+C_{in}(A\oplus B).

A half adder has Cin=0C_{in}=0: S=A⊕BS=A\oplus B, C=ABC=AB. Cascading full adders forms a ripple-carry ALU adder; carry propagation delay grows with word length.

5.2 Multiplexer (MUX)

A 2n2^n:1 MUX selects one of 2n2^n data inputs using nn select lines: Y=∑iDi⋅(decode of selects)Y=\sum_i D_i\cdot(\text{decode of selects}). A 4:1 MUX has Y=Sˉ1Sˉ0D0+Sˉ1S0D1+S1Sˉ0D2+S1S0D3Y=\bar S_1\bar S_0D_0+\bar S_1S_0D_1+S_1\bar S_0D_2+S_1S_0D_3; it routes sensor/register data into one bus in a microcontroller or CPU.

5.3 SR and D flip-flops (concept only)

SR (NOR version) QnextQ_{next} D FF QnextQ_{next}
S=0,R=0 Hold D=0 0
S=1,R=0 1 D=1 1
S=0,R=1 0 — —
S=1,R=1 Forbidden — —

A D flip-flop samples D on the active clock edge and holds it — the basic 1-bit memory element of registers.

5.4 PLA / PLD

A PLA has a programmable AND plane followed by a programmable OR plane, implementing a set of SOP equations on one chip. A PAL fixes the OR plane; a generic PLD/CPLD/FPGA extends this idea to many gates, allowing logic to be changed without rewiring.


Digital block Product use
Full adder chain ALU addition in a CPU or microcontroller
MUX Selecting ADC channels or routing UART/SPI data to one pin
D flip-flop Register storage, debounced switch synchroniser
Truth tables / Boolean logic GPIO decision: motor ON when switch A AND NOT emergency stop
PLA/PLD Glue logic replacing a handful of discrete gates on a board

7. Solved Exam-Ready Questions (verbatim PYQ wording)

Solved Q1 (2025-26, 7m)

Q: Perform following operation as indicated:- (i) Convert (472.254)8(472.254)_8 to its decimal value (ii) Subtract using 1's complement: (10111)2−(110011)2(10111)_2 - (110011)_2. (iii) Calculate the 1's and 2's complement of binary number 10101011010101. (iv) Subtract using 2's complement: (1010)2−(0101)2(1010)_2 - (0101)_2. (v) Convert (5678)10(5678)_{10} into BCD.

Solution:

  • (i) 4(64)+7(8)+2+2(8−1)+5(8−2)+4(8−3)=256+56+2+0.25+0.078125+0.0078125=314.33593754(64)+7(8)+2+2(8^{-1})+5(8^{-2})+4(8^{-3})=256+56+2+0.25+0.078125+0.0078125=\mathbf{314.3359375}.
  • (ii) Align 010111−110011010111-110011; 1's complement of subtrahend =001100=001100; sum 100011100011 with no carry ⇒ negative; recomplement 100011→011100100011\to011100, so result −0111002=−2810\mathbf{-011100_2=-28_{10}}.
  • (iii) 1's complement 01010100101010; 2's complement 01010110101011.
  • (iv) 2's complement of 0101=10110101=1011; 1010+1011=101011010+1011=10101, discard carry ⇒ 01012=5\mathbf{0101_2=5}.
  • (v) 567810→0101 0110 0111 1000BCD5678_{10}\to\mathbf{0101\,0110\,0111\,1000_{BCD}}.

Solved Q2 (2023-24, 7m)

Q: Perform the following as mentioned: (i) Convert (63.250)10(63.250)_{10} to binary number. (ii) Convert (10010.101)2(10010.101)_2 to decimal number. (iii) Convert (A6B.0F)16(A6B.0F)_{16} to octal number. (iv) Perform subtraction using 2′s2's complement (111−1010)2(111 - 1010)_2. (v) Design AND, OR, and NOT gates using only NOR gates.

Solution:

  • (i) 63=111111263=111111_2, 0.250×2=0.5→00.250\times2=0.5\to0, 0.5×2=1.0→10.5\times2=1.0\to1: 111111.012\mathbf{111111.01_2}.
  • (ii) 16+2+0.5+0.125=18.6251016+2+0.5+0.125=\mathbf{18.625_{10}}.
  • (iii) A6B.0F16=1010 0110 1011.0000 11112=5153.0368\text{A6B.0F}_{16}=1010\,0110\,1011.0000\,1111_2=\mathbf{5153.036_8}.
  • (iv) Align 0111−10100111-1010; 2's complement of 1010=01101010=0110; 0111+0110=11010111+0110=1101, no carry ⇒ negative; 2's complement of 1101=00111101=0011, result −310\mathbf{-3_{10}}.
  • (v) NOT =A+A‾=\overline{A+A}; OR =A+B‾+A+B‾‾=\overline{\overline{A+B}+\overline{A+B}}; AND =Aˉ+Bˉ‾=\overline{\bar A+\bar B}.

Solved Q3 (2023-24, 2025-26, 7m)

Q: Simplify the function F=∑m(0,3,5,7,8,9,10,12,13)+∑d(1,6,11,14)F = \sum m(0, 3, 5, 7, 8, 9, 10, 12, 13) + \sum d(1, 6, 11, 14) using K-map and also implement the simplified expression using Basic gates only.

Solution: Fill a Gray-ordered 4-variable map; use don't-cares to form the largest groups. The verified minimum is

F=ACˉ+ADˉ+AˉD+BˉCˉ.F=A\bar C+A\bar D+\bar A D+\bar B\bar C.

Implementation: four 2-input AND gates generate ACˉA\bar C, ADˉA\bar D, AˉD\bar AD and BˉCˉ\bar B\bar C (inverters supply complements); feed the four products into a 4-input OR gate (or three 2-input ORs). Spot-check minterm 12 (A=1,B=1,C=0,D=0A=1,B=1,C=0,D=0): ACˉ=1A\bar C=1, output 1 as required.

Solved Q4 (2024-25, 7m)

Q: Minimize the four variable logic function using K-map: f(A,B,C,D)=∑m(0,1,2,3,5,7,8,9,11,14)f(A, B, C, D) = \sum m (0, 1, 2, 3, 5, 7, 8, 9, 11, 14)

Solution: Grouping the top-left quad, the wrap-around quad in DD, etc., gives

f=AˉD+BˉD+AˉBˉ+BˉCˉ+ABCDˉ.f=\bar A D+\bar B D+\bar A\bar B+\bar B\bar C+ABC\bar D.

The isolated minterm 14 (11101110) forces the five-literal product ABCDˉABC\bar D; check that no larger group contains it. Draw AND–OR implementation from the five product terms.

Solved Q5 (2024-25, 7m)

Q: Simplify F=∑m(0,1,2,3,5,7,13,15)+d(8,10)F = \sum m(0, 1, 2, 3, 5, 7, 13, 15) + d(8, 10) using K-Map and design logic resultant circuit using basic logic gates.

Solution: Use d(8,10)d(8,10) to extend the groups; the verified minimum is F=BD+AˉBˉF=BD+\bar A\bar B. Two AND gates (BDBD, AˉBˉ\bar A\bar B) feeding one OR gate implement it. POS alternative: (B+Aˉ)(D+Bˉ)(B+\bar A)(D+\bar B).

Solved Q6 (2023-24, 7m)

Q: Simplify the following function using K-map F(A,B,C,D)=∑(1,3,4,5,6,7,9,11,13,15)F(A, B, C, D) = \sum(1, 3, 4, 5, 6, 7, 9, 11, 13, 15). Also implement the simplified function using basic gates only.

Solution: All cells with D=1D=1 except a few plus a quad at A=0,B=1A=0,B=1 produce the verified result F=D+AˉBF=D+\bar AB. Implementation: one inverter for Aˉ\bar A, one AND gate for AˉB\bar AB, one OR gate combining it with DD.

Solved Q7 (2023-24, 7m)

Q: Simplify the function F=∏M(0,2,10,11,12,14,15)⋅∏d(5,13)F = \prod M(0, 2, 10, 11, 12, 14, 15) \cdot \prod d(5,13) using K-map and implement the simplified expression using NOR gates only.

Solution: Group the zeros; verified POS is F=(A+B+D)(Aˉ+Bˉ)(Aˉ+Cˉ)F=(A+B+D)(\bar A+\bar B)(\bar A+\bar C), while the equivalent SOP is AˉB+AˉD+ABˉCˉ\bar AB+\bar AD+A\bar B\bar C. For NOR-only, implement each product as a complemented NOR: P‾=X+Yˉ+Zˉ‾\overline{P}=\overline{X+\bar Y+\bar Z} etc., then NOR the complemented products: F=P1‾+P2‾+P3‾‾F=\overline{\overline{P_1}+\overline{P_2}+\overline{P_3}}. Double negation preserves FF and uses only NOR gates.

Solved Q8 (2023-24, 7m)

Q: Realize NOT, AND, OR and XOR gates using NAND gate.

Solution:

  • NOT: Y=A⋅A‾=AˉY=\overline{A\cdot A}=\bar A.
  • AND: Y=AB‾⋅AB‾‾=ABY=\overline{\overline{AB}\cdot\overline{AB}}=AB.
  • OR: Y=Aˉ⋅Bˉ‾=A+BY=\overline{\bar A\cdot\bar B}=A+B, where Aˉ\bar A, Bˉ\bar B come from tied-input NANDs.
  • XOR: N1=AB‾N_1=\overline{AB}, N2=AN1‾N_2=\overline{AN_1}, N3=BN1‾N_3=\overline{BN_1}, Y=N2N3‾=ABˉ+AˉBY=\overline{N_2N_3}=A\bar B+\bar AB. Verify A=B=1⇒N1=0,N2=N3=1,Y=0A=B=1\Rightarrow N_1=0,N_2=N_3=1,Y=0; A=1,B=0⇒N1=1,N2=0,N3=1,Y=1A=1,B=0\Rightarrow N_1=1,N_2=0,N_3=1,Y=1.

Solved Q9 (2025-26, 3.5m)

Q: Prove the following Boolean functions: AB+ABC+ABˉ=AAB + ABC + A\bar{B} = A and ABˉ+AˉB+AB+AˉBˉ=1A\bar{B} + \bar{A}B + AB + \bar{A}\bar{B} = 1.

Solution:

  • AB+ABC+ABˉ=A(B+BC+Bˉ)=A[(B+Bˉ)+BC]=A(1+BC)=AAB+ABC+A\bar B=A(B+BC+\bar B)=A[(B+\bar B)+BC]=A(1+BC)=A.
  • AˉBˉ+AˉB+ABˉ+AB=Aˉ(Bˉ+B)+A(Bˉ+B)=Aˉ+A=1\bar A\bar B+\bar AB+A\bar B+AB=\bar A(\bar B+B)+A(\bar B+B)=\bar A+A=1.

Solved Q10 (2024-25, 2m)

Q: Simplify the Boolean function F=XY+XY′/Z+YZ′F = XY + XY'/Z + YZ' using Boolean algebra.

Solution: Interpreting the typed XY′/ZXY'/Z as XYˉZˉX\bar Y\bar Z, F=XY+XYˉZˉ+YZˉF=XY+X\bar Y\bar Z+Y\bar Z. Group XYˉZˉ+YZˉ=Zˉ(XYˉ+Y)=Zˉ(X+Y)X\bar Y\bar Z+Y\bar Z=\bar Z(X\bar Y+Y)=\bar Z(X+Y) using Y+XYˉ=X+YY+X\bar Y=X+Y. Thus F=XY+XZˉ+YZˉF=XY+X\bar Z+Y\bar Z; this is minimal — none of the three products is redundant (test X=1,Y=0,Z=0X=1,Y=0,Z=0).

Solved Q11 (2025-26, 2m)

Q: Determine base of the following: (i) (211)X=(152)8(211)_X = (152)_8 (ii) (193)X=(623)8(193)_X = (623)_8.

Solution:

  • (152)8=10610(152)_8=106_{10}, so 2X2+X+1=106⇒2X2+X−105=02X^2+X+1=106\Rightarrow2X^2+X-105=0; discriminant 841=292841=29^2, X=(−1+29)/4=7X=(-1+29)/4=\mathbf7.
  • (623)8=40310(623)_8=403_{10}, so X2+9X+3=403⇒X2+9X−400=0X^2+9X+3=403\Rightarrow X^2+9X-400=0; discriminant 1681=4121681=41^2, X=(−9+41)/2=16X=(-9+41)/2=\mathbf{16}.

Solved Q12 (2024-25, 2m)

Q: Find 1's and 2's complement of 1001101010011010.

Solution: 1's complement (invert bits) =01100101=\mathbf{01100101}; add 1 to get 2's complement =01100110=\mathbf{01100110}.

Solved Q13 (2024-25, 2m)

Q: What are the binary-arithmetic operations for 11.10+10.11+111.00+110.11+001.01=?11.10 + 10.11 + 111.00 + 110.11 + 001.01 = ??

Solution: Align binary points and add: 3.5+2.75+7+6.75+1.25=21.2510=10101.0123.5+2.75+7+6.75+1.25=21.25_{10}=\mathbf{10101.01_2}. Column-wise carry verification: fractional bits .10+.11+.00+.11+.01=.01.10+.11+.00+.11+.01=.01 with carry 2 into the units column, and integer sum 2121.

Solved Q14 (2024-25, 7m)

Q: Distinguish between POS & SOP. Convert the given expression in standard SOP form. F(A,B,C)=AB+BC+CAF (A, B, C) = AB + BC + CA

Solution: SOP is a sum of product (min)terms, POS a product of sum (max)terms. Expand each product to include all three variables: AB=ABCˉ+ABCAB=AB\bar C+ABC; BC=AˉBC+ABCBC=\bar ABC+ABC; CA=ABˉC+ABCCA=A\bar BC+ABC. Removing duplicates gives F=AˉBC+ABˉC+ABCˉ+ABC=Σm(3,5,6,7)F=\bar ABC+A\bar BC+AB\bar C+ABC=\Sigma m(3,5,6,7); equivalently F=ΠM(0,1,2,4)F=\Pi M(0,1,2,4).


8. Quick PYQ Coverage Index (remaining clusters)

Cluster / year Verbatim question (short form) Scored answer nucleus
u4-grp-02 (2023-24, 2025-26, 7m) Explain the basic laws and theorems of Boolean algebra. Section 3 law table plus De Morgan and consensus proofs.
u4-grp-05 (2024-25, 7m) Minimize the following Boolean function in POS form using the K map: f(A,B,C,D,E)=∏M(...)f(A,B,C,D,E)=\prod M(...). Five variables require two 4-variable maps; verified POS given in Section 4 (beyond stated 4-variable scope).
u4-grp-08 (2023-24, 7m) Realize NOT, AND, OR and XOR gates using NAND gate. See Solved Q8.
u4-grp-09 (2025-26, 3.5m) Define universal logic Gates. Realize XOR, XNOR gates using NAND and NOR gate only. NAND construction in Solved Q8; XNOR = inverter after XOR, NOR dual follows by De Morgan.
u4-grp-11 (2024-25, 2m) Why is NAND gate called a 'universal gate'? Realize NOT gate using NAND gate only. Any Boolean function can be implemented with NAND alone; NOT =A⋅A‾=\overline{A\cdot A}.
u4-grp-12 (2024-25, 2m) Why are NAND and NOR gates called universal gates? Each alone can realise NOT, AND, OR and hence any SOP/POS function.
u4-grp-13 (2023-24, 2m) Define the term "combinational logic" in digital electronics. Output depends only on present inputs, not on past states or clock.
u4-grp-15 (2024-25, 7m) Distinguish between POS & SOP. Convert the given expression in standard SOP form... See Solved Q14.
u4-grp-16 (2024-25, 7m) Prove the following using the Boolean algebraic theorems... Use A+AˉB=A+BA+\bar AB=A+B and De Morgan; note that the printed (i)/(iii) lines contain duplications and correct them.
u4-grp-18 (2024-25, 2m) What are the binary-arithmetic operations for ...? See Solved Q13.
u4-grp-20 (2023-24, 2m) Add binary numbers (1110.10+1011.11)2(1110.10 + 1011.11)_2. 14.5+11.75=26.25=11010.01214.5+11.75=26.25=\mathbf{11010.01_2}.
u4-grp-21 (2023-24, 2m) Simplify the Boolean function F=XY+XY′/Z+YZ′F = XY + XY'/Z + YZ'... See Solved Q10.
u4-grp-22 (2025-26, 7m) Determine the output voltage of the given following networks. (for figure-1 V1=0.2VV_1=0.2V and V2=0.5VV_2=0.5V) (for figure-2 V1=10VV_1=10V and V2=15VV_2=15V) Figure-dependent: apply ideal-diode test — a diode conducts if its anode voltage exceeds its cathode voltage; a conducting ideal diode clamps VA=VKV_A=V_K, otherwise it is open. Compare the two given node voltages node by node (no figure is available in the text record).
u4-grp-23 (2024-25, 2m) What are the binary-arithmetic operations for... See Solved Q13.

9. Practice Questions (Self-Test)

  1. (2m) Convert (255)10(255)_{10} to hex and binary. (Ans: FF, 11111111.)
  2. (2m) State De Morgan's theorems and verify A+AˉB=A+BA+\bar AB=A+B.
  3. (7m) Minimise F=Σm(0,2,4,6,7,12,14)+Σd(8,10)F=\Sigma m(0,2,4,6,7,12,14)+\Sigma d(8,10) and draw the AND–OR circuit.
  4. (7m) Implement Y=A⊕BY=A\oplus B using only NOR gates.
  5. (7m) Draw the full-adder logic diagram from S=A⊕B⊕CinS=A\oplus B\oplus C_{in} and Cout=AB+Cin(A⊕B)C_{out}=AB+C_{in}(A\oplus B).
  6. (7m) Explain, with a block diagram, how a 4:1 MUX routes one of four sensor lines to a microcontroller input.
  7. (7m) Distinguish SR and D flip-flops and state why the SR combination S=R=1S=R=1 is forbidden for a NOR latch.