Source Code Definition

Source Code Definition

Source code (also referred to as source or code) is the version of software as it is originally written (i.e., typed into a computer) by a human in plain text (i.e., human readable alphanumeric characters). Source code can be written in any of the hundreds of programming languages that have been developed. Some of the most popular of these are C, C++, COBOL, FORTRAN, Java, Perl, PHP, etc. There are many programs that can be used for writing source code in the desired programming language, ranging from simple, general purpose text editors to integrated development environments. After writing, the source code is saved in a single file or, more commonly, in multiple files, with the number of files depending on such factors as the programming language and the size of the project. Very often it is the case that source code intended for use on one platform can be written on another platform.

सोर्स कोड परिभाषाः सोर्स कोड (इसे सोर्स या कोड के रूप में भी संदर्भित किया जाता है) सॉफ्टवेयर का वर्जन है, क्योंकि यह मूल रूप से (जैसे, कंप्यूटर में टाइप किया गया है) एक मानव द्वारा प्लेन टेक्स्ट (यानी, मानव पठनीय अल्फान्यूमेरिक कैरेक्टर) में लिखा गया है। सोर्स कोड को उन सैकड़ों प्रोग्रामिंग भाषाओं में लिखा जा सकता है जिन्हें विकसित किया गया है। इनमें से कुछ सबसे लोकप्रिय हैं C, C++, COBOL, FORTRAN, जावा, पर्ल, पीएचपी, आदि ऐसे कई प्रोग्राम हैं। जिनका उपयोग वांछित प्रोग्रामिंग भाषा में सोर्स कोड लिखने के लिए किया जा सकता है, जो साधारण, सामान्य प्रयोजन टेक्स्ट एडीटरों से लेकर एकीकृत विकास के वातावरण के लिए। लिखने के बाद, सोर्स कोड को एकल फाइल या, आमतौर पर, एकाधिक फाइलों में, प्रोग्रामिंग भाषा और प्रोजेक्ट के आकार जैसे कारकों के आधार पर फाइलों की संख्या के साथ बचाया जाता है। बहुत बार ऐसा होता है कि एक प्लेटफॉर्म पर उपयोग के लिए सोर्स कोड किसी अन्य प्लेटफॉर्म पर लिखा जा सकता है।

Object Code Definition: Object code is the output of a compiler after it processes source code. Source code is the version of a computer program as it is originally written (i.e., typed into a computer) by a human in a programming language. A compiler is a specialized program that converts source code into object code. The object code is usually a machine code, also called a machine language, which can be understood directly by a specific type of CPU. A machine code file can be immediately executable or it might require linking with other object code files (e.g. libraries) to produce a complete executable program.

An object file format is a format that is used for the storage of object code and related data typically produced by a compiler. An object code file can contain not only the object code, but also relocation information that the linker uses to assemble multiple object files to form an executable program. It can also contain other information, such as program symbols (names of variables and functions) and debugging (i.e., removing errors) information.

ऑब्जेक्ट कोड परिभाषाः सोर्स कोड को प्रोसेस करने के बाद ऑब्जेक्ट कोड एक कंपाइलर का आउटपुट होता है। सोर्स कोड एक कंप्यूटर प्रोग्राम का वर्जन है क्योंकि यह मूल रूप से (जैसे, कंप्यूटर में टाइप किया गया) एक प्रोग्रामिंग भाषा में मानव द्वारा लिखा गया है। एक कंपाइलर एक विशेष कार्यक्रम है जो सोर्स कोड को ऑब्जेक्ट कोड में परिवर्तित करता है। ऑब्जेक्ट कोड आमतौर पर एक मशीन कोड होता है, जिसे मशीन भाषा भी कहा जाता है, जिसे एक विशेष प्रकार के सीपीयू द्वारा सीधे समझा जा सकता है। एक मशीन कोड फाइल तुरंत निष्पादन योग्य हो सकती है या इसे एक पूर्ण निष्पादन योग्य प्रोग्राम बनाने के लिए अन्य ऑब्जेक्ट कोड फाइलों (जैसे लाइब्रेरी) के साथ लिंक करने की आवश्यकता हो सकती है। ऑब्जेक्ट फाइल फार्मेट एक फार्मेट है जिसका उपयोग ऑब्जेक्ट कोड और संबंधित डेटा के संग्रह के लिए आमतौर पर एक कंपाइलर द्वारा किया जाता है। ऑब्जेक्ट कोड फाइल में न केवल ऑब्जेक्ट कोड शामिल हो सकता है, बल्कि यह जानकारी भी है कि लिंकर एक निष्पादन योग्य प्रोग्राम बनाने के लिए कई ऑब्जेक्ट फाइलों को इकट्ठा करने के लिए उपयोग करता है। इसमें अन्य सूचनाएँ भी हो सकती हैं, जैसे कि प्रोग्राम सिंबल (वैरियेबल और फंक्शंस के नाम) और डीबगिंग (यानी, त्रुटियों को दूर करना) जानकारी।

