- PROGRAMMING LANGUAGE
- TYPES
- [[#TYPES#1. MACHINE LEVEL LANGUAGES|1. MACHINE LEVEL LANGUAGES]]
- [[#TYPES#2. ASSEMBLY LANGUAGE|2. ASSEMBLY LANGUAGE]]
- [[#TYPES#3. HIGHER LEVEL LANGUAGES|3. HIGHER LEVEL LANGUAGES]]
- [[#3. HIGHER LEVEL LANGUAGES#LOW LEVEL|LOW LEVEL]]
- [[#3. HIGHER LEVEL LANGUAGES#MID LEVEL|MID LEVEL]]
- [[#3. HIGHER LEVEL LANGUAGES#HIGH LEVEL|HIGH LEVEL]]
PROGRAMMING LANGUAGE
- A programming language is a set of instructions that can be used to interact with and control a computer.
- These languages are used to design websites, create apps, develop operating systems, control spacecraft, and analyze data.
- Programming languages are necessary because computers can’t understand English.
- Programming languages bridge this gap by helping programmers translate their commands into something that the computer can understand and execute
- The languages that are used to write a program or set of instructions are called “Programming languages”
- A programming language is a computer language that is used by programmers (developers) to communicate with computers
- it is a set of instructions written in any specific language to perform a specific task.
TYPES
1. MACHINE LEVEL LANGUAGES
- Machine language is a low-level language made up of binary numbers or bits that a computer can understand.
- It is also known as machine code.
- The only language that the computer understands is machine language. Machine language can only be represented by 0s and 1s.
- Several commonly used programming languages are ultimately translated into machine language for computers to understand.
- In the computer, all data like videos, programs, pictures are represented in binary. The CPU processes this machine code or binary data as input.
- It can be understood easily by the machine. It is considered as a machine-friendly language.
- It is difficult to understand.
- It is difficult to debug.
- Its maintenance is also complex.
- It is not portable.
- It depends on the machine; hence it can’t be run on different platform
2. ASSEMBLY LANGUAGE
- Assembly Language is a low-level programming language. It helps in understanding the programming language of machine code.
- Unlike machine language, which consists of binary and hexadecimal characters, assembly languages are designed to be readable by humans.
- In general, assembly language is a bit more user-friendly than machine-level language but more difficult than high-level language.
- It uses short codes to instruct the machine to perform certain operations.
- Whereas machine language uses 0s and 1s to instruct the computer
3. HIGHER LEVEL LANGUAGES
- The high-level language is a programming language that allows a programmer to write the programs which are independent of a particular type of computer.
- The high-level languages are considered as high-level because they are closer to human languages than machine-level languages.
- A compiler is required to translate a high-level language into a low-level language.
- The high-level language is easy to read, write, and maintain as it is written in English like words.
- The high-level languages are designed to overcome the limitation of low-level language, i.e., portability. The high-level language is portable.
- high-level languages are very easy to understand. high-level languages are programmer-friendly.
- Debugging is not very difficult.
- One can easily run them on different platforms
- They require a compiler/interpreter for translation into a machine code.
- They are very widely used and popular in today’s times.
- Java, C, C++, Python, etc., are a few examples of high-level language
LOW LEVEL
c is considered a low level language as it works really closely with the pc hardware
MID LEVEL
c++ is considered mid to high level because it has advanced featured like methods, classes butit can still work closely with the pc hardware
HIGH LEVEL
JAVA, Javascript, C#, python etc