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:
- 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.
- Four verified groupings to rehearse: ; ; ; .
- Number systems: binary by repeated division, fraction by repeated multiplication; use 4 bits per hex digit and 3 bits per octal digit; in 's-complement subtraction, discard the end carry, and if no carry appears the answer is negative.
- Gate identities: NOT tied inputs; AND followed by NOT; OR of inverted inputs; XOR implementations with four NANDs. De Morgan: , .
- Last 20 minutes: write the half-adder () and full-adder () equations and the SR/D flip-flop characteristic tables.
1. Number Systems, Complements and Binary Arithmetic
1.1 Positional notation
A number has value . Binary uses (bits 0/1), octal , decimal , hexadecimal (digits 0–9, A–F).
| Conversion | Method | Worked example |
|---|---|---|
| Decimal → binary | Repeated division by 2; fraction by repeated multiplication | |
| Binary → decimal | Sum powers of 2 | |
| Hex → binary | 4 bits per hex digit | |
| Binary → octal | Group 3 bits about the point | |
| Octal → decimal | Sum powers of 8 | |
| Decimal → BCD | Code each decimal digit by 4 bits |
1.2 Complements and subtraction
For binary: 1's complement = flip every bit; 2's complement = flip bits and add 1. To compute , add the complement of to . 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:
- : 2's complement of ; , discard carry ⇒ .
- : align as ; 1's complement of ; sum with no carry ⇒ result negative; complement (check ).
- : 1's complement , 2's complement .
- ().
Finding an unknown base: ; , positive root . Similarly .
2. Logic Levels, Gates and Universal Realisation
TTL levels: LOW , HIGH (undefined between). CMOS: LOW , HIGH .
| Gate | Boolean expression | Truth-table output (00,01,10,11) |
|---|---|---|
| AND | 0, 0, 0, 1 | |
| OR | 0, 1, 1, 1 | |
| NOT | 1, 0 (for A=0,1) | |
| NAND | 1, 1, 1, 0 | |
| NOR | 1, 0, 0, 0 | |
| XOR | 0, 1, 1, 0 | |
| XNOR | 1, 0, 0, 1 |
NAND/NOR are universal because any Boolean function (including NOT, AND, OR) can be built from them alone:
- NOT: (both NAND inputs tied).
- AND: .
- OR: using two tied-input NANDs as inverters.
- XOR with NANDs: , , , . XNOR adds one more NAND inverter.
- NOR equivalents follow dually: NOT , OR , AND .
Examiner Tip: In NAND/XOR realisation questions, draw each intermediate gate with its expression written beside it (, 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 | , | , |
| Idempotent | , | — |
| Complement | , | — |
| Commutative/Associative | , | same for |
| Distributive | ||
| Absorption | , | — |
| Consensus | ||
| De Morgan |
Verified proofs:
- .
- (sum of all four minterms).
- .
- written properly means . Using consensus ; the term cannot be dropped because makes the function 1.
- Standard SOP uses minterms ( for 3 variables); standard POS uses maxterms. For , the minterms where are 3, 5, 6, 7, so and .
Caution on printed identities: Some question-bank lines contain typographical duplications (for example , whose left side actually reduces to ; the intended identity is ). 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 and column label in Gray order 00, 01, 11, 10. Minterm numbers increase in Gray order, so adjacent cells differ in exactly one variable.
- Put 1 for each minterm, X for each don't-care, 0 elsewhere.
- Form the largest possible power-of-two groups (1, 2, 4, 8, 16); wrap top/bottom rows and left/right columns; corners are adjacent.
- Cover every 1 at least once; use X's only if they enlarge a group.
- 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 |
|---|---|---|
| Don't-cares complete the octet/quads; POS form | ||
| Cell 14 is isolated except through the pair | ||
| The two don't-cares make a clean quad; POS | ||
| One octet of all odd cells plus one quad | ||
| SOP | POS |
A 5-variable POS such as needs two 4-variable maps ( and ); it is beyond the stated “up to 4 variables” scope but the verified POS is .
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: where each 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
| 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 |
A half adder has : , . Cascading full adders forms a ripple-carry ALU adder; carry propagation delay grows with word length.
5.2 Multiplexer (MUX)
A :1 MUX selects one of data inputs using select lines: . A 4:1 MUX has ; 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) | D FF | ||
|---|---|---|---|
| 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.
6. Product-Level Links
| 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 to its decimal value (ii) Subtract using 1's complement: . (iii) Calculate the 1's and 2's complement of binary number . (iv) Subtract using 2's complement: . (v) Convert into BCD.
Solution:
- (i) .
- (ii) Align ; 1's complement of subtrahend ; sum with no carry ⇒ negative; recomplement , so result .
- (iii) 1's complement ; 2's complement .
- (iv) 2's complement of ; , discard carry ⇒ .
- (v) .
Solved Q2 (2023-24, 7m)
Q: Perform the following as mentioned: (i) Convert to binary number. (ii) Convert to decimal number. (iii) Convert to octal number. (iv) Perform subtraction using complement . (v) Design AND, OR, and NOT gates using only NOR gates.
Solution:
- (i) , , : .
- (ii) .
- (iii) .
- (iv) Align ; 2's complement of ; , no carry ⇒ negative; 2's complement of , result .
- (v) NOT ; OR ; AND .
Solved Q3 (2023-24, 2025-26, 7m)
Q: Simplify the function 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
Implementation: four 2-input AND gates generate , , and (inverters supply complements); feed the four products into a 4-input OR gate (or three 2-input ORs). Spot-check minterm 12 (): , output 1 as required.
Solved Q4 (2024-25, 7m)
Q: Minimize the four variable logic function using K-map:
Solution: Grouping the top-left quad, the wrap-around quad in , etc., gives
The isolated minterm 14 () forces the five-literal product ; check that no larger group contains it. Draw AND–OR implementation from the five product terms.
Solved Q5 (2024-25, 7m)
Q: Simplify using K-Map and design logic resultant circuit using basic logic gates.
Solution: Use to extend the groups; the verified minimum is . Two AND gates (, ) feeding one OR gate implement it. POS alternative: .
Solved Q6 (2023-24, 7m)
Q: Simplify the following function using K-map . Also implement the simplified function using basic gates only.
Solution: All cells with except a few plus a quad at produce the verified result . Implementation: one inverter for , one AND gate for , one OR gate combining it with .
Solved Q7 (2023-24, 7m)
Q: Simplify the function using K-map and implement the simplified expression using NOR gates only.
Solution: Group the zeros; verified POS is , while the equivalent SOP is . For NOR-only, implement each product as a complemented NOR: etc., then NOR the complemented products: . Double negation preserves and uses only NOR gates.
Solved Q8 (2023-24, 7m)
Q: Realize NOT, AND, OR and XOR gates using NAND gate.
Solution:
- NOT: .
- AND: .
- OR: , where , come from tied-input NANDs.
- XOR: , , , . Verify ; .
Solved Q9 (2025-26, 3.5m)
Q: Prove the following Boolean functions: and .
Solution:
- .
- .
Solved Q10 (2024-25, 2m)
Q: Simplify the Boolean function using Boolean algebra.
Solution: Interpreting the typed as , . Group using . Thus ; this is minimal — none of the three products is redundant (test ).
Solved Q11 (2025-26, 2m)
Q: Determine base of the following: (i) (ii) .
Solution:
- , so ; discriminant , .
- , so ; discriminant , .
Solved Q12 (2024-25, 2m)
Q: Find 1's and 2's complement of .
Solution: 1's complement (invert bits) ; add 1 to get 2's complement .
Solved Q13 (2024-25, 2m)
Q: What are the binary-arithmetic operations for ?
Solution: Align binary points and add: . Column-wise carry verification: fractional bits with carry 2 into the units column, and integer sum .
Solved Q14 (2024-25, 7m)
Q: Distinguish between POS & SOP. Convert the given expression in standard SOP form.
Solution: SOP is a sum of product (min)terms, POS a product of sum (max)terms. Expand each product to include all three variables: ; ; . Removing duplicates gives ; equivalently .
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: . | 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 . |
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 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 . | . |
u4-grp-21 (2023-24, 2m) |
Simplify the Boolean function ... | See Solved Q10. |
u4-grp-22 (2025-26, 7m) |
Determine the output voltage of the given following networks. (for figure-1 and ) (for figure-2 and ) | Figure-dependent: apply ideal-diode test — a diode conducts if its anode voltage exceeds its cathode voltage; a conducting ideal diode clamps , 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)
- (2m) Convert to hex and binary. (Ans: FF, 11111111.)
- (2m) State De Morgan's theorems and verify .
- (7m) Minimise and draw the AND–OR circuit.
- (7m) Implement using only NOR gates.
- (7m) Draw the full-adder logic diagram from and .
- (7m) Explain, with a block diagram, how a 4:1 MUX routes one of four sensor lines to a microcontroller input.
- (7m) Distinguish SR and D flip-flops and state why the SR combination is forbidden for a NOR latch.