Binary Number System in Computer क्या है? 0 और 1 की पूरी जानकारी
जब हम Computer में कोई फोटो देखते हैं, WhatsApp पर message भेजते हैं, कोई song सुनते हैं या कोई file Download करते हैं, तो हमें लगता है कि Computer इन चीजों को सीधे समझ रहा है। लेकिन असल में Computer हमारी तरह Hindi, English या किसी दूसरी language को सीधे नहीं समझता। Computer के अंदर data को समझने और process करने के लिए मुख्य रूप से 0 और 1 का उपयोग किया जाता है।
इन 0 और 1 से बने number system को Binary Number System कहा जाता है। Computer Science में Binary की समझ बहुत जरूरी है, क्योंकि Digital Computer की working इसी concept पर आधारित है।
अगर आप Class 8–10 के student हैं और पहली बार Binary पढ़ रहे हैं, तो शुरुआत में 0 और 1 देखकर थोड़ा confusing लग सकता है। लेकिन इसका basic logic समझ लेने के बाद Binary काफी आसान हो जाता है।
Binary Number System क्या है?
Binary Number System एक ऐसा Number System है जिसमें केवल दो digits का उपयोग होता है:
- 0
- 1
इसी कारण Binary को Base-2 Number System भी कहा जाता है। इसके विपरीत हमारी सामान्य counting Decimal Number System में होती है, जिसमें 0 से 9 तक कुल 10 digits होते हैं।
| Number System | Base | Digits |
|---|---|---|
| Binary | 2 | 0, 1 |
| Decimal | 10 | 0–9 |
| Octal | 8 | 0–7 |
| Hexadecimal | 16 | 0–9, A–F |
Computer Binary Number System का उपयोग क्यों करता है?
Computer एक electronic machine है। इसके अंदर बहुत सारे electronic circuits और switches होते हैं। इन circuits में दो basic states को आसानी से represent किया जा सकता है—जैसे ON/OFF या High/Low.
इन्हीं दो states को digital system में 1 और 0 के रूप में represent किया जाता है। सरल शब्दों में:
1 = ON / High / Signal present
0 = OFF / Low / Signal absent
इसलिए Computer के लिए केवल दो states वाले Binary Number System को electronic circuits के साथ implement करना आसान और reliable होता है।
Binary Number की Basic Structure
Binary number में हर position की अपनी एक value होती है। Decimal में हम 10 की powers का उपयोग करते हैं, जबकि Binary में 2 की powers का उपयोग किया जाता है।
उदाहरण के लिए Binary number 1011 को देखें:
| Position | 3 | 2 | 1 | 0 |
|---|---|---|---|---|
| Power of 2 | 23 | 22 | 21 | 20 |
| Value | 8 | 4 | 2 | 1 |
| Binary Digit | 1 | 0 | 1 | 1 |
अब इसे calculate करें:
1011 = (1 × 8) + (0 × 4) + (1 × 2) + (1 × 1)
= 8 + 0 + 2 + 1 = 11
इसलिए Binary 1011 का Decimal value 11 है।
Bit और Byte क्या होते हैं?
Binary Number System समझते समय Bit और Byte को समझना भी जरूरी है।
Bit क्या है?
Bit का पूरा नाम Binary Digit है। एक Bit की value केवल 0 या 1 हो सकती है। इसलिए Bit Computer data की सबसे छोटी basic unit मानी जाती है।
उदाहरण:
0 = 1 Bit
1 = 1 Bit
Byte क्या है?
8 Bits = 1 Byte
उदाहरण के लिए:
10110101 में कुल 8 Binary digits हैं, इसलिए यह 1 Byte के बराबर है।
Computer storage में KB, MB, GB और TB जैसी units का इस्तेमाल किया जाता है, लेकिन इनके अंदर data आखिरकार Binary form में ही represent होता है।
Decimal से Binary Conversion कैसे करें?
Decimal number को Binary में बदलने का सबसे common तरीका Repeated Division by 2 है। इसमें number को बार-बार 2 से divide किया जाता है और remainder को note किया जाता है।
Example: Decimal 13 को Binary में बदलें
- 13 ÷ 2 = 6, remainder 1
- 6 ÷ 2 = 3, remainder 0
- 3 ÷ 2 = 1, remainder 1
- 1 ÷ 2 = 0, remainder 1
अब remainders को नीचे से ऊपर पढ़ेंगे:
1101
इसलिए:
Decimal 13 = Binary 1101
Binary से Decimal Conversion कैसे करें?
Binary को Decimal में बदलने के लिए प्रत्येक digit को 2 की corresponding power से multiply किया जाता है।
Example: Binary 10101
सबसे दाईं position से powers शुरू होती हैं:
24, 23, 22, 21, 20
अब calculation:
10101 = (1×16) + (0×8) + (1×4) + (0×2) + (1×1)
= 16 + 0 + 4 + 0 + 1 = 21
इसलिए Binary 10101 = Decimal 21.
Binary Number System का आसान Real-Life Example
Binary को समझने का एक आसान तरीका electric switch है। मान लीजिए आपके पास एक switch है। वह या तो ON होगा या OFF।
अब अगर आपके पास कई switches हों, तो ON और OFF की अलग-अलग combinations बन सकती हैं। Computer circuits में इसी तरह बहुत बड़ी संख्या में 0 और 1 की combinations से information represent और process की जाती है।
Binary Number System का Diagram
Human Data
↓
Text / Image / Audio / Video
↓
Computer Processing
↓
0 और 1
↓
Electronic Circuits
यह diagram सिर्फ concept समझाने के लिए है। वास्तविक Computer में data representation और processing इससे कहीं अधिक complex होती है, लेकिन Binary की basic idea इसी दो-state logic से जुड़ी है।
Binary में Place Value कैसे काम करती है?
Decimal में place values 1, 10, 100, 1000... होती हैं। Binary में place values 1, 2, 4, 8, 16, 32, 64... होती हैं।
यानी हर अगली position पर value पिछले position की दोगुनी हो जाती है।
| Binary Position | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|
| Value | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
इसी pattern को याद रखने से Binary conversion काफी आसान हो जाता है।
Binary Number System के Key Points
- Binary Number System का base 2 होता है।
- इसमें केवल 0 और 1 digits होते हैं।
- Binary digit को Bit कहा जाता है।
- 8 Bits = 1 Byte होता है।
- Binary में place values 1, 2, 4, 8, 16... होती हैं।
- Computer के digital circuits में two-state logic के कारण Binary का उपयोग किया जाता है।
- Decimal से Binary conversion में repeated division by 2 उपयोगी तरीका है।
- Binary से Decimal conversion में powers of 2 का उपयोग किया जाता है।
Binary पढ़ते समय होने वाली Common Mistakes
1. Remainder को गलत दिशा में पढ़ना
Decimal से Binary conversion में division के बाद मिले remainders को आमतौर पर last remainder से first remainder की ओर पढ़ा जाता है।
2. 2 की जगह 10 की powers लगाना
Binary में base 2 है, इसलिए 2 की powers इस्तेमाल होंगी। Decimal की तरह 10 की powers नहीं लगानी चाहिए।
3. Bit और Byte को एक समझना
Bit केवल एक Binary digit है, जबकि 8 Bits मिलकर 1 Byte बनाते हैं।
4. Binary number को सामान्य Decimal number की तरह पढ़ना
Binary 1010 का मतलब Decimal दस जरूर हो सकता है, लेकिन इसे केवल digits देखकर "एक हजार दस" नहीं पढ़ना चाहिए। इसका Decimal value place value से calculate होता है।
Expert Tip: Binary जल्दी सीखने का तरीका
अगर आप Binary conversion सीख रहे हैं, तो शुरुआत में 1 से 20 तक के Decimal numbers की Binary values लिखकर practice करें। इससे 2 की powers का pattern अपने आप समझ आने लगेगा।
पहले ये values याद करना काफी उपयोगी रहेगा:
1 = 1
2 = 10
3 = 11
4 = 100
5 = 101
8 = 1000
10 = 1010
15 = 1111
16 = 10000
Practical Exercise: खुद करके देखें
नीचे दिए गए Decimal numbers को Binary में convert करने की कोशिश करें:
- 7
- 9
- 12
- 18
- 25
अब Binary numbers को Decimal में बदलें:
- 101
- 111
- 1001
- 10110
- 11001
Practice Tip: पहले answer खुद निकालें और उसके बाद calculator या programming language से verify करें। केवल answer देखने से ज्यादा फायदा खुद calculation करने में होता है।
Binary Conversion का छोटा Source Code
अगर आप programming सीख रहे हैं, तो Python में Decimal number को Binary में बदलना काफी आसान है:
number = 13
binary = bin(number)
print(binary)
Output होगा:
0b1101
यहाँ 0b Python में Binary number को indicate करता है। वास्तविक Binary value 1101 है।
Interview Questions on Binary Number System
- Binary Number System का base क्या है?
Base 2. - Binary में कितने digits होते हैं?
दो—0 और 1. - Bit क्या है?
Bit Binary Digit का short form है और इसकी value 0 या 1 होती है। - 1 Byte में कितने Bits होते हैं?
8 Bits. - Binary 1010 का Decimal value क्या है?
10. - Decimal 8 का Binary क्या है?
1000.
MCQs: Binary Number System Quiz
Q1. Binary Number System का base क्या है?
- A) 2
- B) 8
- C) 10
- D) 16
Answer: A) 2
Q2. Binary Number System में कौन-से digits होते हैं?
- A) 1 और 2
- B) 0 और 1
- C) 0 से 9
- D) A से F
Answer: B) 0 और 1
Q3. Binary 101 का Decimal value क्या है?
- A) 3
- B) 4
- C) 5
- D) 6
Answer: C) 5
Q4. 8 Bits को क्या कहा जाता है?
- A) Bit
- B) Byte
- C) Nibble
- D) Word
Answer: B) Byte
Q5. Decimal 15 का Binary representation क्या है?
- A) 1010
- B) 1100
- C) 1111
- D) 1001
Answer: C) 1111
Binary Number System के बारे में जरूरी बातें
Binary केवल Computer की किताब में पढ़ाया जाने वाला एक chapter नहीं है। यही concept आगे चलकर Digital Electronics, Computer Architecture, Programming, Networking, Data Representation और कई दूसरे Computer Science topics को समझने में मदद करता है।
जब आप Bit, Byte, ASCII, Memory, Machine Language या Logic Gates जैसे topics पढ़ेंगे, तब Binary की जानकारी बार-बार काम आएगी। इसलिए केवल definition याद करने के बजाय conversion और place value की practice करना ज्यादा उपयोगी है।
PDF Notes कैसे तैयार करें?
इस article को आप अपने Computer या Mobile के browser में खोलकर Print → Save as PDF option का इस्तेमाल कर सकते हैं। इससे Binary Number System के ये notes PDF के रूप में save किए जा सकते हैं और बाद में revision के समय बिना Internet के भी पढ़े जा सकते हैं।
Frequently Asked Questions (FAQs)
1. Binary Number System क्या है?
Binary एक Number System है जिसका base 2 होता है। इसमें केवल 0 और 1 digits का उपयोग किया जाता है। Computer के digital circuits में two-state logic के कारण Binary बहुत महत्वपूर्ण है।
2. Computer केवल 0 और 1 को ही क्यों इस्तेमाल करता है?
Digital electronic circuits में दो अलग states को reliably represent करना आसान होता है। इन्हें सामान्य रूप से 0 और 1 से represent किया जाता है। इसी कारण Binary Computer systems का fundamental Number System है।
3. Binary Number System का base कितना होता है?
Binary Number System का base 2 होता है। इसलिए इसमें केवल दो digits—0 और 1—का उपयोग किया जाता है।
4. Bit और Byte में क्या अंतर है?
Bit एक Binary digit होता है जिसकी value 0 या 1 हो सकती है। 8 Bits मिलकर 1 Byte बनाते हैं। इसलिए Bit data की छोटी unit है, जबकि Byte आठ Bits का group है।
5. Binary 1101 का Decimal value कितना होगा?
1101 = (1×8) + (1×4) + (0×2) + (1×1) = 8 + 4 + 0 + 1 = 13। इसलिए Binary 1101 का Decimal value 13 है।
6. Decimal 10 को Binary में कैसे लिखेंगे?
10 को 2 से divide करने पर remainders 0, 1, 0, 1 मिलते हैं। इन्हें नीचे से ऊपर पढ़ने पर 1010 मिलता है। इसलिए Decimal 10 = Binary 1010.
7. क्या Binary Number System सीखना जरूरी है?
अगर आप Computer Science, Programming या Computer की basic working समझना चाहते हैं, तो Binary की basic knowledge बहुत उपयोगी है। खासकर Number System, Memory, Digital Logic और Computer Architecture जैसे topics में इसका लगातार उपयोग होता है।
8. Binary conversion सीखने का सबसे आसान तरीका क्या है?
पहले 2 की powers—1, 2, 4, 8, 16, 32, 64—का pattern समझें। इसके बाद छोटे Decimal numbers को Binary में और Binary numbers को Decimal में बदलने की रोज थोड़ी practice करें। कुछ दिनों में conversion काफी आसान लगने लगेगा।
Conclusion
Binary Number System Computer Science की सबसे basic और महत्वपूर्ण concepts में से एक है। इसमें केवल 0 और 1 का इस्तेमाल होता है और इसका base 2 होता है। Computer के electronic circuits की two-state nature के कारण Binary digital systems के लिए बहुत उपयोगी है।
शुरुआत में 0 और 1 की लंबी series देखकर Binary मुश्किल लग सकती है, लेकिन place value और 2 की powers का logic समझ आने के बाद पूरा concept सीधा हो जाता है। Decimal से Binary और Binary से Decimal conversion की थोड़ी practice करें, फिर Bit और Byte जैसे concepts को जोड़कर पढ़ें।
अगर आप Computer Science के student हैं, तो इस topic को अच्छी तरह समझना आगे के कई chapters को आसान बना देगा। ऊपर दिए गए exercises और MCQs को बिना देखे हल करके अपनी तैयारी को जरूर check करें।

टिप्पणियाँ
एक टिप्पणी भेजें