What is a programming language? Programming Basics

What is a programming language? Programming Basics

In real life, humans will communicate through various languages such as Hindi, English, Telugu, Tamil, French, German, etc but how computers will communicate 🤔.

What is a programming language?

Programming language is used to develop software through a set of instructions and scripts. The programming language is also called a high-level language. In general, a computer does not understand programming language directly, the compiler converts higher-level language to machine code.

How computers will communicate?

Computers will communicate through binary language which contains 0’s and 1’s

Why 0’s and 1’s

Computers are electric devices that contain circuits. When current passing through the circuit is represented by 1 and No current passing through the circuit is represented by 0.

When the device detects high voltage ⚡ it represents 1 and when it detects low voltage represents 0.

How Binary represents in real life

In real life, the numbers represent using decimals or Hexadecimals.

In Binary language decimal is denoted as follows:

Decimal Numbers to Binary form
What is a programming language?  Programming Basics
Decimal Number in Binary Form