SlideShare a Scribd company logo
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
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.
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
Compiler
Source
File
.c
Assembly
File
.asm
Assembler
Text Editor
Object
File
.o
Object
File
.o
Object
File
.o
If multiple
source file
then multiple
object file
Linker
Header
File
.h
Header
File
.h
Header
File
.h
Header
File
.h
Header
File
.h
Header
File
.h
Header
File
.h
stdio.h
Executable
File
.exe
Ad

More Related Content

What's hot (20)

Compiler.design.in.c.docs
Compiler.design.in.c.docsCompiler.design.in.c.docs
Compiler.design.in.c.docs
Abid Syed
 
What is c#
What is c#What is c#
What is c#
shwet18
 
Design concerns for concrete syntax
Design concerns for concrete syntaxDesign concerns for concrete syntax
Design concerns for concrete syntax
Mikhail Barash
 
Computer languages
Computer languagesComputer languages
Computer languages
Prince Arsal
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
Ravi Jakashania
 
Language Workbenches
Language WorkbenchesLanguage Workbenches
Language Workbenches
Mikhail Barash
 
BIS07 Application Development - I
BIS07 Application Development - IBIS07 Application Development - I
BIS07 Application Development - I
Prithwis Mukerjee
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
 
Ide description
Ide descriptionIde description
Ide description
Nidhi Baranwal
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
Nuzhat Memon
 
Implementing DSLs in practice
Implementing DSLs in practiceImplementing DSLs in practice
Implementing DSLs in practice
Mikhail Barash
 
A First Look at Google's Go Programming Language
A First Look at Google's Go Programming LanguageA First Look at Google's Go Programming Language
A First Look at Google's Go Programming Language
Ganesh Samarthyam
 
Before Starting Python Programming Language
Before Starting Python Programming LanguageBefore Starting Python Programming Language
Before Starting Python Programming Language
Kishan Tongrao
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_language
Way2itech
 
1 introduction to c programming language
1 introduction to c programming language1 introduction to c programming language
1 introduction to c programming language
Narendra Soni
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
Kumaresh Chandra Baruri
 
Learn C Language
Learn C LanguageLearn C Language
Learn C Language
Kindle World..!
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
rahulsahay19
 
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothWeb programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
 
Python debuggers slides
Python debuggers slidesPython debuggers slides
Python debuggers slides
mattboehm
 
Compiler.design.in.c.docs
Compiler.design.in.c.docsCompiler.design.in.c.docs
Compiler.design.in.c.docs
Abid Syed
 
What is c#
What is c#What is c#
What is c#
shwet18
 
Design concerns for concrete syntax
Design concerns for concrete syntaxDesign concerns for concrete syntax
Design concerns for concrete syntax
Mikhail Barash
 
Computer languages
Computer languagesComputer languages
Computer languages
Prince Arsal
 
BIS07 Application Development - I
BIS07 Application Development - IBIS07 Application Development - I
BIS07 Application Development - I
Prithwis Mukerjee
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
Nuzhat Memon
 
Implementing DSLs in practice
Implementing DSLs in practiceImplementing DSLs in practice
Implementing DSLs in practice
Mikhail Barash
 
A First Look at Google's Go Programming Language
A First Look at Google's Go Programming LanguageA First Look at Google's Go Programming Language
A First Look at Google's Go Programming Language
Ganesh Samarthyam
 
Before Starting Python Programming Language
Before Starting Python Programming LanguageBefore Starting Python Programming Language
Before Starting Python Programming Language
Kishan Tongrao
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_language
Way2itech
 
1 introduction to c programming language
1 introduction to c programming language1 introduction to c programming language
1 introduction to c programming language
Narendra Soni
 
Introduction to flutter's basic concepts
Introduction to flutter's basic conceptsIntroduction to flutter's basic concepts
Introduction to flutter's basic concepts
Kumaresh Chandra Baruri
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
rahulsahay19
 
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothWeb programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
 
Python debuggers slides
Python debuggers slidesPython debuggers slides
Python debuggers slides
mattboehm
 

Similar to Computer programming tools and building process (20)

Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
INTRODUCTION TO C LANGUAGE.pptx
INTRODUCTION TO C LANGUAGE.pptxINTRODUCTION TO C LANGUAGE.pptx
INTRODUCTION TO C LANGUAGE.pptx
MohammedtajuddinTaju
 
