Programming language is a standardized communication techniques for expressing instruction to a computer. like human language, each language has it own syntax and grammar. It is also refer to as a vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.
Types of programming languages
- High-level programming languages.
- low-level programming languages.
The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal. Each language has a unique set of keywords (words that it understands) and a special syntax for organizing program instructions. No matter the type of programming langue use the instruction are translated to machine language. The High-level programming language are more complex than the languages the computer actually understands which is called machine languages. Each different type of CPU has its own unique machine language.
Assembly languages are languages that lie between machine languages and high-level languages. Assembly languages are similar to machine languages, but they are much easier to program because they allow a programmer to substitute names for numbers. Machine languages consist of numbers only.
There are also languages called fourth-generation languages (usually abbreviated 4GL) which lie above the high-level languages. The 4GLs are far removed from machine languages and represent the class of computer languages closest to human languages.
Regardless of what language that is been use, the program will eventually be converted into machine language so that the computer can understand it. There are two ways to do this:
1) compile the program
2) interpret the program.
There are also languages called fourth-generation languages (usually abbreviated 4GL) which lie above the high-level languages. The 4GLs are far removed from machine languages and represent the class of computer languages closest to human languages.
Regardless of what language that is been use, the program will eventually be converted into machine language so that the computer can understand it. There are two ways to do this:
1) compile the program
2) interpret the program.
No comments:
Post a Comment