Do you know what is source code? what is it used for?

You use Word, Google Chrome, calendar, video games etc. in your laptop, computer or phone, these are called software.


What is software?

Our computer or laptop is a machine that cannot speak, hear, neither see nor understand, then how can we do so much work with this machine? This is possible due to software. Software is a means of getting your computer working. A software consists of one or more computer programs, data and other files. For example, parents or teachers will not be able to work on their own unless they tell the child how to do any work. The child is like a computer and its parents or teachers like a software.

What is a computer program?

A program is a set of instructions that tell the computer how to do the work, in chronological order. A special language is used to write a program called a programming language. People who write programs are called programmers.

What is source code?

The code written by the programmer using the programming language is called source code. For example, it is a small source code written in a C programming language designed to connect two numbers. It is written in order that the first two numbers will be taken, then they will be added and then the result will be shown.


The raw material for the software that you use in your computer is source code. Just as the dough is important for making bread, so is the source code for the software. The better the dough is, the better the bread will be. Similarly, the more well written the source code is, the better the software will be.

Because the computer is an electronic device, it cannot understand the language of programming, so it is necessary that the program written by the programmer i.e. source code is changed in a way that a software is used to understand the computer. Which is called the compiler.

The compiler converts the source code written in the programming language into executable code that the computer (processor) can understand and run.

The software you get in the computer to use is executable code.


Comments