Chapter 1.pptx compiler design lecture note
Chapter 1.pptx compiler design lecture noteChapter 1.pptx compiler design lecture note
Chapter 1.pptx compiler design lecture note
adugnanegero
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpreters
shivasdhtsvmic
 
Lect-01.ppt
Lect-01.pptLect-01.ppt
Lect-01.ppt
KamranAli649587
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 
Chap 2 structure of c programming dti2143
Chap 2  structure of c programming dti2143Chap 2  structure of c programming dti2143
Chap 2 structure of c programming dti2143
alish sha
 
C lecture notes new
C lecture notes newC lecture notes new
C lecture notes new
Kuntal Bhowmick
 
df
dfdf
df
guest0307c6
 
Chapter 2 Program language translation.pptx
Chapter 2 Program language translation.pptxChapter 2 Program language translation.pptx
Chapter 2 Program language translation.pptx
dawod yimer
 
COM1407: Introduction to C Programming
COM1407: Introduction to C Programming COM1407: Introduction to C Programming
COM1407: Introduction to C Programming
Hemantha Kulathilake
 
Computer Hardware Technology PowerPoint Templates (1).pptx
Computer Hardware Technology PowerPoint Templates (1).pptxComputer Hardware Technology PowerPoint Templates (1).pptx
Computer Hardware Technology PowerPoint Templates (1).pptx
pakistannewsworldnew
 
Cp week _2.
Cp week _2.Cp week _2.
Cp week _2.
shahidullah57
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
Subramanyambharathis
 
Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkkIntroduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
ssuserf86fba
 
2 arts of assembly languge programming-converted.pptx
2 arts of assembly languge programming-converted.pptx2 arts of assembly languge programming-converted.pptx
2 arts of assembly languge programming-converted.pptx
rakhibornare
 
C class basic programming 1 PPT mayanka (1).pdf
C class basic programming 1 PPT mayanka (1).pdfC class basic programming 1 PPT mayanka (1).pdf
C class basic programming 1 PPT mayanka (1).pdf
mayankamandal
 
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
shahzadebaujiti
 
CS8251_QB_answers.pdf
CS8251_QB_answers.pdfCS8251_QB_answers.pdf
CS8251_QB_answers.pdf
vino108206
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
Ali Raza
 
Chapter 1.pptx compiler design lecture note
Chapter 1.pptx compiler design lecture noteChapter 1.pptx compiler design lecture note
Chapter 1.pptx compiler design lecture note
adugnanegero
 
Compliers and interpreters
Compliers and interpretersCompliers and interpreters
Compliers and interpreters
shivasdhtsvmic
 
Introduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem AnsariIntroduction to Programming Concepts By Aamir Saleem Ansari
Introduction to Programming Concepts By Aamir Saleem Ansari
Tech
 
Chap 2 structure of c programming dti2143
Chap 2  structure of c programming dti2143Chap 2  structure of c programming dti2143
Chap 2 structure of c programming dti2143
alish sha
 
Chapter 2 Program language translation.pptx
Chapter 2 Program language translation.pptxChapter 2 Program language translation.pptx
Chapter 2 Program language translation.pptx
dawod yimer
 
COM1407: Introduction to C Programming
COM1407: Introduction to C Programming COM1407: Introduction to C Programming
COM1407: Introduction to C Programming
Hemantha Kulathilake
 
Computer Hardware Technology PowerPoint Templates (1).pptx
Computer Hardware Technology PowerPoint Templates (1).pptxComputer Hardware Technology PowerPoint Templates (1).pptx
Computer Hardware Technology PowerPoint Templates (1).pptx
pakistannewsworldnew
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
Subramanyambharathis
 
Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkkIntroduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
ssuserf86fba
 
2 arts of assembly languge programming-converted.pptx
2 arts of assembly languge programming-converted.pptx2 arts of assembly languge programming-converted.pptx
2 arts of assembly languge programming-converted.pptx
rakhibornare
 
C class basic programming 1 PPT mayanka (1).pdf
C class basic programming 1 PPT mayanka (1).pdfC class basic programming 1 PPT mayanka (1).pdf
C class basic programming 1 PPT mayanka (1).pdf
mayankamandal
 
CS8251_QB_answers.pdf
CS8251_QB_answers.pdfCS8251_QB_answers.pdf
CS8251_QB_answers.pdf
vino108206
 
