Learning the Basics — Machine Code and High Level Languages

Now we know how a CPU executes a program, let’s move on to understanding machine code and high level languages. This is the next step in understanding core concepts.

Understanding Machine Code and High Level Languages

The above nice illustration video shows how machine code gets converted by assembly into machine understandable format.

Low-Level Languages

Low-level languages are referred to as ‘low’ because they are very close to how different hardware elements of a computer actually communicate with each other.

Example: 10010101100101001111101010011011100101

High-Level Languages

A high-level language is a programming language that uses English and mathematical symbols, like +, -, % and many others, in its instructions.



Computer program that translates a program written in a high-level language to the machine language of a computer.

Example: gcc, clang, go


Computer program that simulates a computer that understands a high-level language (or) a program that executes source code or byte code.

Example: ruby, python, php.

Thats it for today in understanding machine code and high level languages. Happy learning.


Learning the Basics — How does a CPU executes a Program

We are learnt how a microprocessor works, but, I didn’t learn well. All i ever want to get a degree in my engineer! Now, I am seeing myself how i lacked the basics even though I could do well in UI & Backend, I am seriously missing the basics. So, here is an awesome video showing how does a CPU executes a Program.

How Does a CPU Executes a Program