Skip to main content

Programming Languages

We need to understand the terms language and program before moving on to programming languages. Let’s discuss them now.

What is a Language?

A language is a medium used for communication between two or more entities.

What is a Program?

A program is a set of instructions given to a computer (or any device) to perform a specific task.

What is a Programming Language?

A programming language is a set of grammatical rules (syntax) used to write programs that instruct a machine to perform specific tasks.

👉 In simple terms:

Programming language = Human instructions → Machine execution

Types of Programming Languages

Programming languages are mainly classified into:

  1. Low-Level Programming Language
  2. Middle-Level Programming Language
  3. High-Level Programming Language

1. Low-Level Programming Language

Low-level languages use binary code (0s and 1s) to write instructions.

Characteristics

  • Instructions are written in machine language (binary)
  • Directly understood by the computer
  • No translator (compiler/interpreter) required

Disadvantages

  • Very difficult to write and understand
  • Hard to debug and maintain
  • Highly platform dependent

Example

10101010 11001100 11110000

2. Middle-Level Programming Language

Middle-level languages use assembly-like instructions such as:

ADD, SUB, MUL, DIV, MOV

Characteristics

  • Uses symbolic instructions instead of binary
  • Easier than machine language
  • Requires a translator called an Assembler (not deassembler)

Disadvantages

  • Still processor dependent
  • Requires knowledge of hardware architecture

Example

MOV A, B
ADD A, C

3. High-Level Programming Language

High-level languages use human-readable syntax (similar to English) to write programs.

Characteristics

  • Easy to read, write, and understand
  • Uses meaningful words and structure
  • Requires:
    • Compiler or
    • Interpreter

Advantages

  • Easy to learn and use
  • Faster development
  • Easier debugging and maintenance
  • Platform independent (in many cases)

Example

    int a=10;
int b=20;
System.out.println(a+b);

Translation Process

Simple Translation Flow

Final Thoughts

Low-level languages give maximum control but are hard to use Middle-level languages balance control and readability High-level languages focus on developer productivity and ease

Today, most applications are built using high-level languages like Java, Python, and JavaScript.