FliQi Education App Download
Senior Computer Instructor — Paper II · प्रश्न-बैंक

Senior Computer Instructor — Paper II — Operating System के प्रश्न

452 जाँचे हुए प्रश्न · 16 topics · परीक्षा में 7 प्रश्न

Topics

प्रश्न

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 10 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल Introduction of Operating System PYQ · Rajasthan Police Constable 2020
निम्नलिखित में से कौन एक कंप्यूटर ऑपरेटिंग सिस्टम नहीं है?
Which of the following is not a computer operating system?
  1. Aएंड्रॉयडAndroid
  2. Bसिम्बियन OSSymbian OS
  3. Cफायर फॉक्सFirefox
  4. 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.
प्रश्न 2उत्तर + हल Introduction to File Systems
पथ (path) की जानकारी के बिना फ़ाइल का नाम क्या कहलाता है?
A filename without path information is called a
  1. AFile extension
  2. BComplete filename
  3. CDirectory name
  4. 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.
प्रश्न 3उत्तर + हल Types of Operating System
ऑपरेटिंग सिस्टम को एक नेटवर्क के साथ-साथ ______ वातावरण में भी काम करना चाहिए।
The Operating System should work in a network as well as a ___ environment.
  1. Aडाइवर्टेड (diverted)diverted
  2. Bडेटा (data)data
  3. Cडिस्ट्रिब्यूटेड (distributed)distributed
  4. 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.
प्रश्न 4उत्तर + हल Deadlock
......... स्थिति में प्रोसेस को अपने पास मौजूद संसाधन छोड़े बिना नए संसाधन माँगने की छूट होती है।
In the ......... condition, processes are allowed to request new resources without releasing the resources that they are currently holding.
  1. Aम्यूचुअल एक्सक्लूज़नMutual exclusion
  2. Bहोल्ड एंड वेटHold and wait
  3. Cनो प्री-एम्प्शनNo pre-emption
  4. 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.
प्रश्न 5उत्तर + हल DOS and UNIX Commands
DOS में, निम्नलिखित में से किस कमांड का उपयोग किसी डायरेक्टरी की सभी फ़ाइलों के साथ-साथ उसकी उप-डायरेक्टरियों को हटाने के लिए किया जाता है?
In DOS, which of the following commands is used to delete all the files as well as sub-directories of a directory?
  1. ADELETE
  2. BDEL
  3. CDELTREE
  4. 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.
प्रश्न 6उत्तर + हल Introduction of Operating System PYQ · Rajasthan Police Constable 2020
फाइल बनाना ऑपरेटिंग सिस्टम के ____ प्रबंधन कार्य (मैनेजमेंट फंक्शन) का भाग होता है।
Creating a file is part of the ____ management function of an operating system.
  1. Aस्मृति (मेमोरी)Memory
  2. Bप्रक्रिया (प्रोसेस)Process
  3. Cफ़ाइलFile
  4. 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.
प्रश्न 7उत्तर + हल Introduction to File Systems
फ़ाइल आवंटन (file allocation) विधियों में से कौन-सी विधि सबसे अच्छी मानी जाती है?
Which method is considered the best among file allocation methods?
  1. ALinked
  2. BContiguous
  3. CIndexed
  4. 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.
प्रश्न 8उत्तर + हल Types of Operating System
निम्न में से कौन एक ऑपरेटिंग सिस्टम नहीं है?
Which of the following is not an operating system?
  1. Aयूनिक्स (UNIX)UNIX
  2. Bएमएस-डॉस (MS-DOS)MS-DOS
  3. Cसीपी/एम (CP/M)CP/M
  4. 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.
प्रश्न 9उत्तर + हल Deadlock
किसी प्रोसेस के प्रस्तुत होने से लेकर पूरा होने तक का समय अंतराल कहलाता है ......
The time interval from the submission of a process to its completion is the ......
  1. Aवेटिंग टाइमWaiting time
  2. Bब्लॉक्ड टाइमBlocked time
  3. Cटर्नअराउंड टाइमTurnaround time
  4. 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.
प्रश्न 10उत्तर + हल DOS and UNIX Commands
निम्नलिखित में से कौन-सा बाहरी (external) DOS कमांड है?
Which one of the following is an external DOS command?
  1. ATIME
  2. BRD
  3. CFORMAT
  4. 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 — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में Introduction of Operating System PYQ · Rajasthan Police Constable 2020
जीयूआई (GUI) आधारित ऑपरेटिंग सिस्टम में, यूजर इंटरफेस निम्नलिखित में से किसका इस्तेमाल नहीं करता है?
In a GUI-based operating system, which of the following does the user interface not use?
  1. AकलरColour
  2. Bआइकॉन्सIcons
  3. CमेनूजMenus
  4. Dग्राफ्सGraphs
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में Types of Operating System
$cat abc — यदि अनुरोधित फ़ाइल मौजूद न हो, तो त्रुटि किसके द्वारा दी जाएगी?
$cat abc — if the requested file does not exist, the error will be given by
  1. Aकर्नेल (Kernel)Kernel
  2. Bशेल (Shell)Shell
  3. Cरूट (root)root
  4. Dउपरोक्त में से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में Deadlock
......... एक से अधिक प्रोसेस की वह क्षमता है जिससे वे सूचना का आदान-प्रदान करके अपनी गतिविधियों में तालमेल बिठाती हैं।
......... is the ability of multiple processes to coordinate their activities by exchange of information.
  1. Aसिंक्रोनाइज़ेशनSynchronization
  2. Bम्यूचुअल एक्सक्लूज़नMutual exclusion
  3. CडेडलॉकDeadlock
  4. Dस्टार्वेशनStarvation
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 18उत्तर app में Types of Operating System
किसी फ़ाइल में डेटा की पंक्तियों को अल्फाबेटिकल क्रम में क्रमबद्ध करने के लिए किस कमांड का उपयोग किया जाता है?
Which command is used to sort the lines of data in a file in alphabetical order?
  1. Asort
  2. Bsort -r
  3. Cst
  4. Dsh
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में Deadlock
निम्नलिखित का मिलान कीजिए।
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.
  1. Ai-a, ii-b, iii-c
  2. Bi-a, ii-c, iii-b
  3. Ci-b, ii-c, iii-a
  4. Di-c, ii-a, iii-b
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Senior Computer Instructor — Paper II Operating System — topic-वार पूरा अभ्यासFliQi Question Bank app में