661 Programming Languages and Translators • Translators and Errors आयत का क्षेत्रफल निकालने वाला प्रोग्राम length × breadth के बजाय length + breadth करता है। यदि वह बिना रुके चलता है, तो मुख्य त्रुटि क्या है? A program calculates rectangle area using length + breadth instead of length × breadth. If it runs without stopping, what is the main error? A. Logical error Logical error B. अनिवार्य syntax error A necessary syntax error C. कीबोर्ड हार्डवेयर त्रुटि A keyboard hardware error D. फ़ाइल एक्सटेंशन त्रुटि A file-extension error उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A प्रोग्राम चल रहा है, लेकिन सूत्र गलत है। यह logical error है, जिसमें निर्देश वैध हो सकते हैं लेकिन परिणाम अपेक्षित नहीं होता। The program runs but uses an incorrect formula. This is a logical error: instructions may be valid while producing an unintended result.
662 Programming Languages and Translators • Translators and Errors किसी प्रोग्राम का सफलतापूर्वक compile हो जाना क्या सुनिश्चित नहीं करता? What does successful compilation of a program not ensure? A. Compiler ने संबंधित source code को स्वीकार किया The compiler accepted the relevant source code B. उसके परिणाम हर वैध input के लिए सही होंगे Its results will be correct for every valid input C. उस चरण में compilation रोकने वाली त्रुटि रिपोर्ट नहीं हुई No compilation-blocking error was reported at that stage D. Compilation चरण पूरा हुआ The compilation stage completed उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B Successful compilation सही तर्क या हर स्थिति में सफल निष्पादन की गारंटी नहीं है। Logical errors और runtime समस्याएँ फिर भी हो सकती हैं। Successful compilation does not guarantee correct logic or successful execution in every situation. Logical errors and runtime problems can still occur.
663 Programming Languages and Translators • Programming Basics Flowchart में तीर वाली रेखाएँ मुख्यतः क्या दर्शाती हैं? What do arrowed lines primarily indicate in a flowchart? A. मेमोरी की कुल क्षमता Total memory capacity B. सभी variable के data types The data types of all variables C. प्रोग्राम की फ़ाइल का आकार The program file size D. चरणों के बीच नियंत्रण-प्रवाह की दिशा The direction of control flow between steps उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D Flow lines चरणों को जोड़ती हैं और बताती हैं कि नियंत्रण किस दिशा में आगे बढ़ता है। निर्णय के बाद अलग शाखाएँ भी इन्हीं से दर्शाई जाती हैं। Flow lines connect steps and show the direction in which control proceeds. They also indicate branches following decisions.
664 Programming Languages and Translators • Programming Basics किसी algorithm का dry run करने का अर्थ क्या है? What does performing a dry run of an algorithm mean? A. बिना बिजली के कंप्यूटर चालू करना Starting a computer without electricity B. सभी comments हटाना Removing all comments C. नमूना input लेकर उसके चरणों और मानों को हाथ से ट्रेस करना Manually tracing its steps and values using sample input D. प्रोग्राम को अनिवार्य रूप से मशीन कोड में बदलना Necessarily converting the program into machine code उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C Dry run में algorithm को कंप्यूटर पर चलाए बिना उसके चरणों का क्रम और variable के बदलते मान जाँचे जाते हैं। इससे तर्क की त्रुटियाँ खोजने में सहायता मिलती है। A dry run checks the sequence of steps and changing variable values without executing the algorithm on a computer. It helps identify logical mistakes.
665 Microsoft Word • Editing and Formatting MS Word में पैराग्राफ को केंद्र में संरेखित करने का शॉर्टकट कौन-सा है? Which shortcut centers a paragraph in MS Word? A. Ctrl + L Ctrl + L B. Ctrl + E Ctrl + E C. Ctrl + R Ctrl + R D. Ctrl + J Ctrl + J उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B MS Word में Ctrl + E पैराग्राफ को center-align करता है। In MS Word, Ctrl + E applies center alignment to a paragraph.
666 Microsoft Word • Editing and Formatting MS Word में First Line Indent किस पर प्रभाव डालता है? What does First Line Indent affect in MS Word? A. दस्तावेज़ के केवल पहले पृष्ठ पर Only the first page of the document B. पैराग्राफ की अंतिम पंक्ति पर The last line of a paragraph C. पैराग्राफ की पहली पंक्ति को छोड़कर शेष पंक्तियों पर All lines of a paragraph except the first D. पैराग्राफ की केवल पहली पंक्ति की क्षैतिज स्थिति पर The horizontal position of only the first line of a paragraph उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D First Line Indent पहली पंक्ति की स्थिति बदलता है। Hanging Indent में पहली पंक्ति के बाद की पंक्तियाँ इंडेंट होती हैं। First Line Indent changes the position of the first line. A hanging indent instead indents the lines following the first.
667 Microsoft Word • Editing and Formatting MS Word में H₂O लिखते समय 2 को आधार रेखा के नीचे छोटा दिखाने के लिए कौन-सी फ़ॉर्मेटिंग उपयुक्त है? Which formatting is suitable for displaying 2 smaller and below the baseline when writing H₂O in MS Word? A. Subscript Subscript B. Superscript Superscript C. Strikethrough Strikethrough D. Small Caps Small Caps उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A Subscript कैरेक्टर को सामान्य आधार रेखा के नीचे छोटा दिखाता है। Superscript उसे आधार रेखा के ऊपर दिखाता है। Subscript displays a smaller character below the normal baseline. Superscript places it above the baseline.
668 Microsoft Word • Editing and Formatting MS Word में चयनित अंग्रेज़ी पाठ का letter case बदलने वाला शॉर्टकट कौन-सा है? Which shortcut changes the letter case of selected English text in MS Word? A. Ctrl + F3 Ctrl + F3 B. Alt + F3 Alt + F3 C. Shift + F3 Shift + F3 D. Ctrl + Shift + F3 Ctrl + Shift + F3 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C Shift + F3 चयनित पाठ को lowercase, uppercase और प्रत्येक शब्द के प्रारंभिक बड़े अक्षर वाले रूपों के बीच बदलता है। Shift + F3 cycles selected text through lowercase, uppercase and initial-capital forms.
669 Microsoft Word • Page Layout MS Word में Gutter margin जोड़ने का मुख्य उद्देश्य क्या है? What is the main purpose of adding a gutter margin in MS Word? A. हर पृष्ठ पर पृष्ठ संख्या लिखना To insert a page number on every page B. बाइंडिंग के लिए अतिरिक्त जगह छोड़ना To leave additional space for binding C. हर पैराग्राफ को दो कॉलम में बाँटना To divide every paragraph into two columns D. सभी पृष्ठों का आकार छोटा करना To reduce the size of all pages उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B Gutter margin बाइंडिंग के लिए अतिरिक्त स्थान देता है, जिससे बँधे हुए दस्तावेज़ का पाठ बाइंडिंग में न छिपे। A gutter margin provides extra binding space so that text is not obscured when the document is bound.
670 Microsoft Word • Page Layout MS Word में Mirror Margins का उपयोग मुख्यतः किसके लिए होता है? What are Mirror Margins primarily used for in MS Word? A. किताब जैसे दस्तावेज़ के आमने-सामने वाले पृष्ठों के अंदरूनी और बाहरी मार्जिन निर्धारित करने के लिए To set inside and outside margins for facing pages in documents such as books B. पाठ को उल्टे अक्षरों में छापने के लिए To print text with reversed letters C. एक ही पृष्ठ की दो प्रतियाँ बनाने के लिए To create two copies of the same page D. केवल चित्रों को घुमाने के लिए To rotate only pictures उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A Mirror Margins में बाएँ और दाएँ पृष्ठों के मार्जिन एक-दूसरे के प्रतिबिंब जैसे होते हैं। यह दोतरफ़ा मुद्रित दस्तावेज़ों में उपयोगी है। Mirror Margins make the margins of left and right pages mirror one another. This is useful for double-sided documents.