3631 Programming Languages and Translators • Programming Errors किसी प्रोग्रामिंग भाषा के व्याकरण के नियम का उल्लंघन किस प्रकार की त्रुटि है? Violating the grammatical rules of a programming language produces which type of error? सेव करें Save सेव्ड Saved 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.
3632 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? सेव करें Save सेव्ड Saved 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.
3633 Programming Languages and Translators • Algorithms किसी समस्या को हल करने की सीमित और स्पष्ट चरणबद्ध प्रक्रिया क्या कहलाती है? What is a finite, clearly defined step-by-step procedure for solving a problem called? सेव करें Save सेव्ड Saved 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.
3634 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में निर्णय या शर्त की जाँच के लिए कौन-सा चिह्न प्रयोग होता है? Which symbol represents a decision or condition check in a flowchart? सेव करें Save सेव्ड Saved 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.
3635 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में इनपुट या आउटपुट के लिए कौन-सा चिह्न प्रयोग होता है? Which symbol is used for input or output in a flowchart? सेव करें Save सेव्ड Saved 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.
3636 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में गणना या प्रोसेसिंग चरण को सामान्यतः किस चिह्न से दिखाते हैं? Which symbol generally represents a calculation or processing step in a flowchart? सेव करें Save सेव्ड Saved 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.
3637 Programming Languages and Translators • Flowchart Symbols फ्लोचार्ट में प्रारंभ और समाप्ति के लिए सामान्यतः कौन-सा चिह्न प्रयोग होता है? Which symbol is generally used for the start and end of a flowchart? सेव करें Save सेव्ड Saved 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.
3638 Programming Languages and Translators • Pseudocode एल्गोरिदम को सरल, प्रोग्राम-जैसी लेकिन औपचारिक भाषा के नियमों से मुक्त शैली में लिखना क्या कहलाता है? What is writing an algorithm in a simple, program-like style without strict programming-language syntax called? सेव करें Save सेव्ड Saved A. स्यूडोकोड Pseudocode B. मशीन कोड Machine code C. ऑब्जेक्ट कोड Object code D. बाइटकोड Bytecode उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A स्यूडोकोड प्रोग्राम के तर्क को समझाने का अनौपचारिक तरीका है। इसे सामान्यतः सीधे कंप्यूटर पर निष्पादित नहीं किया जाता। Pseudocode is an informal way to describe program logic. It is generally not executed directly by a computer.
3639 Programming Languages and Translators • Control Structures IF–ELSE संरचना किस प्रकार के नियंत्रण का उदाहरण है? An IF–ELSE structure is an example of which type of control? सेव करें Save सेव्ड Saved A. केवल पुनरावृत्ति Iteration only B. केवल क्रमिक निष्पादन Sequential execution only C. चयन Selection D. डेटा संपीड़न Data compression उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C IF–ELSE शर्त के आधार पर अलग-अलग मार्गों में से एक चुनता है। इसे चयन या शाखन संरचना कहते हैं। IF–ELSE chooses between alternative paths based on a condition. It is a selection or branching structure.
3640 Programming Languages and Translators • Control Structures निर्देशों के समूह को निर्धारित संख्या में या शर्त के अनुसार बार-बार चलाने के लिए क्या उपयोग होता है? What is used to execute a group of instructions repeatedly for a specified count or according to a condition? सेव करें Save सेव्ड Saved A. केवल टिप्पणी A comment only B. लूप A loop C. फाइल एक्सटेंशन A file extension D. लिंकर A linker उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B लूप निर्देशों की पुनरावृत्ति करता है। FOR और WHILE कई भाषाओं में प्रयुक्त लूप संरचनाओं के उदाहरण हैं। A loop repeats instructions. FOR and WHILE are examples of loop structures used in many languages.