PROGRAMMING ENVIRONMENTS TRB CSI › Programming with C++ › programming environments

PROGRAMMING ENVIRONMENTS

Programming Environment என்பது ஒரு program-ஐ write, edit, compile, execute, test, debug, maintain செய்ய programmer பயன்படுத்தும் complete set of tools and facilities. Simple Tamil: Program எழுதுவதற்கு மட்டும் அல்ல; அதை உருவாக்க ஆரம்பித்தது…

Premium — locked Advanced 22 min 215 cards 17 programs 10 MCQs v2
This is a premium lesson. You can see the shape of every card — unlock to read them. Unlock

PROGRAMMING ENVIRONMENTS…

Premium This card is part of the premium lesson. Unlock
Definition

Programming Environment என்பது ஒரு program-ஐ write, edit, compile, execute, test, debug, maintain செய்ய progr……

Premium This card is part of the premium lesson. Unlock

SIMPLE IDEA

Definition

ஒரு C++ program develop செய்ய programmer-க்கு என்னென்ன தேவை? Source Code எழுத வேண்டும் ↓ Code Edit செய்ய வேண்……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT FLOW

Definition

Programmer ↓ Editor / IDE ↓ Source Program ↓ Compiler ↓ Object Code ↓ Linker ↓……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT-ன் MAIN COMPONENTS

Definition

ஒரு typical programming envir……

Premium This card is part of the premium lesson. Unlock
Definition

1. Text Editor 2. Compiler 3. Interpreter 4. Assembler 5. Linker 6.……

Premium This card is part of the premium lesson. Unlock
Definition

இவற்றை inch-by-inch பார்க்கலா……

Premium This card is part of the premium lesson. Unlock

TEXT EDITOR

Definition

Program source code எழுதவும் modify செய்யவும் பயன்படுத்தப்படும் software = Text Edi……

Premium This card is part of the premium lesson. Unlock

SOURCE CODE

Definition

Programmer high-level language-ல் ……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

int a = 10; int b = 20;…

Premium This card is part of the premium lesson. Unlock
Explanation

இந்த human-readable program s……

Premium This card is part of the premium lesson. Unlock

SOURCE FILE

Explanation

C++ source program பொதுவாக: .cpp extension-ல் save செ……

Premium This card is part of the premium lesson. Unlock

COMPILER

Definition

High-level language source program-ஐ lower-level/object/machine-oriented code-ஆக translate செ……

Premium This card is part of the premium lesson. Unlock
Definition

1. COMPILER என்ன செய்கிறது?…

Premium This card is part of the premium lesson. Unlock
Definition

Compiler பொதுவாக: Source code read செய்கிறது ↓ Syntax check செய்கி……

Premium This card is part of the premium lesson. Unlock

COMPILER ERROR EXAMPLE

Definition

int x = ; இது invalid syntax. Compiler error detect ச……

Premium This card is part of the premium lesson. Unlock

INTERPRETER

Definition

Program-ஐ execution நேரத்தில் translate செய்து execute செய்யும் language processor = Interpreter. Conceptual ……

Premium This card is part of the premium lesson. Unlock

COMPILER VS INTERPRETER

Definition

C++ பொதுவாக compiled language.…

Premium This card is part of the premium lesson. Unlock

ASSEMBLER

Definition

Assembly language-ஐ machine code-ஆக convert செய்யும் translator = Assembler. Flow: Ass……

Premium This card is part of the premium lesson. Unlock

LINKER

Definition

இது மிகவும் important exam co……

Premium This card is part of the premium lesson. Unlock
Definition

Different object files மற்றும் required library code-ஐ combine செய்து executa……

Premium This card is part of the premium lesson. Unlock

SIMPLE LINKER EXAMPLE

Definition

Suppose: main.cpp math.cpp compile செய்தால்: main……

Premium This card is part of the premium lesson. Unlock
Definition

1. WHY LINKER?…

Premium This card is part of the premium lesson. Unlock
Definition

