MeraForum Community.No 1 Pakistani Forum Community - View Single Post - Translating Programming Languages
View Single Post
(#1)
Old
Morash's Avatar
Morash Morash is offline
 


Posts: 17,781
My Photos: ()
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender: Male
cool Translating Programming Languages - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   03-30-2014, 12:41 AM



Translating Programming Languages




Since A Computer Is Only Capable Of Understanding Machine Code, Human-Readable Code Must Be Either Interpreted Or Translated Into Machine Code.

An Interpreter Is A Program (Often Written In A Lower Level Language) That Interprets The Instructions Of A Program One Instruction At A Time Into Commands That Are To Be Carried Out By The Interpreter As It Happens. Typically Each Instruction Consists Of One Line Of Text Or Provides Some Other Clear Means Of Telling Each Instruction Apart And The Program Must Be Reinterpreted Again Each Time The Program Is Run.

A Compiler Is A Program Used To Translate The Source Code, One Instruction At A Time, Into Machine Code. The Translation Into Machine Code May Involve Splitting One Instruction Understood By The Compiler Into Multiple Machine Instructions. The Instructions Are Only Translated Once And After That The Machine Can Understand And Follow The Instructions Directly Whenever It Is Instructed To Do So.

The Words And Statements Used To Instruct The Computer May Differ, But No Matter What Words And Statements Are Used, Just About Every Programming Language Will Include Statements That Will Accomplish The Following:

Input
Input Is The Act Of Getting Information From A Device Such As A Keyboard Or Mouse, Or Sometimes Another Program.

Output
Output Is The Opposite Of Input; It Gives Information To The Computer Monitor Or Another Device Or Program.

Math/Algorithm
All Computer Processors (The Brain Of The Computer), Have The Ability To Perform Basic Mathematical Computation, And Every Programming Language Has Some Way Of Telling It To Do So.

Testing
Testing Involves Telling The Computer To Check For A Certain Condition And To Do Something When That Condition Is True Or False. Conditionals Are One Of The Most Important Concepts In Programming, And All Languages Have Some Method Of Testing Conditions.

Repetition
Perform Some Action Repeatedly, Usually With Some Variation.



 





bE driveN wiTh puRpOse, Be r313n71355 in your alιgnмenт;
with excellence.
pAy n0 mInd to the ∂ιsιмραssισηε∂ เ๓ק๏tєภt ђคtєгร

.. нoolιgan
Reply With Quote Share on facebook
Sponsored Links