ComputersProgramming

Coding and decoding is difficult?

The work and distribution of computers required a thorough approach to data transmission systems. But here there is a problem, which is how to transform ordinary and understandable information to a person so that the machine can work with it? And the elements of the solution of this problem is the encoding and decoding of information.

The concept of "coding"

A set of symbols that correspond to certain elements of information or characteristics is called a code. And the process, during which it is compiled, is called coding. Coding information is carried out in order to present data in a compact and convenient form for use during its transfer and processing on computing devices. During the encoding, the processing consists in searching, sorting and arranging the available data. The result is output codes and after decoding they become the ultimate goal in the exchange of information between different computers.

What is meant by decoding?

Decoding is an operation that is inverse of coding in its purpose. So, with him, according to a predetermined code, find the relevant information or object. An example of such work can serve as an example with telephones. So, when dialing a number (and in fact, transmitting the code in the form of electrical signals), it goes to the automated telephone exchange. There, it is decoded, and the technique "recognizes" what the subscriber needs. In general, decoding is a rather complex process, but if it's good to think about its essence, it's not difficult to understand what and how it happens.

How does the encoding process take place?

The encoding process can be manual or automated. So, with manual coding use pre-compiled catalogs, in which it is indicated what corresponds to what. Then the signs are applied to a punch card or a punched tape, they are entered into the computer, and the information is recoded into the machine code.

Great popularity, not least because of the ease, acquired an automatic way of coding. So, with it everything is recorded with the help of words, common notations and figures in a document created on a computer. The resulting file is processed by a special machine. It encodes everything in such a way that the shortest machine code is obtained, which will be more convenient to search, sort and process data. The condition for automatic coding is the availability of a dictionary in which a single word corresponds to a particular code. With this approach, there is no need to classify information according to its meaning. Information processing is carried out in an understandable form, with which it is possible to work confidently and emphasize the processor power for the necessary actions. And the computer works with it thanks to the key code. This is a single array of information used for all solved problems. The search is carried out on the basis of the unambiguousness of the relation of attributes to the object. As a rule, the search is carried out at the bit address, but the serial registration number can be used without additional information.

There is another way to encode when data is sorted by their content. In other words, a classification is made in which only the main defining features play a role.

How decoding works

The decoding of the information obtained depends on the coding method, its type, and the characteristics that characterize it. So, to get the necessary information, when the pointer chooses another technique, it is rather problematic. Important here is the degree of security and data protection. When electrical pulses are received, the technician checks whether it can process them. Decoding is a complex process, since during the transmission of data there may be signal loss with concomitant consequences. If an affirmative answer is received, she, based on certain characteristics, decodes the received information according to the available data catalogs. If this is not possible, the computer provides an ignoring procedure that allows you to filter out the majority of unnecessary or unintentional information. The main topic is disclosed, and it can be assumed that coding and decoding of information no longer presents difficulties for you to understand.

Types of codes

If the symbols correspond to a particular object or characteristic, such a code is called direct. If the code contains information about the required address, which indicates the location of the required information, this is the address. It is used to search for large arrays of information. The presented code can be in the form of binary coding, byte, machine word, page and block. Coding and decoding are just operations with the code. Do not forget about this, and then give a description of them will not be difficult.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.birmiss.com. Theme powered by WordPress.