Suppose main.cpp: int add(int……

Premium This card is part of the premium lesson. Unlock

LINKING

Definition

இதன் process: Linking Two com……

Premium This card is part of the premium lesson. Unlock

STATIC LINKING

Definition

Required library code executable ……

Premium This card is part of the premium lesson. Unlock
Explanation
Program

+ Library Code ↓ Single Executable Advantag……

Premium This card is part of the premium lesson. Unlock

DYNAMIC LINKING

Explanation

Library code executable-க்குள் முழுவதும் copy செய்யாமல் runtime/load time-ல் shared l……

Premium This card is part of the premium lesson. Unlock

LOADER

Definition

Executable program-ஐ secondary storage-ல் இருந்து main memory-க்கு load செய……

Premium This card is part of the premium lesson. Unlock

LINKER VS LOADER

Definition

இந்த இரண்டு terms exam-ல் con……

Premium This card is part of the premium lesson. Unlock
Definition

Memory: Linker → Links Loader……

Premium This card is part of the premium lesson. Unlock

DEBUGGER

Definition

Program-ல் உள்ள errors / bugs கண்டுபிடித்து analyze செய்ய உதவும் tool = Debugger. Debugger மூ……

Premium This card is part of the premium lesson. Unlock
Definition

1. BUG என்றால் என்ன?…

Premium This card is part of the premium lesson. Unlock
Definition

Program-ல் உள்ள error அல்லது ……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

int a = 10; int b = 0;…

Premium This card is part of the premium lesson. Unlock
Explanation

இங்கு divide-by-zero issue ஏற்பட……

Premium This card is part of the premium lesson. Unlock

DEBUGGING

Explanation

Program-ல் bugs கண்டுபிடித்து remove செய்வது: D……

Premium This card is part of the premium lesson. Unlock

BREAKPOINT

Explanation

Program execution ஒரு குறிப்பிட்ட line-ல் temporary-ஆக stop ஆக வேண்டிய location: Breakp……

Premium This card is part of the premium lesson. Unlock

STEP EXECUTION

Explanation

Debugger-ல் program one statement at a time e……

Premium This card is part of the premium lesson. Unlock

STEP INTO

Explanation

Function call இருந்தால் அந்த fu……

Premium This card is part of the premium lesson. Unlock
Program
Example
Explanation

Step Into: add() function-க்க……

Premium This card is part of the premium lesson. Unlock

STEP OVER

Explanation

Function call-ஐ execute செய்யும்; ஆனால் function-க்குள……

Premium This card is part of the premium lesson. Unlock

STEP OUT

Explanation

Current function-ன் remaining state……

Premium This card is part of the premium lesson. Unlock

WATCH WINDOW

Explanation

Program execution போது ஒரு variable value எப்படி c……

Premium This card is part of the premium lesson. Unlock
Program
Example
Explanation

Watch window continuous chang……

Premium This card is part of the premium lesson. Unlock

LIBRARY

Definition

Already written reusable functions/classes கொண்ட……

Premium This card is part of the premium lesson. Unlock
Algorithm

cmath fstream…

Premium This card is part of the premium lesson. Unlock
Program
Example
Explanation

sqrt() already library function.……

Premium This card is part of the premium lesson. Unlock

HEADER FILE

Explanation

C++-ல் declarations மற்றும் l……

Premium This card is part of the premium lesson. Unlock
Program
Example
Explanation

iostream input/output stream ……

Premium This card is part of the premium lesson. Unlock

BUILD TOOL

Definition

Large project-ல் source files compile, dependencies mana……

Premium This card is part of the premium lesson. Unlock
Definition

1. WHY BUILD TOOLS?…

Premium This card is part of the premium lesson. Unlock
Definition

Suppose project: main.cpp student.cpp teacher.cpp database.cpp report.cpp ஒவ்வொரு f……

Premium This card is part of the premium lesson. Unlock

IDE

Definition

மிகவும் important.…

Premium This card is part of the premium lesson. Unlock
Definition

IDE = Integrated Development Environment Program development-க்கு தேவையான பல tools-ஐ ஒ……

Premium This card is part of the premium lesson. Unlock

IDE COMPONENTS

Definition

IDE | +-- Code Editor | +-- Compiler | +-- Build Tool | +-- Debugge……

Premium This card is part of the premium lesson. Unlock

IDE EXAMPLES

Definition

C++: Visual Studio Code::Blocks CLion Dev-C++ Qt Creator Visual Studio Code full IDE அல……

Premium This card is part of the premium lesson. Unlock

IDE ADVANTAGES

Definition

Code எழுத easy Syntax highlighting Automatic completion ……

Premium This card is part of the premium lesson. Unlock

COMMAND-LINE ENVIRONMENT

Definition

Programming IDE மட்டும் பயன்படுத்த வேண்டும் ……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

Editor ↓ Terminal ↓ g++ program.cpp ↓ Exe……

Premium This card is part of the premium lesson. Unlock

IDE VS COMMAND LINE

RUNTIME ENVIRONMENT

Definition

Program execution நேரத்தில் required services, librarie……

Premium This card is part of the premium lesson. Unlock
Concept

Executable Program ↓ Runtime ……

Premium This card is part of the premium lesson. Unlock

RUNTIME SUPPORT

Concept

Runtime environment provide செய்யக்கூடிய features: Memory alloc……

Premium This card is part of the premium lesson. Unlock

COMPILE TIME VS RUN TIME

Concept

Compile Time Compiler source code process செய்யும் period. ……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

File missing Invalid input Division e……

Premium This card is part of the premium lesson. Unlock

DEVELOPMENT ENVIRONMENT

Explanation

Programming environment-க்கு broader term: Software Development Environment இ……

Premium This card is part of the premium lesson. Unlock

VERSION CONTROL SYSTEM

Definition

Program source code changes-ஐ……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

Git Git மூலம்: Previous versions பார்க்கலாம் Changes ……

Premium This card is part of the premium lesson. Unlock

LOCAL DEVELOPMENT ENVIRONMENT

Explanation

Programmer-ன் own computer-ல் development tools install ச……

Premium This card is part of the premium lesson. Unlock

HOST ENVIRONMENT

Explanation

Language implementation / development tools run ஆகும் actual ……

Premium This card is part of the premium lesson. Unlock

TARGET ENVIRONMENT

Explanation

Generated program எந்த system-ல் execute ஆக வேண்டும் என்று int……

Premium This card is part of the premium lesson. Unlock

HOST VS TARGET

Explanation

இந்த concept cross compiler-க……

Premium This card is part of the premium lesson. Unlock

CROSS COMPILER

Definition

ஒரு host system-ல் run ஆகி வேறு target archi……

Premium This card is part of the premium lesson. Unlock
Explanation
Example

Windows PC ↓ ARM Cross Compil……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT TYPES

List
Broadly environments

1. Batch Environment 2. Interactive Environment 3. Integrated Environment 4.……

Premium This card is part of the premium lesson. Unlock
Explanation

User interaction இல்லாமல் jobs groups/batches-ஆக process செய்யப்படும் envir……

Premium This card is part of the premium lesson. Unlock

INTERACTIVE PROGRAMMING ENVIRONMENT

Explanation

Programmer system-உடன் direct interaction செய்யும் environment. Ent……

Premium This card is part of the premium lesson. Unlock

REPL

Explanation

Important term.…

Premium This card is part of the premium lesson. Unlock
Explanation

Flow: Read input ↓ Evaluate ↓……

Premium This card is part of the premium lesson. Unlock
Explanation

30 C++ traditional workflow compiled;……

Premium This card is part of the premium lesson. Unlock

INTEGRATED PROGRAMMING ENVIRONMENT

Explanation

Editor, compiler, debugger போன்ற tools integ……

Premium This card is part of the premium lesson. Unlock

CLOUD PROGRAMMING ENVIRONMENT

Explanation

Development tools browser/cloud system மூலம் கிடைக்கும் environment. Example co……

Premium This card is part of the premium lesson. Unlock

PROGRAM DEVELOPMENT LIFE CYCLE

Explanation

Programming environment இந்த முழு cycle-ஐ support செய்கிறது. Pr……

Premium This card is part of the premium lesson. Unlock

TRANSLATION ENVIRONMENT

Explanation

Programming language implementation perspective-ல்: Source Program……

Premium This card is part of the premium lesson. Unlock

C++ TRANSLATION FLOW

Program
C++ program
Explanation

General stages: C++ Source File ↓ Preprocessi……

Premium This card is part of the premium lesson. Unlock

PREPROCESSOR

Explanation

Compiler proper translation-க்கு முன்பு so……

Premium This card is part of the premium lesson. Unlock
Program
Example
Program
Preprocessor handles
Definition
#define

#if #ifdef…

Premium This card is part of the premium lesson. Unlock

C++ DEVELOPMENT FLOW - INCH BY INCH

Definition

Suppose file: hello.cpp…

Premium This card is part of the premium lesson. Unlock
Program
Code
Explanation

Step 1: Editor ↓ hello.cpp cr……

Premium This card is part of the premium lesson. Unlock
Explanation

Step 3: Compiler ↓ C++ translated Step 4: Assembler ↓ Machine-oriented object code Step……

Premium This card is part of the premium lesson. Unlock

இதுதான் complete programming ……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT AND OPERATING SYSTEM

Programming environment தனியாக hardware-ஐ usually control செய்யாது. Flow: Programmi……

Premium This card is part of the premium lesson. Unlock

LANGUAGE PROCESSING SYSTEM

Compiler மட்டும் தனியாக language processing system அல்ல. Complete system: Pr……

Premium This card is part of the premium lesson. Unlock

TOOL CHAIN

Development-ல் tools sequence: Toolchain Example C++ toolchain: Editor ↓ Prepr……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT vs PROGRAMMING LANGUAGE

Explanation
Example

C++ = Programming Language Vi……

Premium This card is part of the premium lesson. Unlock

PROGRAMMING ENVIRONMENT vs IDE

Explanation

இந்த இரண்டையும் same என்று always சொல்லக்கூடாது. Programming Environment broader concept. Programming Environ……

Premium This card is part of the premium lesson. Unlock
Comparison
Compiler, Linker, Loader
Important

இந்த sequence கட்டாயம் நினைவில் வைத்துக்கொள்ளுங்கள்: Edit ↓ Compile ↓ Link ↓ Load ↓ Execute……

Premium This card is part of the premium lesson. Unlock
Common Mistake
Common error

Confuse செய்ய வேண்டாம்: Compiler ≠ Linker Linker ≠ Loader Editor ……

Premium This card is part of the premium lesson. Unlock
Memory Trick

E → Editor → Enter code C → Compiler → Convert code L → Linker → Link files L……

Premium This card is part of the premium lesson. Unlock
TRB Point

1. A collection of tools used……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Programming Environme……

Premium This card is part of the premium lesson. Unlock
TRB Point

1. Which tool converts source……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Compiler…

Premium This card is part of the premium lesson. Unlock
TRB Point

1. Which tool combines object……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Linker…

Premium This card is part of the premium lesson. Unlock
TRB Point

1. Which tool loads executabl……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Loader…

Premium This card is part of the premium lesson. Unlock
TRB Point

1. Which tool is used to loca……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Debugger…

Premium This card is part of the premium lesson. Unlock

IDE stands for:

TRB Point

Answer: Integrated Developmen……

Premium This card is part of the premium lesson. Unlock
TRB Point

1. A compiler running on one ma……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Cross Compiler…

Premium This card is part of the premium lesson. Unlock
TRB Point

1. The system where a compile……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Host…

Premium This card is part of the premium lesson. Unlock
TRB Point

1. The system for which code ……

Premium This card is part of the premium lesson. Unlock
TRB Point

Answer: Target…

Premium This card is part of the premium lesson. Unlock

C++ source files commonly use:

TRB Point

Answer: .cpp…

Premium This card is part of the premium lesson. Unlock
MCQ

Which component combines obje……

Premium This card is part of the premium lesson. Unlock
MCQ

Which tool places an executab……

Premium This card is part of the premium lesson. Unlock
MCQ

IDE stands for:…

Premium This card is part of the premium lesson. Unlock
MCQ

Which software converts assem……

Premium This card is part of the premium lesson. Unlock
MCQ

Which tool helps execute a pr……

Premium This card is part of the premium lesson. Unlock
MCQ

A compiler generating code fo……

Premium This card is part of the premium lesson. Unlock
MCQ

Which is normally processed b……

Premium This card is part of the premium lesson. Unlock
MCQ

Which is a C++ source file ex……

Premium This card is part of the premium lesson. Unlock
MCQ

Step Into is associated with:…

Premium This card is part of the premium lesson. Unlock
MCQ

Which sequence is logically c……

Premium This card is part of the premium lesson. Unlock
TRB Point
Exam point

ஒரு 5-mark question: Explain Programming Environment. Answer structure: Definition ↓ Editor ↓ Compiler ↓ Asse……

Premium This card is part of the premium lesson. Unlock
Summary

Programming Environment என்பது program development-க்கு required complete ecosystem. Programming Environment ……

Premium This card is part of the premium lesson. Unlock
Text size
17px
Theme
Contents
Print / PDF
Program