FliQi Education App Download
प्रश्न-बैंक · Operating System

DOS and UNIX Commands — प्रश्न और उत्तर

Operating System · 47 जाँचे हुए (verified) प्रश्न · इनमें 2 पिछले वर्षों के पेपरों से

  • 47 जाँचे हुए प्रश्न
  • 2 पिछले पेपरों से
  • हिंदी + English

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

भाषा
प्रश्न 1उत्तर + हल
CHKDSK कमांड क्या करेगा?
The command CHKDSK will
  1. Aकमांड-लाइन interpreter की एक नई प्रति शुरू करेगाstart a new copy of the command-line interpreter
  2. Bडायरेक्टरी, फ़ाइलों और File Allocation Table का विश्लेषण करेगाanalyse the directories, files and the file allocation table
  3. Cएक secondary command processor चलाएगाinvoke a secondary command processor
  4. Dsecondary command processor के environment के लिए DOS जितनी जगह देगा, वह तय करेगाspecify the area the DOS will allocate for the secondary command processor's environment space

सही उत्तर / Answer: (B)

हल / Solution
CHKDSK यानी Check Disk, एक external कमांड है। यह डिस्क की डायरेक्टरी, फ़ाइलों और FAT (File Allocation Table) को जाँचता है, खोए हुए clusters और गड़बड़ियाँ बताता है, और /F लगाने पर उन्हें ठीक भी करता है। पहला और तीसरा विकल्प COMMAND कमांड का काम है, जो नया command processor चलाता है। चौथा विकल्प COMMAND /E switch का है। इसलिए सही उत्तर दूसरा विकल्प है।
CHKDSK means Check Disk and is an external command. It checks a disk's directories, files and FAT (File Allocation Table), reports lost clusters and errors, and with /F also fixes them. The first and third choices are the work of the COMMAND command, which starts a new command processor. The fourth choice matches the COMMAND /E switch. So the correct answer is the second choice.
प्रश्न 2उत्तर + हल
DELTREE कमांड का कार्य है
The function of the DELTREE command is to
  1. Aफ़ाइलों, सबडायरेक्टरी या दोनों वाली पूरी डायरेक्टरी को हटानाdelete an entire directory that contains files subdirectories or both files and subdirectories
  2. Bअलग-अलग डायरेक्टरी से एक जैसे नाम वाली फ़ाइलें चुनकर अपने-आप हटानाpick similar named files from different directories and delete them automatically
  3. Cजटिल डायरेक्टरी और फ़ाइल ढाँचे वाली पूरी डिस्क को हटानाdelete an entire disk with complex directory and file structure
  4. Dउपर्युक्त सभीAll of the above

सही उत्तर / Answer: (A)

हल / Solution
DELTREE MS-DOS 6 में आया external कमांड है। यह किसी डायरेक्टरी को उसके अंदर की सभी फ़ाइलों और सबडायरेक्टरी समेत एक ही बार में हटा देता है, जैसे DELTREE OLDDATA, जबकि RD सिर्फ़ ख़ाली डायरेक्टरी हटाता है। यह अलग-अलग डायरेक्टरी से एक जैसे नाम की फ़ाइलें नहीं छाँटता। यह पूरी डिस्क भी साफ़ नहीं करता; वह FORMAT का काम है। इसलिए 'उपर्युक्त सभी' ग़लत है।
DELTREE is an external command introduced in MS-DOS 6. It deletes a directory together with all its files and subdirectories in one go, for example DELTREE OLDDATA, while RD removes only an empty directory. It does not pick same-named files from different directories. It does not wipe a whole disk either; that is the job of FORMAT. So 'All of the above' is wrong.
प्रश्न 3उत्तर + हल
PATH कमांड क्या करता है?
The PATH command
  1. Aउन डायरेक्टरी को तय करता है जिनमें MS-DOS executable फ़ाइलें ढूँढता हैspecifies directories that MS-DOS is to search when trying to locate executable files
  2. Bआपके डिस्क ड्राइवरों का विस्तृत तकनीकी विवरण दिखाता हैdisplays detailed technical specification of your disk drivers
  3. Cसभी लगे हुए ports के पते दिखाता है और I/O ports समेत हर port की स्थिति लगातार दिखाता हैdisplays the port address of all the installed ports and dynamically displays the status of each port including the I/O ports
  4. Dadapters की जानकारी दिखाता हैdisplays the information of adapters

सही उत्तर / Answer: (A)

