Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8
DATE: 17TH JANUARY, 2025
TOPIC: COMPUTER PROGRAMMING
LANGUAGE UNIT: THROUGHLINE: BEAUTY CREATOR (GEN 1:31) OBJECTIVES: AT THE END OF THE LESSON, I SHOULD BE ABLE TO: DEFINE A COMPUTER PROGRAMMING LANGUAGE OUTLINE THE CATEGORIES OF COMPUTER PROGRAMMING LANGUAGE DEFINE HIGH LEVEL LANGUAGE COMPUTER PROGRAMMING LANGUAGE 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 need to operate in a language that would be understood by the computer. For this purpose, different languages are developed for performing different type of task on the computer.
A programming language is a formal language for
communicating with a computer without the ambiguity of human language. Basically, computer language are divided into two categories according to their interpretation. 1. Low level language 2. High level language LOW LEVEL LANGUAGE Low level computer language are machine codes (or close to it). Computer cannot understand instructions given in high level language or in English. It can only understand and execute instructions given in the form of machine language. i.e language of 0’s and 1’s.
There are two types of low level language:
Machine language. Assembly language. MACHINE LANGUAGE It is the lowest and most elementary level of programming language and was the first type of programming language to be developed. Machine language is basically the only language that the computer can understand. The manufacturers designed computers to obey just one language, its machine code which is written in binary format (0’s and 1’s). The symbol 0 stands for absence of electric pulse and 1 for the presence of electric pulse. Since a computer is capable of recognizing electrical signals , there fore it understands machine language. ADVANTAGES OF MACHINE LANGUAGE I. 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 THE MACHINE LANGUAGE III. All operation codes have to be remembered. IV. It is hard to amend or find errors in a program written in a machine language. V. These language are machine dependent. i.e a particular machine language can be used on only one type of computer. ASSEMBLY LANGUAGE It 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 a form of alphanumeric symbols instead of 0’s and 1’s. This alphanumeric symbols are known as mnemonics. Advantages of assembly language 1. It is easier to understand and use compared to machine language 2. It is easy to locate and correct errors 3. It is modified easily. DISADVANTAGES OF ASSEMBLY LANGUAGE 1. Like machine language, it is also machine dependent. 2. Since it is machine dependent, programmers should have knowledge of the hardware. HIGH LEVEL LANGUAGE High level computer language gives format close to English language. It makes program development easy. High level language is basically a symbolic language that use English words and/or mathematical symbols rather than mnemonic code.