901 Operating Systems • Power Management हाइबरनेशन में कंप्यूटर की कार्यशील स्थिति सामान्यतः कहाँ सुरक्षित की जाती है? Where is the working state of a computer generally saved during hibernation? A. द्वितीयक संग्रहण पर On secondary storage B. केवल CPU रजिस्टर में Only in CPU registers C. केवल मॉनिटर की मेमोरी में Only in monitor memory D. बिना सहेजे मिटा दी जाती है It is erased without being saved उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A हाइबरनेशन कार्यशील स्थिति को द्वितीयक संग्रहण पर सुरक्षित करता है, जिससे बिजली हटने के बाद भी बाद में सत्र बहाल किया जा सकता है। Hibernation saves the working state to secondary storage so that the session can later be restored even after power is removed.
902 Operating Systems • Deadlock डेडलॉक की स्थिति में क्या होता है? What happens in a deadlock? A. सभी प्रक्रियाएँ सामान्य गति से समाप्त होती हैं All processes finish at normal speed B. CPU की भौतिक क्षमता बढ़ जाती है The physical capacity of the CPU increases C. प्रक्रियाएँ एक-दूसरे द्वारा रोके गए संसाधनों की प्रतीक्षा में आगे नहीं बढ़ पातीं Processes cannot progress because they wait for resources held by one another D. सभी फाइलें स्वतः संपीड़ित हो जाती हैं All files are automatically compressed उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C डेडलॉक में संबंधित प्रक्रियाएँ ऐसी संसाधन-प्रतीक्षा में फँस जाती हैं जिससे वे स्वयं आगे नहीं बढ़ पातीं। उदाहरणतः दो प्रक्रियाएँ एक-दूसरे के संसाधन की प्रतीक्षा कर सकती हैं। In a deadlock, affected processes become trapped in resource waits and cannot proceed on their own. Two processes may each wait for a resource held by the other.
903 Operating Systems • Protection and Privilege Modes सामान्य उपयोगकर्ता मोड और कर्नेल मोड को अलग रखने का मुख्य उद्देश्य क्या है? What is the main purpose of separating ordinary user mode from kernel mode? 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.
904 Programming Languages and Translators • Machine Language CPU किस भाषा के निर्देश सीधे निष्पादित करता है? Instructions in which language are directly executed by a CPU? 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.
905 Programming Languages and Translators • Assembly Language ADD, SUB और MOV जैसे स्मृति-सहायक संकेत सामान्यतः किस भाषा में प्रयुक्त होते हैं? Mnemonics such as ADD, SUB and MOV are commonly used in which language? 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.
906 Programming Languages and Translators • Language Translators असेंबली भाषा के प्रोग्राम को मशीन कोड में बदलने वाला अनुवादक कौन-सा है? Which translator converts an assembly-language program into machine code? 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.
907 Programming Languages and Translators • Levels of Programming Languages उच्च-स्तरीय भाषा की प्रमुख विशेषता क्या है? What is a major characteristic of a high-level language? 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.
908 Programming Languages and Translators • Compilers कंपाइलर का मुख्य कार्य क्या है? What is the main function of a compiler? 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.
909 Programming Languages and Translators • Interpreters प्रोग्राम के निर्देशों की व्याख्या करके उनका निष्पादन कराने वाला सॉफ्टवेयर क्या कहलाता है? What is software that interprets program instructions and carries out their execution called? 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.
910 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.