Digital Electronics Number System
Agar aap Digital Electronics padh rahe ho, toh sabse pehla concept jisse aapki understanding strong hogi, woh hai Number System. Number system ke bina aap binary logic, gates, flip-flops sab kuch confuse kar doge. Is blog post me hum detail me discuss karenge:
- Decimal (Base 10)
- Binary (Base 2)
- Octal (Base 8)
- Hexadecimal (Base 16)
- Conversion Tricks & Shortcuts
1. Decimal Number System (Base 10)
Decimal system hum sab roz use karte hain: 0 se 9 tak ke digits. Iska base hota hai 10. Kisi bhi decimal number ka weight position ke hisaab se decide hota hai. For example:
= 5 × 102 + 8 × 101 + 6 × 100
= 500 + 80 + 6 = 586
Trick: Har digit ko uske position ka power multiply karo. Zero-based indexing: ones place 100, tens 101 etc.
2. Binary Number System (Base 2)
Electronics circuits me data sirf 0 aur 1 se represent hota hai. Isliye binary system sabse important hai. Iska base hota hai 2. Position weights: 20, 21, 22…
= 1×24 + 0×23 + 1×22 + 1×21 + 0×20
= 16 + 0 + 4 + 2 + 0 = 22
Short Trick: Leftmost bit highest weight. Agar binary lamba hai, toh grouping ya calculator use karlo. Ya phir practice se speed badhao!
3. Octal Number System (Base 8)
Octal me digits 0 se 7 tak. Base = 8. Binary se octal conversion bahut fast hota hai, kyunki 3 bits = 1 octal digit.
Binary: 110101
Group from right in sets of 3: 110 101
1102 = 6, 1012 = 5 → 658
Reverse: 658 → 6→110, 5→101 → 1101012.
4. Hexadecimal Number System (Base 16)
Hex me digits 0–9 aur A–F (10–15). Base = 16. Binary se convert karna even easier: 4 bits = 1 hex digit.
1110 1101 → 11102=E, 11012=D → ED16
Note: Hexadecimal memory addresses, color codes (CSS me #FF00AA), sab me use hota hai.
5. Conversion Tricks & Steps
- Decimal → Binary: Divide by 2 repeatedly, write remainders bottom-to-top.
- Binary → Decimal: Bit × weight ka sum.
- Binary ↔ Octal/Hex: Group bits (3/4), then convert group-by-group.
- Decimal → Octal/Hex: Divide by base (8/16), write remainders.
Pro Tip: Conversion tables yaad rakhne se speed milti hai. Jaise hex digits A=1010, B=1011, …
6. Real-World Examples
- Microcontroller Programming: LED on/off bits, register values.
- Memory Addressing: Hex addresses, pointers.
- Digital Logic: Truth tables me binary combinations.
- Networking: IPv6 addresses in hex.
7. Common Mistakes & How to Avoid
- Grouping wrong side se: Hamesha LSD (Least Significant Digit) se grouping start karein.
- Digits overflow: Octal me 8 ya 9 nahi hote.
- Case sensitivity: Hex me A–F uppercase likhne se clarity hoti hai.
8. Quick Revision Tips
Revision ke liye flashcards banao, conversion chart laminate karo, daily 5 questions solve karo. Group study bhi helpful hai: ek dusre ko quiz do.
9. FAQs
Q: Binary me negative numbers kaise represent karte hain?
A: Two’s complement method use karte hain: invert bits + 1.
Q: Octal vs hex: kaunsa zyada common hai?
A: Hex zyada common, lekin octal 1970s me UNIX file permissions me use hota tha.
10. Conclusion
Toh dosto, number system ke basics samajh aaye? Decimal, Binary, Octal, Hex – sab ka role clear hai? Ye short tricks aur examples agar aap roz practice karo, toh exam me 100% assured marks milenge! Apne theory strong karo, phir circuits aur logic design khud-ba-khud easy lagengi.
Download Handwritten PDF Notes