πŸ“Š MS Dos
Q. Which command is used to delete files in MS-DOS?
  • (A) ERASE
  • (B) DELETE
  • (C) REMOVE
  • (D) DEL
πŸ’¬ Discuss
βœ… Correct Answer: (D) DEL

Explanation: DEL or ERASE commands delete files.

πŸ“Š MS Dos
Q. Which command shows the first few lines of a text file in MS-DOS?
  • (A) HEAD
  • (B) TYPE
  • (C) MORE
  • (D) START
πŸ’¬ Discuss
βœ… Correct Answer: (C) MORE

Explanation: MORE displays the contents of a file one page at a time, often used to view the beginning.

πŸ“Š MS Dos
Q. Which MS-DOS command is used to display or change the system date?
  • (A) DATE
  • (B) TIME
  • (C) SHOWDATE
  • (D) SETDATE
πŸ’¬ Discuss
βœ… Correct Answer: (A) DATE

Explanation: DATE command displays or allows changing the system date.

πŸ“Š MS Dos
Q. Which of these is NOT a valid MS-DOS file attribute?
  • (A) Hidden
  • (B) Read-only
  • (C) System
  • (D) Encrypted
πŸ’¬ Discuss
βœ… Correct Answer: (D) Encrypted

Explanation: MS-DOS file attributes include Hidden, Read-only, System, but not Encrypted.

πŸ“Š MS Dos
Q. How do you view the contents of a batch file in MS-DOS?
  • (A) VIEW filename.bat
  • (B) TYPE filename.bat
  • (C) READ filename.bat
  • (D) OPEN filename.bat
πŸ’¬ Discuss
βœ… Correct Answer: (B) TYPE filename.bat

Explanation: TYPE displays the contents of a file on the screen.

πŸ“Š MS Dos
Q. Which command can be used to stop a batch file execution?
  • (A) STOP
  • (B) EXIT
  • (C) BREAK
  • (D) QUIT
πŸ’¬ Discuss
βœ… Correct Answer: (B) EXIT

Explanation: EXIT ends the current batch file or command interpreter session.

πŸ“Š MS Dos
Q. Which MS-DOS command can be used to print a file?
  • (A) PRINT
  • (B) LPT
  • (C) COPY PRN
  • (D) SEND
πŸ’¬ Discuss
βœ… Correct Answer: (A) PRINT

Explanation: PRINT sends a text file to a printer.

πŸ“Š MS Dos
Q. Which command copies the contents of one disk to another?
  • (A) COPY
  • (B) DISKCOPY
  • (C) XCOPY
  • (D) TRANSFER
πŸ’¬ Discuss
βœ… Correct Answer: (B) DISKCOPY

Explanation: DISKCOPY copies the entire contents of one floppy disk to another.

πŸ“Š MS Dos
Q. What does the RENAME command do in MS-DOS?
  • (A) Deletes a file
  • (B) Changes the name of a file
  • (C) Copies a file
  • (D) Moves a file
πŸ’¬ Discuss
βœ… Correct Answer: (B) Changes the name of a file

Explanation: RENAME (or REN) changes the name of a file or files.

πŸ“Š MS Dos
Q. Which command lists the files in a directory sorted by size?
  • (A) DIR /O:S
  • (B) DIR /O:N
  • (C) DIR /O:D
  • (D) DIR /S
πŸ’¬ Discuss
βœ… Correct Answer: (A) DIR /O:S

Explanation: DIR /O:S sorts the directory listing by file size.