Disk Operating System Dos(Computer Science ) Questions and Answers

Question 1. What is the name of the batch file that is automatically run when MSDOS is booted?
  1.    Run.bat
  2.    Config.sys
  3.    Config.bat
  4.    Autoexec.bat
Explanation:-
Answer: Option D. -> Autoexec.bat

Question 2. What is the switch that is used to make sure that the copy command copied files correctly
  1.    /a
  2.    /c
  3.    /s
  4.    /v
Explanation:-
Answer: Option D. -> /v

Question 3. What will be the output of the command prompt $l$p$g?
Explanation:-
Answer: Option D. -> /v

Question 4. Which among the following are the best tools for fixing errors on disks?
  1.    Fdisk
  2.    Scandisk
  3.    Chkdsk
  4.    Fixdsk
Explanation:-
Answer: Option B. -> Scandisk

Question 5. Which command can be used to create the disk's tracks and sectors?
  1.    Fdisk
  2.    Format
  3.    Chkdsk
  4.    Attrib
Explanation:-
Answer: Option B. -> Format

Question 6. Which command in DOS can be used to recover accidentally deleted files?
  1.    UNDELETE
  2.    DELETE/CANCEL
  3.    RESTORE
  4.    RECOVER
Explanation:-
Answer: Option A. -> UNDELETE

Question 7. Which command in DOS is used to display the version of MSDOS?
  1.    VERSION
  2.    VERIFY
  3.    VER
  4.    VERSN
Explanation:-
Answer: Option C. -> VER

Question 8. Which command is used to copy all files from drive a with extension .txt to the currently logged drive and directory?
  1.    Copy a. *.txt
  2.    Copy *.txt a:
  3.    Copy *.txt c:
  4.    Copy *.txt all.txt
Explanation:-
Answer: Option A. -> Copy a. *.txt

Question 9. Which command is used to create root directory and FAT on disk?
  1.    Chkdsk
  2.    Command.com
  3.    Format
  4.    Fat
Explanation:-
Answer: Option C. -> Format

Question 10. Which command is used to delete all the files extension .txt on the current drive and directory?
  1.    Del .txt
  2.    Erase .txt
  3.    Del *.txt
  4.    Del *.*/p
Explanation:-
Answer: Option C. -> Del *.txt