Ad

More from ArghodeepPaul (8)

Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
ArghodeepPaul
 
Common problems solving using c
Common problems solving using cCommon problems solving using c
Common problems solving using c
ArghodeepPaul
 
C operators
C operatorsC operators
C operators
ArghodeepPaul
 
C taking user input
C taking user inputC taking user input
C taking user input
ArghodeepPaul
 
C storage classes
C storage classesC storage classes
C storage classes
ArghodeepPaul
 
C datatypes
C datatypesC datatypes
C datatypes
ArghodeepPaul
 
C variables and constants
C variables and constantsC variables and constants
C variables and constants
ArghodeepPaul
 
C program structure
C program structureC program structure
C program structure
ArghodeepPaul
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
ArghodeepPaul
 
Common problems solving using c
Common problems solving using cCommon problems solving using c
Common problems solving using c
ArghodeepPaul
 
C variables and constants
C variables and constantsC variables and constants
C variables and constants
ArghodeepPaul
 
Ad

Recently uploaded (20)

Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation RateModeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Journal of Soft Computing in Civil Engineering
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
David Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry - Specializes In AWS, Microservices And Python.pdfDavid Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry
 
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
Reflections on Morality, Philosophy, and History
 
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Using the Artificial Neural Network to Predict the Axial Strength and Strain ...
Journal of Soft Computing in Civil Engineering
 
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Modelling of Concrete Compressive Strength Admixed with GGBFS Using Gene Expr...
Journal of Soft Computing in Civil Engineering
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
DED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedungDED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedung
nabilarizqifadhilah1
 
Water Industry Process Automation & Control Monthly May 2025
Water Industry Process Automation & Control Monthly May 2025Water Industry Process Automation & Control Monthly May 2025
Water Industry Process Automation & Control Monthly May 2025
Water Industry Process Automation & Control
 
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software ApplicationsJacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia
 
Working with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to ImplementationWorking with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to Implementation
Alabama Transportation Assistance Program
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Automatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and BeyondAutomatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and Beyond
NU_I_TODALAB
 
Nanometer Metal-Organic-Framework Literature Comparison
Nanometer Metal-Organic-Framework  Literature ComparisonNanometer Metal-Organic-Framework  Literature Comparison
Nanometer Metal-Organic-Framework Literature Comparison
Chris Harding
 
Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Control Methods of Noise Pollutions.pptx
Control Methods of Noise Pollutions.pptxControl Methods of Noise Pollutions.pptx
Control Methods of Noise Pollutions.pptx
vvsasane
 
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
ajayrm685
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 
Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025Transport modelling at SBB, presentation at EPFL in 2025
Transport modelling at SBB, presentation at EPFL in 2025
Antonin Danalet
 
David Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry - Specializes In AWS, Microservices And Python.pdfDavid Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry - Specializes In AWS, Microservices And Python.pdf
David Boutry
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
DED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedungDED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedung
nabilarizqifadhilah1
 
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software ApplicationsJacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia - Excels In Optimizing Software Applications
Jacob Murphy Australia
 
Slide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptxSlide share PPT of SOx control technologies.pptx
Slide share PPT of SOx control technologies.pptx
vvsasane
 
Automatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and BeyondAutomatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and Beyond
NU_I_TODALAB
 
Nanometer Metal-Organic-Framework Literature Comparison
Nanometer Metal-Organic-Framework  Literature ComparisonNanometer Metal-Organic-Framework  Literature Comparison
Nanometer Metal-Organic-Framework Literature Comparison
Chris Harding
 
Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Control Methods of Noise Pollutions.pptx
Control Methods of Noise Pollutions.pptxControl Methods of Noise Pollutions.pptx
Control Methods of Noise Pollutions.pptx
vvsasane
 
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
ajayrm685
 
2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt2.3 Genetically Modified Organisms (1).ppt
2.3 Genetically Modified Organisms (1).ppt
rakshaiya16
 

Computer programming tools and building process

  • 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
  • 4. Compiler Source File .c Assembly File .asm Assembler Text Editor Object File .o Object File .o Object File .o If multiple source file then multiple object file Linker Header File .h Header File .h Header File .h Header File .h Header File .h Header File .h Header File .h stdio.h Executable File .exe
  翻译: