Solved

1 byte is equal to 8 bit or not

Posted on 2006-07-22
7
7,215 Views
Last Modified: 2008-01-09
1 byte is equal to 8 bit or not are There some case that it not equal
0
Comment
Question by:teera
7 Comments
 
LVL 10

Accepted Solution

by:
Joesmail earned 175 total points
ID: 17159879
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

In the article How CDs Work, you learn that a CD uses 2 bytes, or 16 bits, per sample. That gives each sample a range from 0 to 65,535, like this:
    0 = 0000000000000000
    1 = 0000000000000001
    2 = 0000000000000010
     ...
65534 = 1111111111111110
65535 = 1111111111111111

0
 
LVL 10

Assisted Solution

by:Joesmail
Joesmail earned 175 total points
ID: 17159883
Plagiarism from this article:
http://computer.howstuffworks.com/bytes.htm
0
 
LVL 17

Assisted Solution

by:BudDurland
BudDurland earned 50 total points
ID: 17159884
There were some variations of Unix that used 6,7,9,or 10 bit bytes, though I don't think they were in the majority
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 100 total points
ID: 17160052
A byte is 8 bits.  However there are also character "sets" or representation.  Example: ASCII is a 7-bit system.  Each character is represented by 7-bits, the 8th bit is (was) used for error checking as a parity bit.  EBCDIC is an 8-bit system, each character is represented by 8 bits.  There is Unicode which has both 8-bit and 16-bit characters, but a BTYE is still only 8 bits.  The 16-bit chracters are represented by 2 bytes.  There are other 16-bit character systems which are normally refered to as double byte character sets (DBCS).

It gets a bit more confusing.  As BudDurland stated there have been systems that use various other number of bits.  However for some of these it was because of how the hardware worked.  There have been computer system that have used other "bases" than ones that are multiple of 4.  IIRC HP's HP3000 were octal, or 7-bit systems.  But as I stated, this starts getting confusing because you are mixing data bus widths, memory addressing (physical and virtual) , word widths, physcally memory addressing, virtual memory addressing along with a few other "bits" of the many parts of a computer system.

Today most systems in used use 8-bits to represent 1 byte.  However 1 character could be represented by 7-bits, 8-bits or 16-bits.

0
 
LVL 2

Assisted Solution

by:Zolghadri
Zolghadri earned 25 total points
ID: 17160942
1  byte = 8 bit
1 kilobyte = 1024 byte
1 megabyte = 1024 kbyte
1 gigabyte = 1024 mbyte
1 terabyte = 1024 gbyte

Have a nice time
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17161527
and a nibble is half a byte.
0
 
LVL 1

Expert Comment

by:mbavisi
ID: 17164692
stupid question
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question