0% found this document useful (0 votes)
16 views9 pages

02-Lecture-PF-intro To IDEs & Components

The document explains the roles of compilers, interpreters, and assemblers in translating programming languages into machine code, which is understood by computers as binary (0s and 1s). It also covers the functions of debuggers, linkers, and loaders in the programming process, as well as the definition and components of an Integrated Development Environment (IDE). Examples of popular IDEs are also provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views9 pages

02-Lecture-PF-intro To IDEs & Components

The document explains the roles of compilers, interpreters, and assemblers in translating programming languages into machine code, which is understood by computers as binary (0s and 1s). It also covers the functions of debuggers, linkers, and loaders in the programming process, as well as the definition and components of an Integrated Development Environment (IDE). Examples of popular IDEs are also provided.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Programing Fundamentals

Introduction to Compilers, Interpreter & IDEs


Why we use compiler/Interpreter/Assembler?
• We use compiler/assembler/interpreter to translate source code(programing language
codes) to machine readable code

What is Machine Code?


• Computer do not understands the programing language like C,C++,java
• It only understands languages of 0&1
• So machine code refers to language of 0 & 1
Why 0 &1?
• Because computer is an electronic machine & it is made of electronic components like
transistors & transistors means switches which refers ON/OFF
• 0=OFF & 1=ON
• In order to translate Source Code(programing language codes) into machine Code (0,1), we
use different tools Like Compiler, Interpreter, assembler
What is difference between compiler, Interpreter & Assembler?

Compiler Interpreter Assembler


• Compiler translates • Interpreter translates • Assembler is similar
whole program into source code into to compiler but it
machine code at a machine code line by used for assembly
time line languages

• It detects all errors at • It detects error in


a time current line
Debugger?
A debugger is a computer program
used by programmers to test and
remove the errors in program.

When a program crashes,


debuggers show the position of the
error in the target program.
Linker?

A linker or link editor is a computer program that


takes one or more object files generated by
a compiler and combines them into a
single executable file

It also includes header files & function routines which


is built-in by the programing language
Loader?

• After a executable program is linked and


saved on the disk and it is ready for
execution.
• We need another process which loads the
program into memory and then Instruct the
processor to start the execution.
• Loader is responsible for loading executable
file into memory to be executed
What is IDE?
• An integrated development environment (IDE) or interactive development
environment is a software application that provides comprehensive facilities
to computer programmers for software development.

• An IDE normally consists of a source code editor, build


automation tools and a debugger.

• Most modern IDEs have intelligent code completion.


Few Examples of IDE
• Turbo C
• Microsoft Visual Studio
• Oracle Netbeans
• Eclipse
• Code::Blocks
• Dreamweaver
• & may more…

You might also like