What is a Computer Language?
Definition and Explanation:
A language is defined as a system of communication; a discipline that conveys ideas or emotions to one another. A programming language like natural languages (English, Swedish ) consist of symbols, characters, and usage rule that permit people to communicate with the computer. There are several different programming languages. Some of these are created to perform special purpose applications while others are general purpose and they are suitable for many type of applications.
With the help of computer language, a programmer tells a computer what he want to do. Writing sequence of instructions is called coding. Coding can take place at various levels running from computer's basics language called machine language to English like statements called natural languages.
|
Computer codes |
Most computer use a coded version of true binary to represent letters and special symbols as well as decimal numbers, although many coding schemes have been devolved over the years, but the most popular of these use a Binary Coded Decimal (BCD) approach.
- The BCD approach:
With BCD (Binary coded decimal), it's possible to convert each decimal number into its binary equivalent from. All decimal digits are represented in BCD by 4 bits called Nibble.
See that (202)10 is equal to (11001010)2 in pure binary form. Converting (202)10 into BCD, however, produce the following result:
(202)10 in BCD
|
|