Introduction to Computer Programming

Introduction to Computer Programming

Before seeing about programming lets first understand how a computer works.
Do you know that the computer knows only machine language?
yes its true...the computer knows only one language that is called as a machine language.
If you say that , "I am typing inputs to my computer in English and my computer is responding back in English or any other languages you are interacting with it so it is impossible that computer knows only machine language" .
There is a huge back work going behind the computer...let's explore some basics of it.


What is a Machine Language?
  • In simpler words we can say that it is a collection of binary digits.
  • Binary means 0 and 1 .
  • machine language is also called as binary language or Low level language.
  • In electronics point of view we can say that 1 is high (ON) and 0 is low(OFF) state.
  • What if I say that a computer is nothing but a machine that switches between on and off states.its true...computer has some billions of transistors which makes it possible.
  • Billions of transistors together maintaining states(high and low) in parallel forms up a computer system to perform some tasks.


what is programming ?
  • programming is a way of saying the computer to perform a particular task
  • the task may be adding two complex numbers or any other tasks.
  • Does it means that we have to program in binary language? 
  • frankly speaking yes, we want to program using 0's and 1's  . 


The above picture shows how a machine language looks like .If you run the above machine code it will add two numbers.but can you understand it.if you are going to perform a bigger task then you can write a machine code for it but it will be a very time consuming and tedious task to do.

So what to do ? 

Let's continue it in our next post....Thank you... 

Popular Posts