1. DOS command maximum length is _____ character including command name and related Parameters.
Ans. 127
2. MS DOS Version 1.0 Developed in _____.
Ans. 1981
3. MS DOS version 2.0 Developed in _______.
Ans. 1983
4. DOS 3.0 Developed in ______ Ans. 1984
5. DOS 3.3 Developed in ______.
Ans. 1987
6. DOS 5.0 Developed in ______.
Ans. 1991
7. Dos 6.0 Developed in _______.
Ans. 1993
8. DOS 1.25 Developed in ______.
Ans. 1982
9. DOS 7.0 Developed in _______.
Ans. 1995 (This version is Part of MS window 95)
10. DOS 7.1 Developed in ________.
Ans. 1997
11. DOS OS Provide which type of Interface?
Ans. CLI or CUI (Command Line Interface or Character User interface)
12. How many wild card character in DOS?
Ans. Dos Provide Two wildcard character * and ? ( * means single character replacement and ? means any number of character)
13. What are internal commands?
Ans. Those commands that are loaded automatically in the memory when DOS is loaded into memory during booting Process
14. What is Blocks in computer?
Ans. Every peripheral talks to the computer either one character at a time or in group of characters called Blocks.
15.What is the name of hierarchical file system in DOS?
A. Tree structure
B. Root structure
C. Hybrid structure
D. Directory structure
Ans. b
16. In DOS Copy command can’t copy _____.
Ans. Folders
17. Which DOS command is used to delete a directory?
A. RD
B. REMOVE
C. DEL
D. DELETE
Ans. a
18. Which command is used to specify the location of files or folders in MSDOS?
A. dir
B. path
C. sub directories
D. tree
Ans. b
19.How the directories under the root directory are called?
A. dir
B. path
C. sub directories
D. tree
Ans. c
20.Which filename will matches the command. DIR????T.TxT in DOS?
A. TIME . TXT
B. TEXT . TXT
C. TEMP . TXT
D. TEMPT . TxT
Ans. d
21.What is the used of CD command in DOS?
A) create a directory
B) change the device name
C) create root directory
D) change the path of current directory
Ans. D
22.What is the maximum number of character allowed as file name in DOS?
A) 3 characters
B) 6 characters
C) 7 characters
D) 8 characters
Ans. d
23.Which one of the following is the wildcard character?
A) * and /
B) ? and /
C )* and ?
D) ? and @
Ans. c
24.Which DOS command is used to display system time?
A) Now
B )TIME
C) SYSTEM
D SYSTEMTIME
Ans. A
25.What in the result of the DOS command PROMPT $D$G?
A) Prompt >
B) D : >
C) Current date >
D) Current time >
Ans. C
26.Which DOS command is used to list all com files in D drive?
A) DIR D :\ com
B) DIR D :\ com. *
C) DIR D :\ * .com D DIR
D) :\ * com *
Ans. C
27. The last version of MS DOS was _______.
(a) 7.0
(b) 8.0
(c) 9.0
(d) 10.0
Ans. b
28. MS DOS executable files normally have ________extension.
(a) .EXE
(b) .COM
(c) .BAT
(d) all of them
Ans. d
29. The commands loaded to main memory along with MS DOS operating system are called______ DOS commands.
(a) internal
(b) external
(c) useless
(d) unwanted
Ans. A
30. The commands stored in a disk and loaded to main memory only when first invoked are called ________ DOS commands.
(a) internal
(b) external
(c) useless
(d) unwanted
Ans. B
31. If a file has .BAT extension and contains a list of commands to be executed, the file is called a ________ file.
(a) database
(b) temporary
(c) batch
(d) shell script
Ans. c
32. Typical first line in a DOS batch file is ________.
(a) @ECHO OFF
(b) DIR
(c) MD
(d) RD
Ans. A
33. ______ command may also be used in place of the DOS command CD.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. a
34. ______MS DOS command creates a new copy of the file and deletes the source file.
(a) MOVE
(b) MEM
(c) MIRROR
(d) MORE
Ans. a
35. _______command displays version number of MS DOS.
(a) VER
(b) DIR
(c) CLS
(d) VOL
Ans. a
36. ______command displays the list of files and directories.
(a) VER
(b) DIR
(c) CLS
(d) VOL
Ans. B
37. _____command displays volume label of given drive.
(a) VER
(b) DIR
(c) CLS
(d) VOL
Ans. d
38. To clear screen contents, _______ command is used.
(a) VER
(b) DIR
(c) CLS
(d) VOL
Ans. c
39. DATE command should be run as _______ to set new date.
(a) unknown user
(b) guest user
(c) ordinary user
(d) Administrator
Ans. D
40. Recommended format for entering new date using DATE command (in Indian locale) is ____ .
(a) yyy-ddd-mmm
(b) yy-dd-mm
(c) dd-mm-yy
(d) yyy-mm-dd
Ans. c
41. ______command displays current date and gets new date for resetting.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. a
42. _______command displays current time and gets new time for resetting.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. b
43. TIME command should be run as _______ to set new time.
(a) unknown user
(b) guest user
(c) ordinary user
(d) Administrator
Ans. d
44. Recommended format for entering new date using TIME command (in Indian locale) is _____.
(a) hh:mm:ss
(b) mm:ss:hh
(c) ss:mm:hh
(d) mm:hh:ss
Ans. A
45. ______command creates a text file (named file.txt) and saves keyboard input to that file.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. d
46. MS DOS stands for _______.
(a) MicroSoft Disk Operating System
(b) MicroSecond Disk Operating System
(c) MicroSoft Dirty Operating System
(d) Microsoft Disk Opening System
Ans. a
47. To display the contents of a file (e.g., FILE.TXT) on the screen, issue the command _______.
(a) MKDIR FILE.TXT
(b) DEL FILE.TXT
(c) TYPE FILE.TXT
(d) MOVE FILE.TXT ..
Ans. c
48. To create copy of an existing file
(F1.TXT) in a new name
(F2.TXT), issue the command____ .
(a) COPY F1.TXT F2.TXT
(b) DEL F1.TXT F2.TXT
(c) REN F1.TXT F2.TXT
(d) ATTRIB +H F1.TXT F2.TXT
Ans. A
49. To create a copy of one file in a new name, _______ command is used.
(a) MOVE
(b) REN
(c) COPY
(d) MKDIR
Ans. C
50. To delete a file, _______ DOS command is used.
(a) MOVE
(b) DEL
(c) COPY
(d) MKDIR
Ans. B
51. issuing the DOS command DEL *.* deletes_______ .
(a) last file in the current directory
(b) parent directory
(c) current directory
(d) all files in current directory
Ans. d
52. To change from one directory to another, _______ DOS command is used.
(a) CD
(b) MD
(c) RD
(d) ATTRIB
Ans. a
53. ______command may also be used in place of the DOS command MD.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. b
54. ______command may also be used in place of the DOS command RD.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. c
55. ______ command may also be used in place of the DOS command DEL.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. D
56. To create a directory, _______DOS command may be used.
(a) CD/ CHDIR
(b) MD/ MKDIR
(c) RD/ RMDIR
(d) DEL/ ERASE
Ans. b
57. To remove a directory, _______DOS command may be used.
(a) CD/ CHDIR
(b) MD/ MKDIR
(c) RD/ RMDIR
(d) DEL/ ERASE
Ans. c
58. Issuing _______command causes commands in a batch file to be hidden.
(a) ECHO OFF
(b) ECHO ON
(c) PAUSE
(d) PROMPT
Ans. a
59. Issuing ______command causes commands in a batch file to be visible.
(a) ECHO OFF
(b) ECHO ON
(c) PAUSE
(d) PROMPT
Ans. b
60. To display the value of PATH environment variable, _____of the following commands is useful.
(a) SET %PATH%
(b) PAUSE %PATH%
(c) DEL %PATH%
(d) ECHO %PATH%
Ans. D
61. The ________ environment variable in DOS contains the list of folders in which commands would be searched.
(a) PATH
(b) CLASSPATH
(c) WINDIR
(d) HOME
Ans. A
62. The ______environment variable in DOS contains the name of home directory for current user.
(a) PATH
(b) CLASSPATH
(c) WINDIR
(d) HOME
Ans. d
63. To rename a file (X.TXT) to a new name (Y.TXT), which of the following commands would be suitable?
(a) COPY X.TXT Y.TXT
(b) REN X.TXT Y.TXT
(c) MKDIR X.TXT
(d) DEL X.TXT Y.TXT
Ans. b
64. To hold the processing of commands till any key is pressed, ______DOS command is used.
(a) SLEEP
(b) PROMPT
(c) PAUSE
(d) SET
Ans. c
65. To change the command prompt in MS DOS, _______command is used.
(a) SLEEP
(b) PROMPT
(c) PAUSE
(d) SET
Ans. b
66. To set value for an environment variable in MS DOS, _______command is used.
(a) SLEEP
(b) PROMPT
(c) PAUSE
(d) SET
Ans. d
67. To create a remarks line (which is ignored during processing) in MS DOS, ______ command is used. (a) REM
(b) PROMPT
(c) PAUSE
(d) SET
Ans. a
68. ______ command closes the MS DOS session.
(a) CLS
(b) PAUSE
(c) EXIT
(d) REM
Ans. c
69. The _______ command (removed in the latest version of MS DOS) adds given string to the end of PATH environment variable.
(a) SORT
(b) APPEND
(c) MOVE
(d) ASSIGN
Ans. b
70. The ______ command changes given drive to a new name.
(a) SORT
(b) APPEND
(c) MOVE
(d) ASSIGN
Ans. D
71. The ________command changes file attributes like archive, hidden or read-only.
(a) ATTRIB
(b) APPEND
(c) MOVE
(d) ASSIGN
Ans. A
72. To hide a file (say FILE.TXT), ________ DOS command is used.
(a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB -H FILE.TXT
(d) ATTRIB +H FILE.TXT
Ans. d
73. To unhide a file (say FILE.TXT),________ DOS command is used.
(a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB -H FILE.TXT
(d) ATTRIB +H FILE.TXT
Ans. c
74. To set archive attribute to file (say FILE.TXT), _______DOS command is used.
a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB -H FILE.TXT
(d) ATTRIB +H FILE.TXT
Ans. b
75. To remove archive attribute from file (say FILE.TXT), ______DOS command is used.
(a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB -H FILE.TXT
(d) ATTRIB +H FILE.TXT
Ans. a
76. To set a file (say FILE.TXT) to read-only mode, ________ DOS command is used.
(a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB +R FILE.TXT
(d) ATTRIB -R FILE.TXT
Ans. C
77. To set a file (say FILE.TXT) to read write (i.e., to remove read-only attribute) mode, _____ DOS command is used.
(a) ATTRIB -A FILE.TXT
(b) ATTRIB +A FILE.TXT
(c) ATTRIB +R FILE.TXT
(d) ATTRIB -R FILE.TXT
Ans. d
78. _______ MS DOS command (removed from latest version of MS DOS) creates a backup of all files having archive attribute
. (a) CHKDSK
(b) BACKUP
(c) COMMAND.COM
(d) COMP
Ans. b
79. ______ MS DOS command verifies file system in given drive and repairs the file system if necessary. (a) CHKDSK
(b) BACKUP
(c) COMMAND.COM
(d) COMP
Ans. A
80. ______MS DOS command is the DOS shell.
(a) CHKDSK
(b) BACKUP
(c) COMMAND.COM
(d) COMP
Ans. C
81. _______MS DOS command compares two files and reports any differences.
(a) CHKDSK
(b) BACKUP
(c) COMMAND.COM
(d) COMP
Ans. d
82. ______MS DOS command helps to debug a program and inspect values stored in variables.
(a) DEBUG
(b) DISKCOMP
(c) DISKCOPY
(d) DOSKEY
Ans. a
83. ______MS DOS command keeps history of previous DOS commands and permits navigation on pressing UP or DOWN arrows.
(a) DEBUG
(b) DISKCOMP
(c) DISKCOPY
(d) DOSKEY
Ans. d
84. ____ MS DOS command compares the contents of 2 disks and reports the differences, if any.
(a) DEBUG
(b) DISKCOMP
(c) DISKCOPY
(d) DOSKEY
Ans. b
85._____ MS DOS command copies the contents of one disk to another.
(a) DEBUG
(b) DISKCOMP
(c) DISKCOPY
(d) DOSKEY
Ans. c
86. _______MS DOS command displays a visual window for accessing files and folders.
(a) DOSSHEL
(b) DISKCOMP
(c) DISKCOPY
(d) DOSKEY
Ans. a
87. ______MS DOS command opens a full screen editor.
(a) FC
(b) EDIT
(c) EDLIN
(d) EXPAND
Ans. B
88.______ MS DOS command edits text data line by line.
(a) FC
(b) EDIT
(c) EDLIN
(d) EXPAND
Ans. c
89. ______ MS DOS command expands a compressed file.
(a) FC
(b) EDIT
(c) EDLIN
(d) EXPAND
Ans. D
90. MS DOS command compares 2 files with text or binary content.
(a) FC
(b) EDIT
(c) EDLIN
(d) EXPAND
Ans. A
91. ______ MS DOS command compares 2 files.
(a) FC
(b) EDIT
(c) EDLIN
(d) EXPAND
Ans. A
92. _____ MS DOS command helps to create and manage partitions in hard disk.
(a) FDISK
(b) FORMAT
(c) EDLIN
(d) EXPAND
Ans. A
93. _____MS DOS command formats (creates new file system on) given partition.
(a) FDISK
(b) FORMAT
(c) EDLIN
(d) EXPAND
Ans. B
94. ______MS DOS command displays help information about given command.
(a) FDISK
(b) FORMAT
(c) HELP
(d) LABEL
Ans. c
95. ______ MS DOS command displays disk label.
(a) FDISK
(b) FORMAT
(c) HELP
(d) LABEL
Ans. d
96. ______MS DOS command displays volume details.
(a) VOL
(b) FORMAT
(c) HELP
(d) LABEL
Ans. A
97. ______ MS DOS command displays memory usage details.
(a) MOVE
(b) MEM
(c) MIRROR
(d) MORE
Ans. b
98. _____MS DOS command creates a backup file for restoration of data at a later date.
(a) MOVE
(b) MEM
(c) MIRROR
(d) MORE
Ans. c
99. _____MS DOS command displays screen output in readable chunks/pages.
(a) MOVE
(b) MEM
(c) MIRROR
(d) MORE
Ans. d
100. _____MS DOS command prints a file to the default printer
. (a) SCANDISK
(b) SORT
(c) PRINT
(d) SYS
Ans. c
101. ______ MS DOS command (removed in the latest version of MS DOS) checks and repairs files in given drive
. (a) SCANDISK
(b) SORT
(c) PRINT
(d) SYS
Ans. a
102. ______ MS DOS command sorts the contents of file in alphabetic or numerical order.
(a) SCANDISK
(b) SORT
(c) PRINT
(d) SYS
Ans. b
103. _______ MS DOS command copy system files and make a disk bootable.
(a) SCANDISK
(b) SORT
(c) PRINT
(d) SYS
Ans. d
104. ______MS DOS command displays files and folders in a tree structure.
(a) TREE
(b) UNDELETE
(c) XCOPY
(d) MOVE
Ans. a
105. ______MS DOS command copies files, directories and subdirectories.
(a) TREE
(b) UNDELETE
(c) XCOPY
(d) MOVE
Ans. c
106. ______redirector writes output of a program to a new file, deleting the old contents, if any.
(a) >
(b) >>
(c) |
(d) none of them
Ans. A
107. _______redirector appends output of a program to an existing file, creating the file if it does not exist.
(a) >
(b) >>
(c) |
(d) none of them
Ans. b
108. _____redirector sends output of a program to another program as input
. (a) >
(b) >>
(c) |
(d) none of them
Ans. c
109. ______ wild card matches any number of characters in the name.
(a) *
(b) ?
(c) &
(d) $
Ans. a
110. ______ wild card matches a single character.
(a) *
(b) ?
(c) &
(d) $
Ans. b
111. In MS-DOS 6.22, which part identifies the product uniquely
a) MS
b) DOS
c) MS-DOS
d) 6.22
Ans. d
112. Each time you turn on your computer, it will check on the control file
a) Command.com, io.sys
b) Command.com, date.com, dir.com
c) Command.com, io.sys, msdos.sys
d) Chkdsk.exe
Ans. c
113. If you need to duplicate the entire disk, which command will you use?
a) Copy
b) Diskcopy
c) Chkdsk
d) Format
Ans. b
114. Only filenames and extensions are to be displayed in wide format, which command you‟ll use?
a) Dir/w
b) Dir a:
c) Dir/s
d) Dir/b
Ans. A
115. Which command displays all the files having the same name but different extensions?
a) Dir filename.*
b) Dir filename.ext
c) Dir *.sys
d) Dir *.ext
Ans. a
116. Which command displays only file and directory names without size, date and time information?
a) dir/w
b) Dir a:
c) Dir /b
d) Dir / s
Ans. c
117. Which command displays comma for thousand separating on file size while listing?
a) Dir/w
b) Dir a:
c) Dir/s
d) Dir/c
Ans. d
118. Which command is used to display all the files having the (.exe) extension but different filename?
a) Dir filename
b) Dir filename.ext
c) Dir *.sys
d) Dir *.exe
Ans. d
119. Which command should be used to display all files within the specified subordinate directory of the subdirectory?
a) Dir \ pathname
b) Dir \ pathname\pathname
c) Dir / ch
d) Dir \ pathname\filename
Ans. b
120. Which command displays the directory list including files in tree structure?
a) Dir/s/f
b) Tree/f
c) Tree/s/f
d) Dir/f
Ans. b
121. Which command will be used to display a file within the specified directory of pathname?
a) Dir\pathname
b) Dir\pathname\pathname
c) Dir/ch
d) Dir\pathname\filename
Ans. d
122. Which command create a directory or subdirectory?
a) Dir
b) Mkdir
c) Md
d) Both b and c
Ans. d
123. Which command displays current directory name or change from one to another?
a) Chdir
b) Cd
c) Mkdir
d) Both a and b
Ans. d
124. Which command is used to delete the directory that is empty?
a) Del *.*
b) RD
c) Erase
d) MD
Ans. b
125. In which version of DOS.CHKDSK command has been changed to SCANDISK?
a) 5.0
b) 6.2
c) 6.0
d) 6.2
Ans. d
126. An entire path name, consisting of several subdirectory names can contain upto
a) 13 character
b) 36 character
c) 63 character
d) 53 character
Ans. c
127. CHKDSK command is used to
a) Analyze the hard disk error
b) Diagnose the hard disk error
c) Report the status of files
d) All of the above
Ans. d
128. Which command is used to backup in DOS 6+ Version
a) BACKUP
b) MSBACKUP
c) MSBACKEDUP
d) All of these
Ans. b
129. To copy the hidden system files of DOS to another disk you can use the command
a) Copy
b) Ren
c) Sys
d) Diskcopy
Ans. C
130. ______ MS DOS command restores the latest file deleted from MS DOS file system.
(a) TREE
(b) UNDELETE
(c) XCOPY
(d) MOVE
Ans. b
131. What is mean this C:\> symbol in DOS.
a) This Prompt indicates that the dos is ready to receive commands
b) This prompt indicates that the dos folder which is open in currently is empty
Ans. a
No comments:
Post a Comment