251 Programming Languages and Translators • Source and Target Code प्रोग्रामर द्वारा किसी प्रोग्रामिंग भाषा में लिखा गया मूल प्रोग्राम क्या कहलाता है? What is the original program written by a programmer in a programming language called? A. मशीन रजिस्टर Machine register B. स्रोत कोड Source code C. कंट्रोल बस Control bus D. मेमोरी पेज Memory page उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B स्रोत कोड प्रोग्राम का वह रूप है जिसे प्रोग्रामर लिखता और संपादित करता है। इसके निष्पादन के लिए उपयुक्त कंपाइलर या इंटरप्रेटर की आवश्यकता हो सकती है। Source code is the form of a program written and edited by a programmer. Execution may require a suitable compiler or interpreter.
252 Programming Languages and Translators • Linkers and Loaders ऑब्जेक्ट मॉड्यूल और आवश्यक लाइब्रेरी को जोड़ने का कार्य कौन करता है? Which tool combines object modules and required libraries? A. टेक्स्ट एडिटर Text editor B. स्क्रीन रीडर Screen reader C. डिस्क क्लीनर Disk cleaner D. लिंकर Linker उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D लिंकर ऑब्जेक्ट मॉड्यूल और लाइब्रेरी को जोड़ता है तथा उनके बीच संदर्भों का समाधान करता है। इससे निष्पादन योग्य प्रोग्राम तैयार किया जा सकता है। A linker combines object modules and libraries and resolves references between them. This can produce an executable program.
253 Programming Languages and Translators • Linkers and Loaders निष्पादन योग्य प्रोग्राम को मेमोरी में लाने और चलने के लिए तैयार करने वाला घटक क्या कहलाता है? What is the component that brings an executable program into memory and prepares it to run called? A. लोडर Loader B. असेंबलर Assembler C. फाइल संपीड़क File compressor D. सोर्स एडिटर Source editor उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A लोडर प्रोग्राम को मेमोरी में लोड करके निष्पादन के लिए तैयार करता है। यह स्रोत कोड लिखने या असेंबली का अनुवाद करने का कार्य नहीं है। A loader loads a program into memory and prepares it for execution. This differs from editing source code or translating assembly.
254 Programming Languages and Translators • Programming Errors किसी प्रोग्रामिंग भाषा के व्याकरण के नियम का उल्लंघन किस प्रकार की त्रुटि है? Violating the grammatical rules of a programming language produces which type of error? A. तार्किक त्रुटि Logical error B. पूर्णांकन त्रुटि Rounding error C. सिंटैक्स त्रुटि Syntax error D. हार्डवेयर त्रुटि Hardware error उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C सिंटैक्स त्रुटि भाषा की संरचना या व्याकरण के नियम टूटने से होती है। आवश्यक ब्रैकेट न लगाना इसका उदाहरण हो सकता है। A syntax error occurs when language structure or grammar rules are violated. Omitting a required bracket can be an example.
255 Programming Languages and Translators • Programming Errors एक प्रोग्राम बिना त्रुटि संदेश के चलता है, लेकिन गलत सूत्र के कारण गलत उत्तर देता है। यह कौन-सी त्रुटि है? A program runs without an error message but produces an incorrect answer because of a wrong formula. What type of error is this? A. सिंटैक्स त्रुटि Syntax error B. तार्किक त्रुटि Logical error C. लिंकिंग त्रुटि Linking error D. फाइल अनुमति त्रुटि File permission error उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B तार्किक त्रुटि में प्रोग्राम का तर्क या गणना गलत होती है। प्रोग्राम चल सकता है, लेकिन परिणाम अपेक्षित नहीं होता। A logical error involves incorrect program logic or calculation. The program may run but produce an unintended result.
256 Programming Languages and Translators • Algorithms किसी समस्या को हल करने की सीमित और स्पष्ट चरणबद्ध प्रक्रिया क्या कहलाती है? What is a finite, clearly defined step-by-step procedure for solving a problem called? A. कंपाइलर Compiler B. ऑब्जेक्ट कोड Object code C. डिवाइस ड्राइवर Device driver D. एल्गोरिदम Algorithm उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D एल्गोरिदम समस्या समाधान के स्पष्ट चरण बताता है। इसे किसी एक प्रोग्रामिंग भाषा में लिखना अनिवार्य नहीं है। An algorithm specifies clear steps for solving a problem. It need not be written in any particular programming language.
257 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में निर्णय या शर्त की जाँच के लिए कौन-सा चिह्न प्रयोग होता है? Which symbol represents a decision or condition check in a flowchart? A. हीरे का आकार Diamond B. आयत Rectangle C. समांतर चतुर्भुज Parallelogram D. अंडाकार Oval उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A हीरे के आकार का निर्णय चिह्न किसी शर्त की जाँच दिखाता है। इससे प्रायः हाँ/नहीं या सत्य/असत्य जैसे अलग मार्ग निकलते हैं। A diamond represents a decision or condition check. It commonly branches into paths such as yes/no or true/false.
258 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में इनपुट या आउटपुट के लिए कौन-सा चिह्न प्रयोग होता है? Which symbol is used for input or output in a flowchart? A. आयत Rectangle B. हीरे का आकार Diamond C. समांतर चतुर्भुज Parallelogram D. अंडाकार Oval उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C समांतर चतुर्भुज इनपुट या आउटपुट को दर्शाता है। उदाहरणतः संख्या पढ़ना या परिणाम प्रदर्शित करना। A parallelogram represents input or output, such as reading a number or displaying a result.
259 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में गणना या प्रोसेसिंग चरण को सामान्यतः किस चिह्न से दिखाते हैं? Which symbol generally represents a calculation or processing step in a flowchart? A. अंडाकार Oval B. आयत Rectangle C. हीरे का आकार Diamond D. समांतर चतुर्भुज Parallelogram उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B आयत प्रोसेसिंग चरण दर्शाता है, जैसे दो संख्याओं को जोड़ना या किसी चर को मान देना। A rectangle represents a processing step, such as adding two numbers or assigning a value to a variable.
260 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में प्रारंभ और समाप्ति के लिए सामान्यतः कौन-सा चिह्न प्रयोग होता है? Which symbol is generally used for the start and end of a flowchart? A. हीरे का आकार Diamond B. समांतर चतुर्भुज Parallelogram C. साधारण आयत Plain rectangle D. अंडाकार टर्मिनेटर Oval terminator उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D टर्मिनेटर चिह्न प्रक्रिया का प्रारंभ या अंत दिखाता है। इसे सामान्यतः अंडाकार या गोल सिरों वाले आकार में बनाया जाता है। A terminator marks the start or end of a process. It is commonly drawn as an oval or a shape with rounded ends.