the smallest unit of information you can store in a computer is a 1 or a 0. the memory cell (its called a bit) can not keep more than these two valuse , think of it as a switch that is turned on or off.
A machine language is not composed of single bits. No , the bits ( that holds either a 1 or 0 ) are grouped into words of 8 / 16 32 / 64 bits. So the one who told you that a machine language is composed of 1 and 0 is partly wrong partly right
do you feel helped now ?
2007-02-27 07:38:46
·
answer #1
·
answered by gjmb1960 7
·
0⤊
1⤋
Binary offers a simple "on" -- a 1, or "off" -- a 0. This is called base 2 or a numbering system with just those 2 digitis I just told you about. Such a number system allows a simple wiring diagram. The pursuit at first in computer science was logic diagrams -- is it true? turn the switch on. Is it false? -- turn the switch off. OK, that last circuit was "true", now store that and compute the next logic...
We use a string of binaries in chunks of 8 on/off to represent one letter of the alphabet. This concept is called the Octals -- base 8. We merely assigned a number to each letter of the alphabet.
Memory has location addresses and the addresses are in base 16 -- 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Base 2 and Base 16 go well together. Both number systems allow economical wiring and logical math. You will also see base 16 used a lot in web pages to command a color.
We use three 2-digit base-16 numbers in one name for a color. # FF FF FF is an example. 16 x 16 = 256 and that is the scale -- 0 to 255 of how much red, how much green and how much blue to mix for web page colors from color cube we call RGB. 16-bit numbers makes for shorter "words" to bus into the CPU to translate our command deep within the computer to use it's binary switches.
When computer science was first evolving the Russians were busy trying base 3. The thinking was electrical circuits could be made much faster. It soon became evident that the complexity of the wiring diagrams just wouldn't work.
2007-02-27 08:00:05
·
answer #2
·
answered by Anonymous
·
0⤊
0⤋
Other numbers could have been used but, actually, all that was needed was two symbols to represent "off" and "on" (or "true" and "false") --the two possible states of an electric switch ... and the 0's and 1's had historical precedent in symbolic logic and the binary mathematics (especially in the "Boolean algebra" developed by George Boole) ... so that it was both convenient & reasonable to use those traditional symbols rather than changing to something new (which, in fact, was never considered). See the links below.
(But if anyone prefers, then instead of 1's and 0's, they could just as well use A's & B's or Plus & Minus or Black & White or any other pair.)
.
2007-02-27 07:40:08
·
answer #3
·
answered by yahoohoo 6
·
0⤊
0⤋
All the ways in which digital data are stored, transmitted, or processed need some way to physically encode that data. Many things can have two easily distinguished states - on-off, open-closed, light-dark, magnetized-unmagnetized, high-low, etc. , that can be assigned a value of 1 or 0. So binary code is used because it is easy to implement in a variety of physical media, such as magnetic disks, circuit connections, voltage levels, etc.
2007-02-27 07:45:57
·
answer #4
·
answered by injanier 7
·
0⤊
0⤋
The reason for only two digits (besides what has already been stated regarding on/off hi/low) is that the binary language started as simply another number system.
Decimal system - Based on the number 10 and comprised of 10 digits....zero through nine....after nine you use a one and zero to form the number ten....in the number ten....the one is located in the "tens spot" and a zero is placed in the "ones spot" so one times ten plus zero times one gives us the number ten......then we use a one and another one to form the number eleven...etc
Binary system - Based on the number 2 and comprised of two digits...zero and one....to create the number one in binary we simply use the digits 01 (indicating zero "twos" plus one "ones"....the number two is represented as "10" (indicating one "twos" plus zero "ones")....the number three is represented as 11 (indicating one "twos" plus one "ones") to make the number four we have to add another place value thus four is represented as 100, then 101,110,111,1000,1001,1010,1011,1110,1111,10000
2007-02-27 08:06:52
·
answer #5
·
answered by hevensedge 1
·
0⤊
0⤋
The language that you're speaking of is binary. Here's a link that explains it more in-depth
2007-02-27 07:35:40
·
answer #6
·
answered by Anonymous
·
0⤊
0⤋