CIS3355:
Business Data Structures |
How many bits do we need to group together and why?? Actually, the real question should be: What information do we need to represent? As we previously saw, once we know how many pieces of information we need to represent, we can readily determine the number of bits we need: I = Bn Naturally, we would like to represent all available infomation. However, if the amount of information available is infinite (maybe), then we would need an infinite number of bits (obviously, that is impossible). For the early computer architects, this issue was extremely troublesome. The materials needed to build and control the "bits" was very expensive (the core memory donuts were often coated in gold, as was the wiring) as was the labor needed (for early computers, all the wiring was strung by hand). Keeping the number of bits grouped together at a minimum was a necessity. So, what they did decide on? Each group of computer manufacturers came up with their own schemes, but there were some commonly shared opinions. They wanted to be able to represent:
If we total up the symbols above, we come-up with (about) 112 symbols that we would like to represent. We know that we will need 7 bits to represent 112 symbols. How do we know that?? Because given 6 bits, we can only represent 26 = 64 symbols (not enough) whereas with 7 bits we can represent 27 = 128 symbols(which will do it)
I
Don't believe that at all!!! That is true. However, the early sharacter set consisted of 128 characters (using 7 bits). In fact, the standard ASCII character set (which we will discuss later) still consists of 128 characters. Then why is a byte 8-bits?? We will discuss that in the next tutorial. However, it has to do with trying to catch transmission errors. But if 128 characters were available, and they only needed about 112, what happened to the remaining combinations?? They were used. There was no shortages of symbols that architects wanted to represent. Some good references include: At this point in time, you should be able to Answer the following questions:
|