हल / Solution
PATH internal कमांड है। कोई कमांड मौजूदा डायरेक्टरी में न मिले तो DOS उन डायरेक्टरी में .COM, .EXE और .BAT फ़ाइल ढूँढता है जो PATH में लिखी हैं, जैसे PATH C:\DOS;C:\UTIL। इससे program कहीं से भी चल जाता है। बाक़ी तीन विकल्प — डिस्क ड्राइवर का विवरण, ports की स्थिति और adapters की जानकारी — MSD (Microsoft Diagnostics) जैसे जाँच-program दिखाते हैं, PATH नहीं। इसलिए सही उत्तर पहला विकल्प है।
PATH is an internal command. When a command is not found in the current directory, DOS searches the directories listed in PATH for .COM, .EXE and .BAT files, for example PATH C:\DOS;C:\UTIL. So a program can run from anywhere. The other three choices, disk driver details, port status and adapter information, are shown by diagnostic programs such as MSD, not by PATH. So the first choice is correct.
प्रश्न 4उत्तर + हल
MORE कमांड किस काम के लिए है?
The MORE command is for
  1. Aकिसी फ़ाइल की सामग्री को पेज-दर-पेज देखने के लिएto see the matter of a file page-wise
  2. Bएक या अधिक फ़ाइलों को आपके बताए स्थान पर ले जाने के लिएmoving one or more files to the location you gave
  3. Cऔर अधिक फ़ाइलें बनाने के लिएto create more files
  4. D(a) और (b) दोनोंBoth (a) and (b)

सही उत्तर / Answer: (A)

हल / Solution
MORE एक external filter कमांड है। यह लंबी फ़ाइल या output को एक बार में एक स्क्रीन भर दिखाता है और नीचे -- More -- लिखकर रुक जाता है; कोई key दबाने पर अगला पेज आता है, जैसे TYPE NOTES.TXT | MORE। फ़ाइलें दूसरी जगह ले जाना MOVE का काम है। MORE नई फ़ाइलें नहीं बनाता। इसलिए (a) और (b) दोनों भी ग़लत है, और सही उत्तर पेज-दर-पेज देखना है।
MORE is an external filter command. It shows a long file or output one screen at a time and stops with -- More -- at the bottom; pressing a key shows the next page, for example TYPE NOTES.TXT | MORE. Moving files to another place is the job of MOVE. MORE does not create new files. So 'Both (a) and (b)' is wrong, and the answer is viewing a file page-wise.
प्रश्न 5उत्तर + हल
ATTRIB कमांड क्या करेगा?
The ATTRIB command will
  1. Aread-only, archive, system और hidden attributes को set करना या हटानाset or remove the read-only, archive, system and hidden attributes
  2. Bडेटा फ़ाइलों का खोज-पथ तय करना, जिसे DOS तब उपयोग करता है जब फ़ाइल मौजूदा डायरेक्टरी में न मिलेdefine the data file search path that DOS will use each time it fails to find a file in the current directory
  3. CDOS को एक डिस्क ड्राइव के संदर्भ दूसरी डिस्क पर भेजने का निर्देश देनाinstruct DOS to route disk drive references from one disk to another
  4. Dउपर्युक्त सभीAll of the above

सही उत्तर / Answer: (A)

हल / Solution
ATTRIB एक external कमांड है। इससे किसी फ़ाइल के चार attributes — Read-only (R), Archive (A), System (S) और Hidden (H) — देखे, लगाए (+) या हटाए (-) जाते हैं, जैसे ATTRIB +R NOTE.TXT। दूसरा विकल्प APPEND कमांड का काम है, जो डेटा फ़ाइलों का खोज-पथ तय करता है। तीसरा विकल्प ASSIGN कमांड का है, जो एक ड्राइव के संदर्भ दूसरी पर भेजता है। इसलिए 'उपर्युक्त सभी' ग़लत है।
ATTRIB is an external command. It shows, sets (+) or removes (-) four file attributes: Read-only (R), Archive (A), System (S) and Hidden (H), for example ATTRIB +R NOTE.TXT. The second choice is the job of APPEND, which sets a search path for data files. The third belongs to ASSIGN, which sends one drive's references to another drive. So 'All of the above' is wrong.
प्रश्न 6उत्तर + हल
MS-DOS में प्राथमिक हार्ड डिस्क ड्राइव का अक्षर है
In MS-DOS, the primary hard disk drive letter is
  1. AA
  2. BB
  3. CC
  4. DD

सही उत्तर / Answer: (C)

