निम्नलिखित में से कौन एक कंप्यूटर ऑपरेटिंग सिस्टम नहीं है?
Which of the following is not a computer operating system?
Aएंड्रॉयडAndroid
Bसिम्बियन OSSymbian OS
Cफायर फॉक्सFirefox
DiOS (आईओएस)iOS
सही उत्तर / Answer: (C)
हल / Solution
Firefox एक वेब ब्राउज़र है, जिसे Mozilla ने बनाया है। यह एक एप्लिकेशन सॉफ़्टवेयर है जो किसी OS के ऊपर चलता है और इंटरनेट की वेबसाइटें खोलता है। Android गूगल का, iOS Apple का और Symbian पुराने Nokia फ़ोनों का ऑपरेटिंग सिस्टम है। ये तीनों मोबाइल ऑपरेटिंग सिस्टम हैं, और स्मार्टफ़ोन भी एक तरह का कंप्यूटर ही है। इसलिए ऑपरेटिंग सिस्टम न होने वाला विकल्प Firefox है।
Firefox is a web browser made by Mozilla. It is application software that runs on top of an OS and opens websites on the internet. Android is from Google, iOS is from Apple, and Symbian was the operating system of older Nokia phones. These three are mobile operating systems, and a smartphone is also a kind of computer. So the option that is not an operating system is Firefox.
पथ (path) की जानकारी के बिना फ़ाइल का नाम क्या कहलाता है?
A filename without path information is called a
AFile extension
BComplete filename
CDirectory name
DRelative filename
सही उत्तर / Answer: (D)
हल / Solution
Complete filename (absolute path) में root से शुरू होकर पूरा पथ लिखा होता है, जैसे C:\Docs\report.txt। Relative filename में पूरा पथ नहीं होता। OS उसे current directory के हिसाब से ढूँढता है, जैसे सिर्फ़ report.txt। इसलिए पथ के बिना लिखा नाम relative filename है। File extension नाम का आख़िरी हिस्सा है, जैसे .txt, जो फ़ाइल का प्रकार बताता है। Directory name किसी folder का नाम है, फ़ाइल का नहीं।
A complete filename, or absolute path, gives the full path starting from the root, such as C:\Docs\report.txt. A relative filename does not carry the full path, and the OS finds it from the current directory, such as just report.txt. So a name written without path information is a relative filename. A file extension is only the last part of the name, such as .txt, showing the file type. A directory name names a folder, not a file.
ऑपरेटिंग सिस्टम को एक नेटवर्क के साथ-साथ ______ वातावरण में भी काम करना चाहिए।
The Operating System should work in a network as well as a ___ environment.
Aडाइवर्टेड (diverted)diverted
Bडेटा (data)data
Cडिस्ट्रिब्यूटेड (distributed)distributed
Dडायरेक्ट (direct)direct
सही उत्तर / Answer: (C)
हल / Solution
आज के ऑपरेटिंग सिस्टम को नेटवर्क के साथ-साथ वितरित वातावरण में भी चलना पड़ता है। वितरित का मतलब है कि कई मशीनें आपस में जुड़कर एक ही काम बाँट लें और उपयोगकर्ता को वह एक ही सिस्टम जैसा लगे। इसलिए तीसरा विकल्प सही है। पहले विकल्प वाला शब्द किसी कंप्यूटर वातावरण का नाम ही नहीं है। दूसरा विकल्प सिर्फ़ डेटा कहता है, वातावरण नहीं बताता, और चौथा विकल्प सीधे जुड़ाव की बात करता है।
A modern operating system has to work in a distributed environment as well as in a network. Distributed means that many machines joined together share one piece of work while the user still sees a single system, so option 3 is correct. The word diverted names no computing environment, data alone does not describe an environment, and direct refers to a simple point to point link, which the sentence does not need.
......... स्थिति में प्रोसेस को अपने पास मौजूद संसाधन छोड़े बिना नए संसाधन माँगने की छूट होती है।
In the ......... condition, processes are allowed to request new resources without releasing the resources that they are currently holding.
Aम्यूचुअल एक्सक्लूज़नMutual exclusion
Bहोल्ड एंड वेटHold and wait
Cनो प्री-एम्प्शनNo pre-emption
Dसर्कुलर वेटCircular wait
सही उत्तर / Answer: (B)
हल / Solution
नाम ही पूरी बात कह देता है — hold यानी पकड़े रखना और wait यानी इंतज़ार करना। इस शर्त में प्रोसेस पहले से मिले संसाधन अपने पास रखती है और साथ ही नए संसाधन की माँग करके रुक जाती है। जैसे printer पकड़े हुए scanner माँगना। यही deadlock की चार आवश्यक शर्तों में से एक है। म्यूचुअल एक्सक्लूज़न, नो प्री-एम्प्शन और सर्कुलर वेट अलग शर्तें हैं, उनका मतलब यह नहीं। इसलिए दूसरा विकल्प सही है।
The name says it all: hold means keeping something, and wait means waiting for more. In this condition a process keeps the resources it has already been given and at the same time asks for new ones and blocks, like holding a printer while asking for a scanner. It is one of the four necessary conditions for deadlock. Mutual exclusion, no pre-emption and circular wait mean something else.
DOS में, निम्नलिखित में से किस कमांड का उपयोग किसी डायरेक्टरी की सभी फ़ाइलों के साथ-साथ उसकी उप-डायरेक्टरियों को हटाने के लिए किया जाता है?
In DOS, which of the following commands is used to delete all the files as well as sub-directories of a directory?
ADELETE
BDEL
CDELTREE
DMOVE
सही उत्तर / Answer: (C)
हल / Solution
DELTREE का मतलब delete tree है। यह एक directory को उसकी सारी फ़ाइलों और sub-directories समेत एक बार में हटा देता है। DEL सिर्फ़ फ़ाइलें हटाता है, directories नहीं। RD भी केवल ख़ाली directory हटाता है। DELETE नाम का कोई standard DOS कमांड नहीं है; फ़ाइल हटाने के लिए DEL या ERASE लगता है। MOVE फ़ाइलों को एक जगह से दूसरी जगह ले जाता है। इसलिए सही उत्तर DELTREE है।
DELTREE means delete tree. It removes a directory together with all its files and sub-directories in one step. DEL deletes only files, not directories. RD also removes only an empty directory. There is no standard DOS command called DELETE; files are deleted with DEL or ERASE. MOVE shifts files from one place to another. So the correct answer is DELTREE, which clears the whole directory tree at once.
फाइल बनाना ऑपरेटिंग सिस्टम के ____ प्रबंधन कार्य (मैनेजमेंट फंक्शन) का भाग होता है।
Creating a file is part of the ____ management function of an operating system.
Aस्मृति (मेमोरी)Memory
Bप्रक्रिया (प्रोसेस)Process
Cफ़ाइलFile
Dसुरक्षा (सिक्योरिटी)Security
सही उत्तर / Answer: (C)
हल / Solution
फ़ाइल प्रबंधन में OS फ़ाइलें और फ़ोल्डर बनाता है, खोलता है, नाम बदलता है, सहेजता है और मिटाता है। यह डिस्क पर जगह भी देता है और फ़ाइल तक पहुँच की अनुमति तय करता है। इसलिए फ़ाइल बनाना फ़ाइल प्रबंधन का हिस्सा है। मेमोरी प्रबंधन RAM को प्रोग्रामों में बाँटता है। प्रोसेस प्रबंधन प्रोग्रामों को CPU का समय देता है। सुरक्षा प्रबंधन पासवर्ड और अनुमति से जुड़ा है।
In file management the OS creates, opens, renames, saves and deletes files and folders. It also allocates disk space and decides who may access a file. So creating a file is part of file management. Memory management divides RAM among programs. Process management gives programs their share of CPU time. Security management deals with passwords and access permissions, not with creating files.
फ़ाइल आवंटन (file allocation) विधियों में से कौन-सी विधि सबसे अच्छी मानी जाती है?
Which method is considered the best among file allocation methods?
ALinked
BContiguous
CIndexed
Dइनमें से कोई नहींNone of these
सही उत्तर / Answer: (C)
हल / Solution
Indexed allocation में हर फ़ाइल का एक index block होता है। उसमें फ़ाइल के सारे blocks के पते लिखे रहते हैं। इसलिए किसी भी block तक सीधे पहुँचा जा सकता है (direct access) और external fragmentation भी नहीं होता। Contiguous में direct access तेज़ है, पर external fragmentation होता है और फ़ाइल का size पहले बताना पड़ता है। Linked में fragmentation नहीं होता, पर direct access नहीं मिलता। इसलिए indexed सबसे संतुलित विधि है।
In indexed allocation each file has an index block that lists the addresses of all its data blocks. So any block can be reached directly, and there is no external fragmentation. Contiguous allocation gives fast direct access, but it suffers from external fragmentation and needs the file size in advance. Linked allocation avoids fragmentation, but it cannot give direct access. Indexed allocation removes both problems, so it is considered the best balanced method.
Which of the following is not an operating system?
Aयूनिक्स (UNIX)UNIX
Bएमएस-डॉस (MS-DOS)MS-DOS
Cसीपी/एम (CP/M)CP/M
Dपास्कल (PASCAL)PASCAL
सही उत्तर / Answer: (D)
हल / Solution
पास्कल एक प्रोग्रामिंग भाषा है, ऑपरेटिंग सिस्टम नहीं, इसलिए चौथा विकल्प सही है। इसे निकलॉस विर्थ ने पढ़ाई के लिए बनाया था। बाक़ी तीनों नाम ऑपरेटिंग सिस्टम के हैं। यूनिक्स 1969 में बेल प्रयोगशाला में बना और कई उपयोगकर्ताओं को साथ काम करने देता है। डॉस माइक्रोसॉफ़्ट का कमांड से चलने वाला सिस्टम है। तीसरे विकल्प वाला सिस्टम उससे भी पुराना है और शुरुआती माइक्रो कंप्यूटरों पर चलता था।
Pascal is a programming language and not an operating system, so option 4 is correct. It was designed by Niklaus Wirth mainly for teaching programming. The other three names are all operating systems. Unix was built at Bell Labs in 1969 and lets many users work together. MS-DOS is the command driven system from Microsoft, and CP/M is even older, running on the early microcomputers of the nineteen seventies.
किसी प्रोसेस के प्रस्तुत होने से लेकर पूरा होने तक का समय अंतराल कहलाता है ......
The time interval from the submission of a process to its completion is the ......
Aवेटिंग टाइमWaiting time
Bब्लॉक्ड टाइमBlocked time
Cटर्नअराउंड टाइमTurnaround time
Dरिस्पॉन्स टाइमResponse time
सही उत्तर / Answer: (C)
हल / Solution
प्रोसेस के सिस्टम में आने से लेकर पूरी तरह खत्म होने तक जो समय बीतता है, उसे turnaround time कहते हैं। इसका सूत्र है समाप्ति समय घटा आगमन समय। इसमें CPU पर चलने का समय और इंतज़ार का समय, दोनों शामिल रहते हैं। वेटिंग टाइम सिर्फ़ ready queue में बीता समय गिनता है। ब्लॉक्ड टाइम I/O के इंतज़ार का समय है। रिस्पॉन्स टाइम पहली प्रतिक्रिया मिलने तक का समय है। इसलिए तीसरा विकल्प सही है।
The time that passes from the moment a process enters the system until it is fully finished is called its turnaround time. The formula is completion time minus arrival time. It includes both the time spent running on the CPU and the time spent waiting. Waiting time counts only the time spent in the ready queue, blocked time is the time spent waiting for I/O, and response time ends at the first reply.
निम्नलिखित में से कौन-सा बाहरी (external) DOS कमांड है?
Which one of the following is an external DOS command?
ATIME
BRD
CFORMAT
DTYPE
सही उत्तर / Answer: (C)
हल / Solution
external कमांड COMMAND.COM में नहीं होते। ये disk पर अलग फ़ाइल के रूप में रहते हैं और चलाने पर memory में load होते हैं। FORMAT ऐसा ही कमांड है। यह disk को इस्तेमाल के लिए तैयार करता है और FORMAT.COM फ़ाइल से चलता है। TIME समय दिखाता या बदलता है, RD ख़ाली directory हटाता है और TYPE text फ़ाइल की सामग्री दिखाता है। ये तीनों internal कमांड हैं। इसलिए उत्तर FORMAT है।
External commands are not part of COMMAND.COM. They are stored on the disk as separate files and loaded into memory when run. FORMAT is such a command. It prepares a disk for use and runs from the file FORMAT.COM. TIME shows or changes the time, RD removes an empty directory and TYPE shows the contents of a text file. These three are internal commands. So the answer is FORMAT.
आगे के 10 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
निम्नलिखित का मिलान कीजिए। i) पारस्परिक बहिष्करण (mutual exclusion) ii) रुको और प्रतीक्षा करो (hold and wait) iii) कोई पूर्व-अधिग्रहण नहीं (no pre-emption) a) प्रतीक्षा करते समय प्रोसेस आवंटित संसाधन अपने पास रख सकती है। b) किसी प्रोसेस से संसाधन जबरन नहीं हटाया जा सकता। c) एक समय में केवल एक प्रोसेस संसाधन का उपयोग कर सकती है।
Match the following. i) Mutual exclusion ii) Hold and wait iii) No pre-emption a) A process may hold allocated resources while awaiting assignment of other resources. b) No resource can be forcibly removed from a process holding it. c) Only one process may use a resource at a time.