What Is A Programming Language? - MeraForum Community.No 1 Pakistani Forum Community

MeraForum Community.No 1 Pakistani Forum Community

link| link| link
MeraForum Community.No 1 Pakistani Forum Community » The World of Information » Computer and Information Technology » C++ » What Is A Programming Language?
C++ All Programs of C++ Languages

Advertisement
 
Post New Thread  Reply
 
Thread Tools Display Modes
(#1)
Old
Morash's Avatar
Morash Morash is offline
 


Posts: 17,781
My Photos: ()
Country:
Star Sign:
Join Date: Jul 2010
Location: ▌║█║▌│█│║▌║
Gender: Male
?? What Is A Programming Language? - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   03-30-2014, 12:38 AM




What Is A Programming Language?



In The Most Basic Terms, A "Programming Language" Is A Means Of Communication Between A Human Being (Programmer) And A Computer. A Programmer Uses This Means Of Communication In Order To Give The Computer Instructions. These Instructions Are Called "Programs".

Like The Many Languages We Use To Communicate With Each Other, There Are Many Languages That A Programmer Can Use To Communicate With A Computer. Each Language Has Its Own Set Of Words And Rules, Called Semantics. If You're Going To Write A Program, You Have To Follow The Semantics Of The Language You're Writing In, Or You Won't Be Understood.

Programming Languages Can Basically Be Divided In To Two Categories: Low-Level And High-Level.



Low-Level

The Lower Level In Computer "Languages" Are:

Machine Code (Also Called Binary) Is The Lowest Form Of A Low-Level Language. Machine Code Consists Of A String Of 0s And 1s, Which Combine To Form Meaningful Instructions That Computers Can Take Action On. If You Look At A Page Of Binary It Becomes Apparent Why Binary Is Never A Practical Choice For Writing Programs; What Kind Of Person Would Actually Be Able To Remember What A Bunch Of Strings Of 1 And 0 Mean?

Assembly Language (Also Called Asm), Is Just Above Machine Code On The Scale From Low Level To High Level. It Is A Human-Readable Translation Of The Machine Language Instructions The Computer Executes. For Example, Instead Of Referring To Processor Instructions By Their Binary Representation (0s And 1s), The Programmer Refers To Those Instructions Using A More Memorable (Mnemonic) Form. These Mnemonics Are Usually Short Collections Of Letters That Symbolize The Action Of The Respective Instruction, Such As "Add" For Addition, And "Mov" For Moving Values From One Place To Another.

You Do Not Have To Understand Assembly Language To Program In C++, But It Does Help To Have An Idea Of What's Going On "Behind-The-Scenes". Learning About Assembly Language Will Also Allow You To Have More Control As A Programmer And Help You In Debugging And Understanding Code.

The Advantages Of Writing In A High-Level Language Format Far Outweigh Any Drawbacks, Due To The Size And Complexity Of Most Programming Tasks, Those Advantages Include:

Advanced Program Structure: Loops, Functions, And Objects All Have Limited Usability In Low-Level Languages, As Their Existence Is Already Considered A "High" Level Feature; That Is, Each Structure Element Must Be Further Translated Into Low-Level Language.

Portability: High-Level Programs Can Run On Different Kinds Of Computers With Few Or No Modifications. Low-Level Programs Often Use Specialized Functions Available On Only Certain Processors, And Have To Be Rewritten To Run On Another Computer.

Ease Of Use: Many Tasks That Would Take Many Lines Of Code In Assembly Can Be Simplified To Several Function Calls From Libraries In High-Level Programming Languages. For Example, Java, A High-Level Programming Language, Is Capable Of Painting A Functional Window With About Five Lines Of Code, While The Equivalent Assembly Language Would Take At Least Four Times That Amount.



High-Level

High-Level Languages Do More With Less Code, Although There Is Sometimes A Loss In Performance And Less Freedom For The Programmer. They Also Attempt To Use English Language Words In A Form Which Can Be Read And Generally Interpreted By The Average Person With Little Experience In Them. A Program Written In One Of These Languages Is Sometimes Referred To As "Human-Readable Code". In General, More Abstraction Makes It Easier For A Language Be Learned.

No Programming Language Is Written In What One Might Call "Plain English" Though, (Although Basic And Cobol Come Close). Because Of This, The Text Of A Program Is Sometimes Referred To As "Code", Or More Specifically As "Source Code."
Higher-Level Languages Partially Solve The Problem Of Abstraction To The Hardware (Cpu, Co-Processors, Number Of Registers Etc...) By Providing Portability Of Code.
Keep In Mind That This Classification Scheme Is Evolving. C++ Is Still Considered A High-Level Language, But With The Appearance Of Newer Languages (Java, C#, Ruby Etc...), C++ Is Beginning To Be Grouped With Lower Level Languages Like C.


 





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
(#2)
Old
AYAZ's Avatar
AYAZ AYAZ is offline
 


Posts: 12,370
My Photos: ()
Country:
Star Sign:
Join Date: Aug 2008
Location: Karachi
Gender: Male
Default Re: What Is A Programming Language? - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   03-30-2014, 05:38 AM

Thanks really like reading it

 







ALLAH FARMATA HAI :
AEY BANDEY JO HUA
WO ACHA HUA .
JO HORAHA HAI ACHA HO RAHA HAI.
JO HOGA WO BHI ACHA HOGA.
TERA KIYA GAIYA JO TU ROTA HAI
TU KIA LAYA JO TU NE KHO DIYA.
JO LIYA YAHIN (DUNYA) SEI LIYA
JO DIYA YAHIN (DUNYA) PE DIYA
JO AAJ TERA HAI PEHLAY KISI AUR KA THA
AUR KAL KISI AUR KA HOGA.
TABDEELI KAINAAT KA MAMOOL HAI
BAS TU WO JAMA KAR JO TU SATH LEI KAR JANEY WALA HAI
YANI NAIK AMAAL.


(#3)
Old
PRINCE SHAAN PRINCE SHAAN is offline
 


Posts: 7,688
My Photos: ()
Country:
Join Date: Jul 2010
Location: PAKISTAN
Gender: Male
Default Re: What Is A Programming Language? - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   03-30-2014, 08:17 AM

Best sharing dear..........................

 

(#4)
Old
pakeeza's Avatar
pakeeza pakeeza is offline
 


Posts: 28,336
My Photos: ()
Country:
Star Sign:
Join Date: Jan 2012
Location: Maa ki duaon mey
Gender: Female
Default Re: What Is A Programming Language? - >>   Show Printable Version  Show Printable Version   Email this Page  Email this Page   03-30-2014, 12:24 PM

Goood ShaarinG

 



Be Positive... Everything Gonna be Alright

Post New Thread  Reply

Bookmarks

Tags
language, programming

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Language Issue Aadii~ Chat Room Probelms/Banned Problems/Errors 11 03-13-2017 02:57 PM
What's your first language? Mf Great Power GupShup 20 06-29-2015 04:05 PM
What Is a Computer Programming Language? pakeeza Computer and Information Technology 14 05-24-2013 05:37 PM
Language ღƬαsнι☣Rασ™ Hamara Pakistan 5 01-19-2011 11:16 AM


All times are GMT +5. The time now is 07:49 PM.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

All the logos and copyrights are the property of their respective owners. All stuff found on this site is posted by members / users and displayed here as they are believed to be in the "public domain". If you are the rightful owner of any content posted here, and object to them being displayed, please contact us and it will be removed promptly.

Nav Item BG