1. Notes on
Programming Tools and
Common Building Process
Instructor:
Arghodeep Paul
Firmware Engineer at BitBible Technologies Pvt. Ltd.
Content Author: Arghodeep Paul
License: OpenSource
Date: 07 July 2021
2. Computer Program
A computer program is nothing but a set or collection of statements.Statements are
again known as
codes. That is why the action of writing programs or codes is known as programming
or coding.
Example in C
#include<stdio.h>
Int main(){
printf(“Hello World!”);
}
Example in python
print(“Hello World!”)
In the above C example we write 6 lines of codes just to print “Hello world” but in
case of python we
Write only 1 line of code to achieve the same result. This is because of the
architectural design of the programming language.Every line we write using a
computer programming language and these lines are known as statements. This
statements work as an instruction to the computer.
Programming Language
Any program we write must be written using one of programming language and they
all have their own grammatical rules.
Computer Software
Unlike a Hardware we can not touch or hold a Software. Software is something that
is beyond physical
Reach. We can make software for computer and solve a particular problem.
3. Difference between Software and
Program
A Program is a standalone executable file but a Software mainly refers to a collection
of multiple programs and data dependencies. Software is an umbrella term. All
program files like .dll .exe .cmd
even .mp3 .mp4 fall under software.
Programming Tools
In order to write a Program we need another Program. Programs used to write
another program are known as programming tools.
Example
1. Text Editor: used to write source cod
2. Compiler: compiles source code to assembly code
3. Assembler: compiles assembly code to object code
4. Interpreter: compiles and executes line wise
5. Linker: links one or more object files and header files to make single executable
file
6. Debugger: checks for errors in programs
7. IDE(integrated Development Environment): Software package containing above
programs.
Common Building Process(CBP)
The source code is written using any programming language and obviously in a Text
Editor. In case of C programming language the Source File is saved with .c extension.
This file then supplied to the compiler which translates the code into assembly
language with .asm extension. Then the assembler processes this file to generate the
object code(.obj file extension). If there is multiple object files then the linker links
them together and also the header files together to generate the final executable file
with extension .exe