हल / Solution
DOS में A: और B: floppy ड्राइव के लिए रखे गए थे, क्योंकि पुराने PC में दो floppy ड्राइव तक होती थीं। इसलिए पहली यानी प्राथमिक हार्ड डिस्क के पहले partition को C: मिलता है, और system आम तौर पर यहीं से boot होता है। D: उसके बाद वाली ड्राइव को मिलता है, जैसे दूसरा partition या CD-ROM। इसलिए A और B floppy के हैं, D बाद की ड्राइव का है, और सही उत्तर C है।
In DOS, A: and B: were reserved for floppy drives, because early PCs could have up to two floppy drives. So the first partition of the primary hard disk gets C:, and the system usually boots from it. D: goes to the next drive, such as a second partition or a CD-ROM. So A and B belong to floppies, D to a later drive, and the correct answer is C.
प्रश्न 7उत्तर + हल
कौन-से दो कमांड किसी डायरेक्टरी को हटाने की सुविधा देते हैं?
I. REMOVE
II. RD
III. RMDIR
IV. RDIR
सही उत्तर चुनिए।
Which two commands enable you to remove a directory?
I. REMOVE
II. RD
III. RMDIR
IV. RDIR
Select the correct answer.
  1. AI और III and II
  2. BII और IIIII and III
  3. CII, III और IVII, III and IV
  4. Dये सभीAll of these

सही उत्तर / Answer: (B)

हल / Solution
DOS में डायरेक्टरी हटाने का कमांड RMDIR (Remove Directory) है और RD उसका छोटा रूप है। दोनों internal हैं और सिर्फ़ ख़ाली डायरेक्टरी हटाते हैं, जैसे RD OLD। REMOVE और RDIR नाम के कोई DOS कमांड नहीं हैं। इसलिए सही जोड़ी II और III है। जिस विकल्प में I या IV जुड़ा है, वह ग़लत है; 'ये सभी' भी इसी वजह से ग़लत है।
The DOS command for removing a directory is RMDIR (Remove Directory), and RD is its short form. Both are internal and remove only an empty directory, for example RD OLD. There are no DOS commands named REMOVE or RDIR. So the correct pair is II and III. Any choice that adds I or IV is wrong, and 'All of these' is wrong for the same reason.
प्रश्न 8उत्तर + हल
नीचे दिए गए कौन-से कमांड से डायरेक्टरी बदली जा सकती है?
I. CHANGE
II. CD
III. CHDIR
IV. MAKE
V. DIR
सही उत्तर चुनिए।
Which command(s) below allow you to change directories?
I. CHANGE
II. CD
III. CHDIR
IV. MAKE
V. DIR
Select the correct answer.
  1. AI और III and II
  2. BII और IIIII and III
  3. CI, II और IIII, II and III
  4. Dये सभीAll of these

सही उत्तर / Answer: (B)

हल / Solution
DOS में डायरेक्टरी बदलने के लिए CHDIR (Change Directory) कमांड है और CD उसी का छोटा रूप है। दोनों internal हैं, जैसे CD \GAMES या CHDIR \GAMES। CHANGE नाम का कोई DOS कमांड डायरेक्टरी नहीं बदलता। MAKE DOS का मानक कमांड नहीं है। DIR सिर्फ़ फ़ाइलों की सूची दिखाता है। इसलिए केवल II और III सही हैं। जिन विकल्पों में I, IV या V जुड़े हैं, वे ग़लत हैं।
DOS changes directories with the CHDIR (Change Directory) command, and CD is its short form. Both are internal, for example CD \GAMES or CHDIR \GAMES. No DOS command named CHANGE changes directories. MAKE is not a standard DOS command. DIR only shows a listing of files. So only II and III are correct. Every choice that adds I, IV or V is wrong.
प्रश्न 9उत्तर + हल
केवल फ़ाइलों के नाम और एक्सटेंशन को चौड़े (wide) रूप में दिखाने के लिए किस कमांड का उपयोग होगा?
Which command will be used to display only the file names and extensions in wide format?
  1. ADIR/W
  2. BDIR/A
  3. CDIR/S
  4. DDIR/B

सही उत्तर / Answer: (A)

हल / Solution
DIR/W में W का अर्थ Wide है। यह आकार, तारीख़ और समय छोड़ देता है और सिर्फ़ नाम व एक्सटेंशन को एक पंक्ति में कई कॉलम में दिखाता है, इसलिए एक स्क्रीन पर ज़्यादा नाम आ जाते हैं। DIR/A किसी attribute वाली फ़ाइलें दिखाता है। DIR/S सबडायरेक्टरी की फ़ाइलें भी दिखाता है। DIR/B भी सिर्फ़ नाम दिखाता है, पर एक पंक्ति में एक नाम, चौड़े रूप में नहीं। इसलिए सही उत्तर DIR/W है।
In DIR/W, W stands for Wide. It leaves out size, date and time and shows only names and extensions in several columns per line, so more names fit on one screen. DIR/A shows files with a given attribute. DIR/S also lists files in subdirectories. DIR/B shows only names too, but one name per line, not in wide format. So the correct answer is DIR/W.
प्रश्न 10उत्तर + हल
MS-DOS में कौन-सा कमांड ख़ाली floppy डिस्क की सतह को sectors में बाँटकर हर sector को अलग पता देगा?
In MS-DOS, which command will divide the surface of a blank floppy disk into sectors and assign a unique address to each one?
  1. AFORMAT
  2. BFAT
  3. CVER
  4. DCHKDSK

