What Is Compiler, Interpreter and Assembler In Hindi- Dosto Agar aap computer or programming me abi beginner hai ya programming language me interested hai toh yah post aapke liye bahut useful hone wali hai. iss post me hum compiler or interpreter ke baare me jaanege, computer programming me compiler kya hota hai, aur interpreter kya hota hai. compiler aur interpreter kaise kaam karta hai. computer ko koi bhi language smj me nahi aati isliye usse only machine ki language me instruction diye jaate hai or compiler ka bhi yahi kaam hota hai chaliye step to step jaante hai.
What Is Compiler, Interpreter and Assembler In Hindi
What Is Compiler in Hindi?
compiler kya hota hai- Basically Ek compiler High level language ko machine language me convert karta hai, mtlab jo compiler me hum code likhte hai wo codes high level language me hote hai compiler unko change karke machine ko smjne wali language me translate kar deta or hume un codes ka output milta hai. “C” ko sabse jayda compiled programming language bhi bola jata hai kyunki c programming language me aap c ke source code ko compiler me input karte hai baad me compiler us code ko run karke machine language me convert karta hai.
Compiler Definition In Hindi?
Ek computer program jo programmer ke source code jaise high level language c, c++ java inme likhe hue program ko read karke unhe execute karta hai or machine language me convert karta hai. means ek asa computer program jo source code ko object code me translate karta hai use hum compiler bolege.
How Work Compiler in Hindi?
compiler kaise kaam karta hai- Ek compiler in sabhi phases ko follow karta hai – Lexical Analysis, Syntax Analysis, Semantic Analysis, IR Generation, IR Optimization, Code Generation, Optimization. In sabhi process ko follow karne ke baad humare source code ko translate karke machine language me output deta hai.
- preprocessing
- compilation
- assembly
- linking
- execution
What Is Interpreter in Hindi?
Interpreter kya hota hai- interpreter bhi compiler ke jaise he hota hai high level code ko machine level language me change karta hai but interpreter source code ko line by line read karta hai jisse isski speed bahut slow ho jaati hai.
Definition of Interpreter in Hindi?
Ek computer program jo high level language source code ko line by line (statement by statement read karta hai or unhe machine level language me translate karta hai. interpreter source code ko line by line read karta hai or agar ek line yaa statement me kuch error aa rahi toh interpreter aage read nahi karega wo wait karega jab tak uss error ko fix nahi kiya jata.
What is Assembler in Hindi?
Assembler kya hota hai- Computer assembly language me likhe hue program ko samjh nahi pata computer only binary code 0 or 1 language he samjhta hai islye Assembler assembly language me likhe hue program ko machine language me translate karta hai.
Assembly language low level programming language hoti hai jo processor or or jitne bhi programmable device or hardware hai unke liye hoti hai.
What is Difference between Compiler or Interpreter in Hindi?
Compiler | Interpreter |
---|---|
Compiler Ek time par total program ko execute karta hai or input leta hai. | Interpreter EK time par EK statement ko read karta hai or line by line input leta hai. |
Compiler intermediate output deta hai, jise hum object code ya machine code bhi bolte hai. | Interpreter intermediate code output nahi deta. |
compiler conditional statement jaise if- else statement ko execute karta hai or yah bahut fast hai. | Interpreter conditional statement ko execute yah bahut slow karta hai. |
Compiler bahut memory leta hai kyunki pure program ko memory me rahna padta hai. | interpreter bahut kam memory leta hai kyunki yah only ek baar me ek statement read karta hai. |
C,C++ yah sabhi language compiler ka use karti hai. | Ruby, PHP, Python or Perl yah sabhi language Interpreter ka use karti hai. |
See Also:
- Learn C Programming Language -part1
- Basic Terms Of C Programming Language in Hindi (part -2)
- What is sorting algorithm in data structure
- What is Object Oriented Programming
- What is Artificial Intelligence explain in Hindi?