Member • Aug 15, 2011
1 BYTE = 8 bits
he asked me to prove
1 byte = 8 bits
i couldnot do that?
plz you too try dis...how can we prove this....
Member • Aug 15, 2011
Member • Aug 15, 2011
Administrator • Aug 15, 2011
Member • Aug 15, 2011
still i am confuse why 1<=> 8 relation is made, why not 1<=> 4 (2^2 =4) or 1 <=> 16 (2^4 = 16)?The_Big_KThere's nothing to prove. It's like asking to prove 1KG = 1000 grams. The bit, byte system has been adopted because this system can represent unsigned integer from zero through 255 or any signed integer from -128 to 127. The relation 1 <=> 8 is offered because the semiconductors store data in terms of positive (1) and neutral (0) voltages which leads us to using binary system. 2[SUP]3[/SUP] = 8.
CS experts - am I right?
Administrator • Aug 15, 2011
I'm glad that you asked this question. This could be a very good Interview question. The explanation of this can be found on this page: #-Link-Snipped-#jcksnstill i am confuse why 1<=> 8 relation is made, why not 1<=> 4 (2^2 =4) or 1 <=> 16 (2^4 = 16)?
[SIZE=+2]Bytes[/SIZE]Go through the link I mentioned above for details 😀
Bits are rarely seen alone in computers. They are almost always bundled together into 8-bit collections, and these collections are called bytes. Why are there 8 bits in a byte? A similar question is, "Why are there 12 eggs in a dozen?" The 8-bit byte is something that people settled on through trial and error over the past 50 years.
With 8 bits in a byte, you can represent 256 values ranging from 0 to 255, as shown here:
0 = 00000000
1 = 00000001
2 = 00000010
...
254 = 11111110
255 = 11111111
Member • Aug 15, 2011
Member • Aug 15, 2011
Why eight? The earliest computers could only send 8 bits at a time, it was only natural to start writing code in sets of 8 bits. This came to be called a byte.
Member • Aug 16, 2011
Member • Aug 17, 2011
Member • Sep 9, 2011
Member • Sep 9, 2011
what I knew:Arjunowhat i knew:
1 Byte = 4 nibbles = 8 bits