3621 Operating Systems • Protection and Privilege Modes सामान्य उपयोगकर्ता मोड और कर्नेल मोड को अलग रखने का मुख्य उद्देश्य क्या है? What is the main purpose of separating ordinary user mode from kernel mode? सेव करें Save सेव्ड Saved A. हर एप्लिकेशन को सभी हार्डवेयर अधिकार देना To give every application unrestricted hardware privileges B. महत्वपूर्ण प्रणाली संसाधनों को अनधिकृत या त्रुटिपूर्ण पहुँच से बचाना To protect critical system resources from unauthorised or faulty access C. सभी फाइलों को सार्वजनिक करना To make all files public D. मेमोरी प्रबंधन समाप्त करना To eliminate memory management उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B कर्नेल मोड में विशेषाधिकार प्राप्त क्रियाएँ की जा सकती हैं। उपयोगकर्ता मोड की सीमाएँ एप्लिकेशन की त्रुटियों से प्रणाली को बचाने में सहायता करती हैं। Kernel mode permits privileged operations. Restrictions in user mode help protect the system from application errors.
3622 Programming Languages and Translators • Machine Language CPU किस भाषा के निर्देश सीधे निष्पादित करता है? Instructions in which language are directly executed by a CPU? सेव करें Save सेव्ड Saved A. मशीन भाषा Machine language B. असेंबली भाषा Assembly language C. उच्च-स्तरीय भाषा High-level language D. प्राकृतिक भाषा Natural language उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A CPU अपनी निर्देश-समुच्चय संरचना के अनुरूप मशीन निर्देश सीधे निष्पादित करता है। अन्य भाषाओं के प्रोग्रामों को उपयुक्त अनुवाद या निष्पादन व्यवस्था की आवश्यकता होती है। A CPU directly executes machine instructions compatible with its instruction-set architecture. Programs in other languages require suitable translation or execution mechanisms.
3623 Programming Languages and Translators • Assembly Language ADD, SUB और MOV जैसे स्मृति-सहायक संकेत सामान्यतः किस भाषा में प्रयुक्त होते हैं? Mnemonics such as ADD, SUB and MOV are commonly used in which language? सेव करें Save सेव्ड Saved A. HTML HTML B. मशीन भाषा Machine language C. असेंबली भाषा Assembly language D. SQL SQL उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C असेंबली भाषा में मशीन निर्देशों को स्मृति-सहायक संकेतों द्वारा लिखा जाता है। असेंबलर इन्हें मशीन कोड में बदलता है। Assembly language expresses machine instructions through mnemonics. An assembler translates them into machine code.
3624 Programming Languages and Translators • Language Translators असेंबली भाषा के प्रोग्राम को मशीन कोड में बदलने वाला अनुवादक कौन-सा है? Which translator converts an assembly-language program into machine code? सेव करें Save सेव्ड Saved A. लिंकर Linker B. असेंबलर Assembler C. लोडर Loader D. टेक्स्ट एडिटर Text editor उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B असेंबलर असेंबली निर्देशों का मशीन कोड में अनुवाद करता है। यह लिंकर और लोडर से अलग कार्य करता है। An assembler translates assembly instructions into machine code. Its function differs from those of a linker and a loader.
3625 Programming Languages and Translators • Levels of Programming Languages उच्च-स्तरीय भाषा की प्रमुख विशेषता क्या है? What is a major characteristic of a high-level language? सेव करें Save सेव्ड Saved A. निर्देश केवल बाइनरी अंकों में लिखे जाते हैं Instructions are written only as binary digits B. यह हमेशा एक ही CPU मॉडल पर चल सकती है It can always run on only one CPU model C. इसमें प्रोग्राम लिखना असंभव होता है It is impossible to write programs in it D. यह हार्डवेयर के अनेक निम्न-स्तरीय विवरणों को छिपाती है It abstracts many low-level hardware details उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D उच्च-स्तरीय भाषाएँ प्रोग्रामर को हार्डवेयर के कई विवरणों से अलग रखती हैं। इससे प्रोग्राम लिखना और समझना अपेक्षाकृत आसान होता है। High-level languages abstract many hardware details, making programs relatively easier to write and understand.
3626 Programming Languages and Translators • Language Translators कंपाइलर का मुख्य कार्य क्या है? What is the main function of a compiler? सेव करें Save सेव्ड Saved A. स्रोत प्रोग्राम का लक्ष्य कोड में अनुवाद करना To translate a source program into target code B. केवल प्रोग्राम की फाइल का नाम बदलना To rename a program file only C. हर प्रोग्राम का परिणाम सही होने की गारंटी देना To guarantee that every program produces correct results D. कंप्यूटर की RAM बढ़ाना To increase computer RAM उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A कंपाइलर स्रोत कोड को लक्ष्य कोड में बदलता है। लक्ष्य कोड मशीन कोड, बाइटकोड या अन्य रूप हो सकता है; सफल संकलन तार्किक शुद्धता की गारंटी नहीं है। A compiler translates source code into target code, which may be machine code, bytecode or another form. Successful compilation does not guarantee logical correctness.
3627 Programming Languages and Translators • Language Translators प्रोग्राम के निर्देशों की व्याख्या करके उनका निष्पादन कराने वाला सॉफ्टवेयर क्या कहलाता है? What is software that interprets program instructions and carries out their execution called? सेव करें Save सेव्ड Saved A. लिंकर Linker B. फाइल आर्काइवर File archiver C. इंटरप्रेटर Interpreter D. डिस्क फॉर्मेटर Disk formatter उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C इंटरप्रेटर प्रोग्राम के निर्देशों का अर्थ समझकर उनका निष्पादन कराता है। वास्तविक प्रणालियों में इंटरप्रिटेशन और संकलन दोनों तकनीकें साथ उपयोग हो सकती हैं। An interpreter executes a program by interpreting its instructions. Real systems may combine interpretation and compilation.
3628 Programming Languages and Translators • Source and Target Code प्रोग्रामर द्वारा किसी प्रोग्रामिंग भाषा में लिखा गया मूल प्रोग्राम क्या कहलाता है? What is the original program written by a programmer in a programming language called? सेव करें Save सेव्ड Saved 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.
3629 Programming Languages and Translators • Linkers and Loaders ऑब्जेक्ट मॉड्यूल और आवश्यक लाइब्रेरी को जोड़ने का कार्य कौन करता है? Which tool combines object modules and required libraries? सेव करें Save सेव्ड Saved 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.
3630 Programming Languages and Translators • Linkers and Loaders निष्पादन योग्य प्रोग्राम को मेमोरी में लाने और चलने के लिए तैयार करने वाला घटक क्या कहलाता है? What is the component that brings an executable program into memory and prepares it to run called? सेव करें Save सेव्ड Saved 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.