Why do we need different coding system?
Decimal number system is acceptable for small computers, and binary encoding is inconvenient for the person involved in the creation of programs. Efforts of specialists in computer technology have led to the fact that most modern computer programs are not written in binary and not even in the decimal system, a high-level language, much more convenient for a person. Work is under way in the direction of the dialogue with a computer in a natural, human language, that is, work on automatic translation of information, running between people and computers in the process of dialogue. Significant role in ensuring that the transfer of computer plays itself as a universal information-processing device.
Nevertheless, knowledge of the characteristics of the binary representation of numbers and commands necessary not only to developers and support staff computers, and programmers. Understanding the intricacies of a machine language provides a more effective program, even if they are written in a high-level.
Could not find a suitable person to shape the perception of binary information? At first glance it seems that for this purpose it is sufficient to provide the computer device to convert binary to decimal and vice versa. However, the encoding instructions individual bits can play a specific, individual role. In the process of translating the command code in decimal values of these bits are hard to tangible, so write decimal code required commands at once, bypassing its binary representation, it becomes very time-consuming. On the contrary, to explain the meaning of the statement shown in decimal, will necessarily have to translate it into a binary number system.
To some extent, these shortcomings are deprived of the binary decimal coding system. They each decimal digit is assigned a binary code, consisting most often of the four characters. In the BCD decimal place of each decimal digit sequentially written the corresponding four bits. For the back-translation binary notation is divided into groups of four bits, and each group is replaced by the corresponding decimal number. Single bit of binary-coded decimal impact with only one sign of the decimal equivalent.
However, the binary-coded decimal inherent redundancy. It requires more space in computer memory, so the use of binary-decimal codes is limited to input devices and output data. |