Disk Operating System (dos)(Computer Science ) Questions and Answers

Question 1. Which command is used to delete the directory that is empty?
  1.    DEL *.*
  2.    RD
  3.    ERASE
  4.    MD
  5.    None of the above
Explanation:-
Answer: Option B. -> RD

Question 2. To organize files on a disk, MS-DOS separates them into areas called _____
  1.    directories
  2.    buckets
  3.    areas
  4.    area directories
  5.    None of the above
Explanation:-
Answer: Option A. -> directories

Question 3. Which of the following applies to external DOS commands?
  1.    External commands reside in RAM until called
  2.    External commands are stored on disk separately from COMMAND.COM
  3.    External commands must always be used with the /e switch
  4.    External commands can only be executed from a batch file.
  5.    None of the above
Explanation:-
Answer: Option B. -> External commands are stored on disk separately from COMMAND.COM

Question 4. The MODE command of MS-DOS is used to
  1.    display information about several types of devices installed in your computer
  2.    provide various types of control over your printers
  3.    make changes of the current display
  4.    All of the above
  5.    None of the above
Explanation:-
Answer: Option D. -> All of the above

Question 5. Which command will be used to display file and directory names only, without size, date, and time information?
  1.    DIR/W
  2.    DIR A:
  3.    DIR/B
  4.    DIR/S
  5.    None of the above
Explanation:-
Answer: Option C. -> DIR/B

Question 6. The deleted file in MS-DOS can be recovered if you use the command mention below immediately, the command is:
  1.    DO NOT DELETE
  2.    NO DELETE
  3.    UNDELETE
  4.    ONDELETE
Explanation:-
Answer: Option C. -> UNDELETE

Question 7. Xcopy command can copy
  1.    Individual files or group of files
  2.    Directories including subdirectories
  3.    To diskette of a different capacity
  4.    All of above
Explanation:-
Answer: Option D. -> All of above

Question 8. While working with MS-DOS which key is used to get the p[revious command used:
  1.    F3
  2.    F1
  3.    F6
  4.    F9
Explanation:-
Answer: Option A. -> F3

Question 9. To copy the file command.com from drive c: to drive a:
  1.    Drive c: copy drive a:\command.com
  2.    C:A: copy command.com
  3.    Copy c:\command.com a:
  4.    Both b and c
Explanation:-
Answer: Option C. -> Copy c:\command.com a:

Question 10. FAT stands for
  1.    File Accomodation Table
  2.    File Access Tape
  3.    File Allocation Table
  4.    File Activity Table
Explanation:-
Answer: Option C. -> File Allocation Table