Describe data representation in computer
꧁ Digital Diary ༒Largest Writing Community༒꧂
Simple Definition: Computers are electronic machines. They only understand two states: ON (1) and OFF (0). Therefore, all types of data-numbers, text, images, sound-must be converted into a language of 1s and 0s for the computer to process, store, and transmit it. This language is called the binary number system.
सरल परिभाषा: कंप्यूटर बिजली से चलने वाली मशीनें हैं। वे सिर्फ दो ही states समझते हैं: ON (1) और OFF (0)। इसलिए, हर तरह का डेटा-नंबर, टेक्स्ट, तस्वीर, आवाज-को कंप्यूटर के लिए 1 और 0 की भाषा में बदलना पड़ता है। इस भाषा को बाइनरी नंबर सिस्टम कहते हैं।
The smallest unit of this data is called a Bit (Binary Digit). A group of 8 bits is called a Byte. One byte is enough to represent one character (like a letter 'A' or a number '5').
नंबरों को सीधे बाइनरी में बदला जाता है।
पूर्णांक (Integers): सीधे बाइनरी में कन्वर्ट किए जाते हैं।
नकारात्मक संख्याएं (Negative Numbers): इन्हें 2's Complement विधि से दर्शाया जाता है।
उदाहरण:
दशमलव (Decimal) 5 = बाइनरी 101
दशमलव 10 = बाइनरी 1010
हर अक्षर, अंक या प्रतीक (जैसे A, 5, @) का एक विशेष बाइनरी कोड होता है। इसे Encoding कहते हैं। सबसे common encoding standards हैं ASCII और Unicode।
उदाहरण (ASCII Code):
'A' = 01000001
'5' = 00110101
इमेज्स को छोटे-छोटे डॉट्स में बाँटा जाता है, जिन्हें पिक्सेल कहते हैं। हर पिक्सेल का एक रंग होता है, जिसे numbers से दर्शाया जाता है।
RGB Color Model:
हर रंग Red, Green, Blue के combination से बनता है।
हर colour की value 0 से 255 के बीच होती है।
उदाहरण: सफेद = (255, 255, 255), काला = (0, 0, 0)
ऑडियो एक तरंग (wave) होती है। कंप्यूटर इस wave को Sample करता है, यानि हर छोटे समयांतराल पर उसकी ऊँचाई (Amplitude) measure करता है और उसे एक number assign कर देता है। इस process को Analog to Digital Conversion (ADC) कहते हैं।
उदाहरण:
ज्यादा Samples = बेहतर Sound Quality
इन Samples को बाइनरी में store किया जाता है।
We are accepting Guest Posting on our website for all categories.
I want to Hire a Professional..
Sanjeev panday
@DigitalDiaryWefru