Loading…
Loading…
Charting your lesson…
Opening your lesson…
Number Systems, Codes and Boolean Algebra
Lesson 1 of 3
6 steps•about 11 min•12 flashcards
Step 1/ 61 min
Digital design starts with two fundamentals: how numbers are represented (binary, hex, signed, BCD, Gray) and how logic is manipulated (Boolean algebra). Get fluent here and radix conversion, 2's-complement arithmetic, and expression simplification become instant. GATE reliably opens Digital with a conversion or a Boolean-identity question.
Core concept: Numbers are encoded in positional and special codes; Boolean algebra provides the axioms (De Morgan, distributivity) to manipulate and minimise logic expressions.
Step 2/ 61 min
Positional value: each digit weighted by radix^position. Convert decimal→binary by repeated division (integer part) and multiplication (fraction). Hex (base 16) groups 4 bits; octal groups 3 bits. Key codes:
Axioms and theorems that drive simplification:
Step 3/ 61 min
Convert decimal −20 to 8-bit 2's complement, and simplify F = A + A'B.
−20: +20 = 0001 0100. Invert → 1110 1011. Add 1 → 1110 1100 (= 0xEC).
Simplify: F = A + A'B = (A + A')(A + B) = 1·(A + B) = A + B (absorption theorem).
Step 4/ 61 min
1–2 mark NAT/MCQ: radix conversions, 2's-complement arithmetic and overflow, BCD/Gray/excess-3 codes, Boolean simplification via De Morgan/consensus/absorption, and functional completeness of NAND/NOR. Foundation for everything downstream.
Step 5/ 61 min
Detecting overflow from a carry-out of the MSB in 2's-complement addition. A carry-out alone does not mean overflow. Overflow occurs only when the carry into the MSB differs from the carry out of the MSB (equivalently, two same-sign operands produce an opposite-sign sum).
Step 6/ 6· Worked examples1 min
Problem
(a) Convert the decimal number 45.625 to binary. (b) Using 4-bit two's-complement arithmetic, compute 5 − 3 and verify the result.
Try it on paper first.
Recall
Keep this
Boolean algebra simplifies logic; 2's complement enables signed arithmetic with a single adder.
Number systems, codes and Boolean algebra are the language of digital design and the entry point to the ~9-mark Digital Circuits section. GATE EC tests base conversion, complements, code properties and Boolean simplification (1–2 marks).
| Item | Key fact |
|---|---|
| 2's complement | invert + 1; unique zero |
| Gray code | one bit changes at a time |
| BCD | 4-bit decimal (0–9 valid) |
| De Morgan | (A+B)'=A'B' |
| Range (2's comp, n) | −2^{n−1} … 2^{n−1}−1 |
1–2 marks: base conversions, 2's-complement arithmetic/range, code conversion (Gray/BCD), or Boolean simplification via laws/De Morgan.
Convert via nibble/triplet grouping. 2's comp = invert+1 (range −2^{n−1}…2^{n−1}−1). Gray = single-bit change (B XOR B>>1). De Morgan flips AND/OR with complements. SOP = minterms, POS = maxterms.
You've read 0 of 6 steps
Now lock it in — questions straight after reading are what make it stick.