πŸ“Š MS Dos
Q. What does the ECHO OFF command do in a batch file?
  • (A) Turns off the speaker
  • (B) Disables all commands
  • (C) Prevents command display
  • (D) Disables the screen
πŸ’¬ Discuss
βœ… Correct Answer: (C) Prevents command display

Explanation: ECHO OFF hides the commands being executed from the display.

πŸ“Š MS Dos
Q. What is the function of the DELTREE command?
  • (A) Deletes a single file
  • (B) Deletes a directory tree including files
  • (C) Removes file attributes
  • (D) Formats disk
πŸ’¬ Discuss
βœ… Correct Answer: (B) Deletes a directory tree including files

Explanation: DELTREE deletes a directory and all its subdirectories and files.

πŸ“Š MS Dos
Q. Which command can be used to abort a running command in MS-DOS?
  • (A) ESC
  • (B) Ctrl + Z
  • (C) Ctrl + C
  • (D) F12
πŸ’¬ Discuss
βœ… Correct Answer: (C) Ctrl + C

Explanation: Ctrl + C is the keyboard shortcut to abort a running command in MS-DOS.

πŸ“Š MS Dos
Q. What does the AUTOEXEC.BAT file do in MS-DOS?
  • (A) Stores system drivers
  • (B) Contains commands executed automatically at startup
  • (C) Holds user data
  • (D) Manages file permissions
πŸ’¬ Discuss
βœ… Correct Answer: (B) Contains commands executed automatically at startup

Explanation: AUTOEXEC.BAT runs a series of commands automatically when MS-DOS starts.

πŸ“Š MS Dos
Q. Which command is used to format a floppy disk in MS-DOS?
  • (A) FORMAT A:
  • (B) DISKFORMAT
  • (C) FDISK
  • (D) MKDISK
πŸ’¬ Discuss
βœ… Correct Answer: (A) FORMAT A:

Explanation: The FORMAT command formats the disk in the specified drive, e.g., A: for floppy disk.

πŸ“Š MS Dos
Q. How do you display hidden system files in MS-DOS?
  • (A) DIR /S
  • (B) DIR /A
  • (C) DIR /AH
  • (D) DIR /AS
πŸ’¬ Discuss
βœ… Correct Answer: (B) DIR /A

Explanation: DIR /A shows all files including hidden and system files.

πŸ“Š MS Dos
Q. What is the purpose of the COMMAND.COM file?
  • (A) It is the command interpreter of MS-DOS
  • (B) It is the kernel file
  • (C) It is the file system manager
  • (D) It is the boot loader
πŸ’¬ Discuss
βœ… Correct Answer: (A) It is the command interpreter of MS-DOS

Explanation: COMMAND.COM is the default command-line interpreter in MS-DOS.

πŸ“Š MS Dos
Q. Which command displays the amount of free disk space on a drive?
  • (A) FREE
  • (B) DISKSPACE
  • (C) DIR
  • (D) CHKDSK
πŸ’¬ Discuss
βœ… Correct Answer: (C) DIR

Explanation: DIR shows the list of files and the amount of free space at the bottom.

πŸ“Š MS Dos
Q. What is the maximum filename length supported by MS-DOS?
  • (A) 8 characters
  • (B) 12 characters
  • (C) 255 characters
  • (D) 256 characters
πŸ’¬ Discuss
βœ… Correct Answer: (A) 8 characters

Explanation: MS-DOS supports 8 characters for the filename and 3 for the extension (8.3 format).

πŸ“Š MS Dos
Q. Which command is used to create a new directory in MS-DOS?
  • (A) MKDIR
  • (B) CREATE
  • (C) NEWDIR
  • (D) MD
πŸ’¬ Discuss
βœ… Correct Answer: (D) MD

Explanation: MD or MKDIR creates a new directory.