Here are the complete, step-by-step mathematical solutions for all 6 missing edge-case puzzles.

I have formatted them exactly using your [!example] callout blocks so you can literally copy and paste them straight into the bottom of their respective Chapter files in your Obsidian vault.


πŸ“‹ To add to: 02 Chapter 2 - Digital Codes.md

PYQ Master Puzzle (2022): The 12-Bit Register Decoder Question: The state of a 12-bit register is 100010010111. What is its content if it represents: (i) Three decimal digits in BCD? (ii) Three decimal digits in the excess-3 code? (iii) Three decimal digits in the 8-4-2-1 code? (iv) A binary number?

Solution Methodology: First, divide the 12-bit string into three 4-bit nibbles: 1000, 1001, 0111.

(i) As BCD (Standard 8421): Evaluate each 4-bit block directly into decimal.

  • 1000 = 8
  • 1001 = 9
  • 0111 = 7
  • Answer: 897

(ii) As Excess-3 Code: Excess-3 is generated by adding 3 (0011) to the decimal digit. To decode it, we must subtract 3 from each nibble.

  • 1000 (8) - 3 = 5
  • 1001 (9) - 3 = 6
  • 0111 (7) - 3 = 4
  • Answer: 564

(iii) As 8, 4, -2, -1 Code: Apply the specific mathematical weights to each bit in the nibble: .

  • 1000 = 8
  • 1001 = 7
  • 0111 = 1
  • Answer: 871

(iv) As a pure Binary Number: Evaluate the entire 12-bit string as a single base-2 integer.

  • Answer: 2199

πŸ“‹ To add to: 03 Chapter 3 - Boolean Algebra.md

PYQ Master Proof (2018): Duality & Deep Complementation Question: What is duality principle? Find the complement of the following Boolean function and reduce this complement function to a minimum number of literals:

Part A: The Duality Principle The Duality Principle states that every valid Boolean algebraic expression remains valid if we mathematically interchange all AND () operators with OR () operators, and simultaneously interchange all 0s with 1s, while keeping the variables themselves completely unchanged (do not complement the literals).

Part B: Simplification and Complementation Before blindly applying De Morgan’s theorem to the whole massive equation, it is mathematically safer to simplify the original function first. Original Function: Step 1: Apply De Morgan’s to the inner terms. Step 2: Apply the Distributive Law. Step 3: Apply the Null Law (). Step 4: Rearrange (Commutative Law).

The Final Complement: Since the original function perfectly reduces to absolute , its complement is simply: The minimum number of literals is zero (it requires no variables, just a constant HIGH wire).

PYQ Master Problem (2016): POS Canonical Extraction Question: Given the function , construct the truth table and express the function in maxterm and minterm forms.

Step 1: Identify the Maxterms The function is given in strict Canonical Product of Sums form. A maxterm evaluates to 0 when its uncomplemented variables are 0 and its complemented variables are 1.

  • Maxterm Form:

Step 2: Identify the Minterms The minterms are simply all the remaining decimal states not covered by the maxterms. Since there are 3 variables, the domain is 0 to 7. Minterm Form:

Step 3: Construct the Truth Table Write the 8 states. Place a 0 at rows 1, 3, 5, and 7. Place a 1 everywhere else. | A B C | f(A,B,C) | | :---: | :---: | | 0 0 0 | 1 | | 0 0 1 | 0 | | 0 1 0 | 1 | | 0 1 1 | 0 | | 1 0 0 | 1 | | 1 0 1 | 0 | | 1 1 0 | 1 | | 1 1 1 | 0 |

Class Test 01: SOP vs POS Gate Optimization Question: Given a) Convert into canonical SOP. b) Which implementation (SOP or POS) requires fewer logic gates?

Part A: Canonical SOP The minterms are the exact inverse of the given maxterm list for a 4-variable system (0-15).

  • Minterms =
  • Canonical SOP =

Part B: Gate Optimization Justification To determine which implementation requires fewer gates, we must simplify both using a K-map.

  • SOP Simplification: Plotting the 1s yields a group of four () and a second group of four (). .
  • POS Simplification: Plotting the 0s yields . Complementing to find F gives .
  • Conclusion: Both simplified expressions mathematically reduce to the exact same logic (an XOR gate, or 2 ANDs + 1 OR). Therefore, both SOP and POS require the exact same number of logic gates.

πŸ“‹ To add to: 04 Chapter 4 - Universal Gates.md

PYQ Master Design (2015): The 2-NOR Gate Limit Puzzle Question: Implement , with don't cares , using no more than Two NOR gates. Assume normal and complement inputs are available.

Step 1: Expand into Minterms We must translate the raw algebra into decimal minterms to safely plot a K-map.

Step 2: Group the Zeros () for NOR Logic Because a NOR gate generates inverted OR logic , we purposefully simplify for (the zeros on the K-map) to easily map it to the hardware. The zeros are the remaining cells: .

  • Grouping with creates an 8-cell block:
  • Grouping with creates a pair:
  • Therefore, the simplified complement is:

Step 3: The 2-NOR Implementation Since , double complementing gives us :

  • NOR Gate 1: We need to generate the term using a NOR gate. Since inputs can be pre-inverted, feed and into the first NOR gate. Apply De Morgan’s:
  • NOR Gate 2: Feed and into the second NOR gate.

Proof Complete: We successfully implemented the complex function using exactly two NOR gates!

PYQ Note (2023): Circuit Analysis to Single Gate Note: While the 2023 exam provided a specific visual circuit (Fig 2c) to reduce to a single gate, the universal methodology for this question type is Mano's Intermediate Variable method.

  1. Assign variables () to the outputs of the first level of gates.
  2. Cascade the equations forward until you derive the final Boolean equation.
  3. Use Boolean algebra to simplify. If a 10-mark question asks you to β€œreduce to a single gate,” the algebraic mess will always factor down into either an XOR or an XNOR equation!