Ask a Teacher
what are thee types of computer language & please explain |
COMPUTER LANGUAGESIn all over the world, language is the source of communication among human beings. Different countries/regions have different languages. Similarly, in order to communicate with the computer user also needs to have a language that should be understood by the computer. For this purpose, different languages are developed for performing different types of work on the computer.Basically, languages are divided into two categories according to their interpretation. 1. Low Level Languages. 2. High Level Languages. Low Level LanguagesLow level computer languages are machine codes or close to it. Computer cannot understand instructions given in high level languages or in English. It can only understand and execute instructions given in the form of machine language i.e. language of 0 and 1. There are two types of low level languages:
Advantages of Machine Languagei) It makes fast and efficient use of the computer. ii) It requires no translator to translate the code i.e.Directly understood by the computer Disadvantages of Machine Language: i) All operation codes have to be remembered ii) All memory addresses have to be remembered. iii) It is hard to amend or find errors in a program written In the machine language iv) These languages are machine dependent i.e. a particular Machine language can be used on only one type of computer. Assembly LanguageIt was developed to overcome some of the many inconveniences of machine language. This is another low level but a very important language in which operation codes and operands are given in the form of alphanumeric symbols instead of 0’s and l’s. These alphanumeric symbols will be known as mnemonic codes and can have maximum up to 5 letter combination e.g. ADD for addition, SUB for subtraction, START,LABEL etc. Because of this feature it is also known as ‘Symbolic Programming Language’. This language is also very difficult and needs a lot of practice to master it because very small English support is given to this language. The language mainly helps in compiler orientations. The instructions of the Assembly language will also be converted to machine codes by language translator to be executed by the computer.\ Advantages of Assembly Languagei) It is easier to understand and use as compared to machine language. ii)It is easy to locate and correct errors. iii) It is modified easily Disadvantages of Assembly Languagei) Like machine language it is also machine dependent. ii) Since it is machine dependent therefore programmer Should have the knowledge of the hardware also. High Level LanguagesHigh level computer languages give formats close to English language and the purpose of developing high level languages is to enable people to write programs easily and in their own native language environment (English). High-level languages are basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes. Each instruction in the high level language is translated into many machine language instructions thus showing one-to-many translation. Types of High Level LanguagesMany languages have been developed for achieving different variety of tasks, some are fairly specialized others are quite general purpose.
b) Business Data Processing:
b) String and List Processing: These are used for string manipulation including search for patterns, inserting and deleting characters. Examples are:
Object Oriented Programming Language In OOP, the computer program is divided into objects. Examples are:
e) Visual programming language: these are designed for building Windows-based applications Examples are:
Advantages of High Level LanguageFollowing are the advantages of a high level language:
Disadvantages of High Level Language
|