What do you mean by high level, middle level and low level languages and give an example for each?

Views 1833

Answer:

High-level languages –

  • These level languages provide almost everything that the programmer might need to do as already build into the language.
  • Example: Java, Python

Middle-level languages –

  • These languages don’t provide all the built-in functions found in high level languages, but provide all building blocks that we need to produce the result we want.
  • Example: C, C++

Low-level languages –

  • These languages provide nothing other than access to the machine’s basic instruction set.
  • Example: Assembly language.

Comparision between Three Types of Computer Languages

Here is the comparison table:

Aspect Machine-Level Language Assembly Language High-Level Language
Coding Method Uses binary digits for coding Uses mnemonics (short symbolic codes) for coding Uses English-like language and symbols for coding
Understandability Directly understood by the computer Requires an assembler to convert to machine language Requires a compiler to convert to machine language
Example Representation Character 'A' is represented as 01100001 Uses symbolic instructions like Add A B Uses statements like int s = a + b;
Ease of Use Difficult and error-prone Easier than machine language but still low-level User-friendly and abstracted from hardware details
Purpose Low-level, direct hardware manipulation Low-level, but easier to debug and modify High-level, focusing on problem-solving

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.