MS dos MCQ. Microsoft disk operating system related important objective multiple choice questions and answers pdf for computer competitive exams.
MS DOS MCQ
1. ______command displays current date and gets new date for resetting.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. a
2. _______command displays current time and gets new time for resetting.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. b
3. TIME command should be run as _______ to set new time.
(a) unknown user
(b) guest user
(c) ordinary user
(d) Administrator
Ans. d
4. 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
5. ______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
6. To end the input to the command COPY CON < file.txt > and to save text to that file, enter ___.
(a) Ctrl+Z Ctrl+C Enter
(b) Ctrl+X Ctrl+C Enter
(c) Ctrl+Z Ctrl+C Shift
(d) Ctrl+Z Ctrl+X Enter
Ans. a
7. 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
8. 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
9. To create a copy of one file in a new name, _______ command is used.
(a) MOVE
(b) REN
(c) COPY
(d) MKDIR
Ans. c
10. To delete a file, _______ DOS command is used.
(a) MOVE
(b) DEL
(c) COPY
(d) MKDIR
Ans. b
11. 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
12. To change from one directory to another, _______ DOS command is used.
(a) CD
(b) MD
(c) RD
(d) ATTRIB
Ans. a
13. ______command may also be used in place of the DOS command MD.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. b
14. ______command may also be used in place of the DOS command RD.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. c
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. ______ command may also be used in place of the DOS command DEL.
(a) CHDIR
(b) MKDIR
(c) RMDIR
(d) ERASE
Ans. d
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. The list of directories in which external DOS commands will be searched is called _______.
(a) WINDIR
(b) PATH
(c) HOME
(d) VER
Ans. b
34. Of the following alternatives, ________command displays current value of path variable.
(a) CLS %PATH%
(b) PROMPT %PATH%
(c) PAUSE %PATH%
(d) ECHO %PATH%
Ans. d
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. ____command displays current date and gets new date for resetting.
(a) DATE
(b) TIME
(c) COPY
(d) COPY CON < file.txt >
Ans. a
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