Loading...
Loading...
| System | Base | Digits | Example | |---|---|---|---| | Binary | 2 | 0,1 | 1010₂ | | Octal | 8 | 0-7 | 12₈ | | Decimal | 10 | 0-9 | 10₁₀ | | Hexadecimal | 16 | 0-9, A-F | A₁₆ |
Decimal → Binary: divide by 2, collect remainders (LSB first)
10 ÷ 2 = 5 r0
5 ÷ 2 = 2 r1
2 ÷ 2 = 1 r0
1 ÷ 2 = 0 r1 → 1010₂
Binary → Decimal: multiply by powers of 2
1010₂ = 1×8 + 0×4 + 1×2 + 0×1 = 10₁₀
Hex → Binary: each hex digit = 4 bits
A3F₁₆ = 1010 0011 1111₂
1's complement: flip all bits 1010 → 0101
2's complement: 1's comp + 1 1010 → 0110
-5 in 8-bit 2's complement:
5 = 00000101
1's comp = 11111010
2's comp = 11111011 = -5
Universal Gates:
Implementing NOT using NAND:
A ──┬── NAND ── Y (= A')
└──/
Implementing AND using NAND:
A ── NAND₁ ── NAND₂ ── Y (= A·B)
B ──/
Basic Laws:
| Law | AND form | OR form | |---|---|---| | Identity | A·1 = A | A+0 = A | | Null | A·0 = 0 | A+1 = 1 | | Idempotent | A·A = A | A+A = A | | Complement | A·A' = 0 | A+A' = 1 | | Double complement | A'' = A | — |
De Morgan's Theorems:
(A·B)' = A' + B' ← NAND = NOT-OR
(A+B)' = A'·B' ← NOR = NOT-AND
Simplification Example:
F = AB + AB' + A'B
= A(B+B') + A'B
= A·1 + A'B
= A + A'B
= A + B (absorption: A + A'B = A + B)
Graphical method to simplify Boolean expressions.
2-variable K-Map:
B' B
A' [ 0 | 1 ]
A [ 2 | 3 ]
Rules for grouping:
Example:
F(A,B,C) = Σm(0,1,2,3,4,5)
K-Map:
C'D' C'D CD CD'
AB' [ 1 | 1 | 1 | 1 ]
AB [ 1 | 1 | 0 | 0 ]
Groups: top row (4) = B', left two cols (4) = C'
F = B' + C'
Sum = A ⊕ B
Carry = A·B
Sum = A ⊕ B ⊕ Cin
Carry = A·B + Cin(A ⊕ B)
S=0, R=0 → No change
S=1, R=0 → Q=1 (Set)
S=0, R=1 → Q=0 (Reset)
S=1, R=1 → Invalid!
On clock edge: Q(next) = D
Use: Registers, memory, shift registers
J=0, K=0 → No change
J=1, K=0 → Q=1 (Set)
J=0, K=1 → Q=0 (Reset)
J=1, K=1 → Q' (Toggle!)
T=0 → No change
T=1 → Toggle (Q = Q')
Use: Counters
Asynchronous (Ripple) Counter:
Synchronous Counter:
Shift Register:
Applications: Data conversion, delay lines, digital filters
| Type | Volatile? | Writable? | Use | |---|---|---|---| | SRAM | Yes | Yes | Cache memory | | DRAM | Yes | Yes | Main RAM | | ROM | No | No | BIOS | | PROM | No | Once | Programmable ROM | | EPROM | No | UV erase | Erasable PROM | | EEPROM | No | Electrically | Flash drives | | Flash | No | Block erase | SSDs, USB drives |
Digital Electronics complete notes — number systems, logic gates, Boolean algebra, combinational and sequential circuits for B.Tech IT Sem 1.
48 pages · 2.2 MB · Updated 2026-03-11
NAND gate se koi bhi logic function implement kiya ja sakta hai — AND, OR, NOT sab NAND gates se bana sakte hain. Isliye ise universal gate kehte hain. NOR bhi universal gate hai.
Combinational circuit — output only current input pe depend karta hai, memory nahi hoti (adder, multiplexer). Sequential circuit — output current + past inputs pe depend karta hai, memory/state hoti hai (flip-flops, counters, registers).
D flip-flop — D input clock edge pe Q pe aata hai, simple, used for registers. JK flip-flop — J=K=1 pe toggle karta hai, no invalid state (unlike SR), versatile.
Java Programming — Complete Notes for B.Tech IT Semester 3
Java Programming
Web Technologies — HTML, CSS, JavaScript, Node.js Complete Notes
Web Technologies
Cloud Computing Notes — B.Tech IT Sem 5
Cloud Computing
Information Security Notes — B.Tech IT Sem 6
Information Security
Operating System Complete Notes + Viva Questions — IT Sem 4
Operating System
Your feedback helps us improve notes and tutorials.