सही उत्तर / Answer: (A)

हल / Solution
FORMAT कमांड नई या ख़ाली डिस्क को उपयोग के लायक बनाता है। यह सतह को tracks और sectors में बाँटता है, हर sector को पता देता है, और boot sector, FAT तथा root डायरेक्टरी बनाता है। FAT कोई कमांड नहीं है, यह File Allocation Table है, जिसे FORMAT ख़ुद बनाता है। VER DOS का version दिखाता है। CHKDSK डिस्क की जाँच करता है। इसलिए सही उत्तर FORMAT है।
The FORMAT command makes a new or blank disk ready for use. It divides the surface into tracks and sectors, gives each sector an address, and creates the boot sector, the FAT and the root directory. FAT is not a command; it is the File Allocation Table, which FORMAT itself creates. VER shows the DOS version. CHKDSK checks a disk. So the correct answer is FORMAT.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
स्क्रीन साफ़ करके ऑपरेटिंग सिस्टम का prompt डिस्प्ले की पहली पंक्ति पर दिखाने के लिए किस कमांड का उपयोग किया जाता है?
Which command is used to clear the screen and display the operating system prompt on the first line of the display?
  1. ACD
  2. BMD
  3. CRENAME
  4. DCLS
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
(.ext) एक्सटेंशन वाली पर अलग-अलग नाम वाली सभी फ़ाइलें दिखाने के लिए किस कमांड का उपयोग होगा?
Which command will be used to display all the files having the (.ext) extension but different filenames?
  1. ADIR filename.*
  2. BDIR filename.ext
  3. CDIR *.sys
  4. DDIR *.ext
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
निर्दिष्ट डायरेक्टरी और उसकी सभी सबडायरेक्टरी की फ़ाइलें देखने के लिए DIR कमांड में कौन-सा switch लगाना चाहिए?
Which switch should be used in the DIR command to view files in the specified directory and all its subdirectories?
  1. A/P
  2. B/W
  3. C/S
  4. D/L
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
COPY कमांड ने फ़ाइलें सही-सही कॉपी की हैं, यह पक्का करने के लिए निम्नलिखित में से किस switch का उपयोग किया जाता है?
Which of the following switches is used to make sure that the COPY command copied files correctly?
  1. A/A
  2. B/S
  3. C/V
  4. D/C
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
मौजूदा डिस्क ड्राइव की डायरेक्टरी में क्या-क्या है, यह देखने के लिए किस कमांड का उपयोग होगा?
Which command will be used to view the contents of the directory of the current disk drive?
  1. ACOPY
  2. BTREE
  3. CCD
  4. DDIR
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
अन्य डायरेक्टरी या डिस्क में रखी फ़ाइलों तक पहुँच देने के लिए किस कमांड का उपयोग किया जाता है?
Which command is used to provide access to files located in other directories or disks?
  1. ATREE
  2. BPATH
  3. CDIR
  4. DCD
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
डायरेक्टरी या सबडायरेक्टरी बनाने के लिए किस कमांड का/किन कमांडों का प्रयोग किया जाता है?
Which command(s) is/are used to create a directory or subdirectory?
  1. ADIR
  2. BMKDIR
  3. CMD
  4. D(b) और (c) दोनोंBoth (b) and (c)
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
MD कमांड का उद्देश्य है/हैं
The purpose(s) of the MD command is/are to
  1. Aडायरेक्टरी बनानाcreate a directory
  2. Bफ़ोल्डर को दूसरी जगह ले जानाmove a folder
  3. Cडेटाबेस बनानाmake a database
  4. Dये सभीAll of these
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
MS-DOS के साथ काम करते समय कमांड लाइन के prompt को अपनी पसंद से बदलने के लिए किस कमांड का उपयोग किया जाता है?
While working with MS-DOS, which command is used to customise the command line's prompt?
  1. ACLS
  2. BEDIT
  3. CCOPY CON
  4. DPROMPT
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
MS-DOS के साथ काम करते समय किसी विशेष फ़ाइल को एक डिस्क से दूसरी डिस्क पर कॉपी करने के लिए किस कमांड का उपयोग किया जाएगा?
While working with MS-DOS, which command will be used to copy a specific file from one disk to another?
  1. ADISKCOPY
  2. BCOPY
  3. CRENAME
  4. DFORMAT
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
PC पर DOS चलाते समय पूरी डिस्केट (floppy) की डुप्लीकेट कॉपी बनाने के लिए किस कमांड का उपयोग किया जाएगा?
While running DOS on a PC, which command would be used to duplicate the entire diskette?
  1. ACOPY
  2. BDISKCOPY
  3. CCHKDSK
  4. DTYPE
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
DOS and UNIX Commands के सभी 47 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Operating System के दूसरे topics

सभी topics