Solved

1 byte is equal to 8 bit or not

Posted on 2006-07-22
7
7,413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

623 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