-->

What is a Programming Language

Programming Language:

 As we know, to communicate with a person, we need a specific language, similarly to communicate with computers, programmers also need a language is called Programming language. A programming language is a computer language that is used by programmers to communicate with computers. It is a set of instructions written in any specific language (C, C++, Java, and Python) to perform a specific task.

A programming language is mainly used to develop desktop applications, websites, and mobile applications.

Basically these are two types…..

·         Low Level Language

·         High Level Language

 जैसा कि हम जानते हैं कि किसी व्यक्ति के साथ Communication करने के लिए हमें एक विशेष भाषा की आवश्यकता होती है, उसी तरह कंप्यूटर से Communication करने के लिए, प्रोग्रामर को भी एक भाषा की आवश्यकता होती है जिसे प्रोग्रामिंग भाषा कहा जाता है। एक प्रोग्रामिंग भाषा एक कंप्यूटर भाषा है जिसका उपयोग प्रोग्रामर द्वारा कंप्यूटर के साथ communicate करने के लिए किया जाता है। यह किसी विशेष कार्य को करने के लिए किसी विशेष भाषा (सी, सी++, जावा और पायथन) में लिखे गए निर्देशों का एक सेट है।

एक प्रोग्रामिंग भाषा का उपयोग मुख्य रूप से डेस्कटॉप एप्लिकेशन, वेबसाइट और मोबाइल एप्लिकेशन डेवेलोप करने के लिए किया जाता है।

मूल रूप से ये दो प्रकार के होते हैं

1.       Low Level Language

2.       High Level Language


1.     Low Level Language –

  Low level languages are the machine code in which the instructions are given in machine language in the form of 0 and 1 digit. The processor runs low- level programs directly without the need of a compiler or interpreter, so the programs written in low-level language can be run very fast. It is mainly designed to operate and handle all the hardware or machine.

Low level language is also divided into two parts are.

        i.            Machine Language

      ii.            Assembly Language

 Low level languages मशीन कोड होती हैं जिनमें निर्देश 0 और 1 अंकों के रूप में मशीनी भाषा में दिए जाते हैं। प्रोसेसर बिना किसी Compiler या Interpreter की आवश्यकता के सीधे Low level प्रोग्राम को run करता है, इसलिए Low level भाषा में लिखे गए प्रोग्राम बहुत तेज़ी से चलाए जा सकते हैं। यह मुख्य रूप से सभी हार्डवेयर या मशीन को operate और handle करने के लिए डिज़ाइन किया गया है।

निम्न स्तर की भाषा को भी दो भागों में बांटा गया है।

        i.            Machine Language

      ii.            Assembly Language


i.                    Machine Language –

 Machine language is a type of low-level programming language. It is also called as machine code or object code. Machine Language is one of the low-level programming languages which is the first generation language developed for communicating with a Computer. It is written in machine code which represents 0 and 1 binary digits inside the Computer string which makes it easy to understand and perform the operations for computer.

मशीनी भाषा एक प्रकार की निम्न-स्तरीय प्रोग्रामिंग भाषा है। इसे मशीन कोड या ऑब्जेक्ट कोड भी कहा जाता है। मशीनी भाषा निम्न-स्तरीय प्रोग्रामिंग भाषाओं में से एक है जो कंप्यूटर के साथ संचार करने के लिए विकसित की गई पहली पीढ़ी की भाषा है। यह मशीन कोड में लिखा जाता है जो Computer String के अंदर 0 और 1 बाइनरी अंकों के रूप में represents करता है जो कंप्यूटर के perform और operations को आसान बनाता है। 

Advantage -

The main advantage of using Machine language is that there is no need of a translator or interpreter to translate the code, as the Computer directly can understand.

मशीनी भाषा का उपयोग करने का मुख्य लाभ यह है कि कोड का अनुवाद करने के लिए किसी translator or interpreter की आवश्यकता नहीं होती है, इसे कंप्यूटर सीधे समझ सकता है।

Disadvantages -

there are some disadvantages also like you have to remember the operation codes, memory address every time you write a program and also hard to find errors in a written program.

इसके कुछ नुकसान भी हैं जैसे कि आपको ऑपरेशन कोड याद रखना पड़ता है, हर बार जब आप कोई प्रोग्राम लिखते हैं तो मेमोरी एड्रेस और लिखे गये प्रोग्राम में त्रुटियों को ढूंढना भी मुश्किल होता है।

 

ii.                 Assembly Language - 

Assembly language (ASM) is also a type of low-level programming language. Assembly Language is the second generation programming language that has almost similar structure and set of commands as Machine language. It is also low level language but a very important language in which operation codes and operands are given in the form of alphanumeric symbols instead of 0’s and 1’s. These alphanumeric symbols will be known as mnemonic codes and can have maximum up to 5 letter combinations.

E.g. ADD for addition, SUB for subtraction, MUL for Multiplication etc.

असेंबली लैंग्वेज (ASM) भी ​​एक प्रकार की लो-लेवल प्रोग्रामिंग लैंग्वेज है। असेंबली भाषा दूसरी पीढ़ी की प्रोग्रामिंग भाषा है जिसमें लगभग समान structure और कमांड का सेट मशीनी भाषा के समान है। यह भी एक प्रकार का low-level language है लेकिन एक बहुत ही महत्वपूर्ण भाषा है जिसमें 0 और 1 के बजाय अल्फ़ान्यूमेरिक प्रतीकों के रूप में ऑपरेशन कोड और ऑपरेंड दिए गए हैं। इन alphanumeric symbols को  mnemonic codes के रूप में जाना जाएगा और इसमें अधिकतम 5 अक्षर combinations हो सकते हैं।

जैसे- ADD for addition, SUB for subtraction, MUL for Multiplication आदि।

Advantage-

  It is easier to understand, modify and use as compared to machine language.

मशीनी भाषा की तुलना में इसे समझना, संशोधित करना और उपयोग करना आसान है। 

Disadvantage – 

The main disadvantage of this language is that it is written only for a single type of CPU and does not run on any other CPU.

इस भाषा का मुख्य कमी यह है कि यह केवल एक ही प्रकार के CPU के लिए लिखा जाता है और किसी अन्य CPU पर नहीं चलता है।

 

2.     High Level Language – 

High level language is a computer programming language that is easy to understand by programmer. High level language in not easily understand by machine. It is requires translator for machine before being executed by the computer.

These are many types high level language as like…

BASIC, COBOL, PASCAL, FORTRAN, HTML, DHTML, CSS, JAVA, JS, C/C++, PHP, SQL, PYTHON, KOTLIN etc.

 उच्च स्तरीय भाषा एक कंप्यूटर प्रोग्रामिंग भाषा है जिसे प्रोग्रामर द्वारा समझना आसान है। उच्च स्तरीय भाषा को मशीन द्वारा आसानी से समझा नहीं जा सकता है। कंप्यूटर द्वारा executed होने से पहले इसे मशीन के लिए translator की आवश्यकता होती है।

कई प्रकार की High Level Language हैं जैसे

BASIC, COBOL, PASCAL, FORTRAN, HTML, DHTML, CSS, JAVA, JS, C/C++, PHP, SQL, PYTHON, KOTLIN etc.