Brief Description of Programming Languages
प्रोग्रामिंग भाषा का संक्षिप्त वर्णन

Program life cycle is the process series which facilitates a programmer to implement a program at its various levels to implement, test and debug the things clearly. Here is life cycle of the program being created. Here we will discuss historical overview of features introduced by various programming languages detailed as follows in brief…

प्रोग्राम लाईफ साइकिल एक प्रोसेस सीरीज होता है जो स्पष्ट रूप से चीजों को लागू करने, परीक्षण और डिबग करने के लिए अपने विभिन्न स्तरों पर एक कार्यक्रम को लागू करने के लिए एक प्रोग्रामर की सुविधा देता है। यहां कार्यक्रम का जीवन चक्र बनाया जा रहा है। यहां हम विभिन्न प्रोग्रामिंग भाषाओं द्वारा प्रस्तुत सुविधाओं के ऐतिहासिक अवलोकन पर चर्चा करेंगे जो संक्षिप्त में निम्नानुसार हैं …

Here we will discuss historical overview of features introduced by various programming languages detailed as follows in brief…

यहाँ हम प्रोग्रामिंग लैंग्वेज के इतिहास के बारे में चर्चा करेंगे की कब और कौन से प्रोग्रामिंग लैंग्वेज को परिचित कराया गया था। नीचे लगभग सभी प्रोग्रामिंग लैंग्वेज के बारे में उसका संक्षिप्त परिचय एवं विशेषता बताया गया है

BASIC – बेसिक

This had been introduced in 1964 and developed by J. Kemeny and T. Kurz. It is ancestor of Visual BASIC. Here come the key features in brief…

यह 1964 में शुरू किया गया था और जे. केमनी और टी. कुर्ज द्वारा विकसित किया गया था। यह Visual BASIC का पूर्वज है। यहाँ संक्षिप्त में मुख्य विशेषताएं आते हैं …

Educational –शैक्षिक
Interactive – इंटेरेकटिव
Descended from FORTRAN – फोरट्रान से उतरे
Simple syntax – सिम्पल सिंन्टैक्स –
Limited data structures – सीमित डेटा स्ट्रक्चर
Arrays start with index 1 – ऐरे इंडेक्स 1 से शुरू होता है

FORTRAN – फोरट्रान

This programming language had been introduced in 1954-57 by J, Backus. This does Numeric computing and introduced with the following features initially…

इस प्रोग्रामिंग लैंग्वेज को 1954-57 में जे. बैकस ने पेश किया था। यह न्यूमेरिक कंप्यूटिंग करता है और शुरू में निम्नलिखित विशेषताओं के साथ पेश किया गया है।

Parameter pass by value पैरामीटर पास बाई वैल्यू

Static allocation स्टैटिक एलोकेशन

Separate compilation (because hardware failures were very frequent, length of a program could not exceed 300/400 lines) (FORTRAN II)

अलग संकलन (क्योंकि हार्डवेयर फेल्योर बहुत ज्यादा थीं, एक प्रोग्राम की लंबाई 300/400 लाइनों से अधिक नहीं हो सकती) (FORTRAN II)

Modularity (separately developed subprograms)

प्रतिरूपकता (अलग से विकसित उपप्रोग्राम)

Sharing of data among modules via a global environment

एक ग्लोबल इनवॉयरमेंट के माध्यम से मॉड्यूल के बीच डेटा साझा करना

Still in existence today, mostly in science/academic circles

आज भी अस्तित्व में है, ज्यादातर विज्ञान/अकादमिक हलकों में

COBOL – कोबाल

This programming language had been introduced in 1960. This does Business data processing. This focuses on moving and formatting data, rather than on heavy computation and still in existence today, mostly in the business environment.

इस प्रोग्रामिंग भाषा को 1960 में पेश किया गया था। यह बिजनेस डाटा प्रोसेसिंग करता है। यह भारी गणना पर और अभी भी अस्तित्व में होने के बजाय डेटा को स्थानांतरित करने और प्रारूपित करने पर केंद्रित है, ज्यादातर व्यापारिक परिप्रेक्ष्य है ।

Chapter wise Model Paper Link