20 Dos Commands Quiz Questions and Answers

DOS (Disk Operating System) provides a command-line interface for managing files, directories, and system tasks. Below is an overview of some common DOS commands:

1. DIR
Displays a list of files and subdirectories in the current directory.

2. CD
Changes the current directory (e.g., `CD subdirectory` to enter a folder, or `CD ..` to go up one level).

3. MD
Creates a new directory (e.g., `MD newfolder`).

4. RD
Removes an empty directory (e.g., `RD foldername`).

5. COPY
Copies one or more files from one location to another (e.g., `COPY sourcefile destination`).

6. DEL or ERASE
Deletes one or more files (e.g., `DEL filename`).

7. REN or RENAME
Renames a file or directory (e.g., `REN oldname newname`).

8. TYPE
Displays the contents of a text file on the screen (e.g., `TYPE filename.txt`).

9. FORMAT
Formats a disk drive to prepare it for use (e.g., `FORMAT A:`; use with caution as it erases data).

10. CLS
Clears the screen, removing all text from the command prompt window.

11. ECHO
Displays messages or turns command echoing on or off (e.g., `ECHO Hello World`).

12. EXIT
Quits the command prompt and returns to the operating system.

13. HELP
Provides information about DOS commands (e.g., `HELP DIR` for specific command details).

These commands can be used in the DOS command prompt. For more advanced usage, combine commands with options (e.g., `/S` for subdirectories). Always exercise caution with commands that modify files or disks.

Table of Contents

Part 1: OnlineExamMaker – Generate and Share Dos Commands Quiz with AI Automatically

The quickest way to assess the Dos Commands knowledge of candidates is using an AI assessment platform like OnlineExamMaker. With OnlineExamMaker AI Question Generator, you are able to input content—like text, documents, or topics—and then automatically generate questions in various formats (multiple-choice, true/false, short answer). Its AI Exam Grader can automatically grade the exam and generate insightful reports after your candidate submit the assessment.

What you will like:
● Create a question pool through the question bank and specify how many questions you want to be randomly selected among these questions.
● Allow the quiz taker to answer by uploading video or a Word document, adding an image, and recording an audio file.
● Display the feedback for correct or incorrect answers instantly after a question is answered.
● Create a lead generation form to collect an exam taker’s information, such as email, mobile phone, work title, company profile and so on.

Automatically generate questions using AI

Generate questions for any topic
100% free forever

Part 2: 20 Dos Commands Quiz Questions & Answers

  or  

1. Question: What command is used to display a list of files and subdirectories in the current directory?
Options:
A. LIST
B. DIR
C. SHOW
D. FILES
Answer: B. DIR
Explanation: The DIR command lists the files and directories in the specified or current directory, showing details like file names, sizes, and dates.

2. Question: Which command is used to change the current directory?
Options:
A. CHDIR
B. CD
C. FOLDER
D. PATH
Answer: B. CD
Explanation: The CD command (or CHDIR) allows you to navigate to a different directory by specifying its path.

3. Question: What command creates a new directory?
Options:
A. NEWDIR
B. MD
C. CREATE
D. MKDIR
Answer: B. MD
Explanation: The MD command (or MKDIR) makes a new directory in the specified location.

4. Question: Which command deletes a directory?
Options:
A. DELDIR
B. RD
C. REMOVE
D. ERASEDIR
Answer: B. RD
Explanation: The RD command removes an empty directory, ensuring it’s not in use.

5. Question: What command copies files from one location to another?
Options:
A. COPY
B. MOVE
C. TRANSFER
D. DUPLICATE
Answer: A. COPY
Explanation: The COPY command duplicates files from a source to a destination, preserving the original files.

6. Question: Which command deletes one or more files?
Options:
A. ERASE
B. DEL
C. REMOVE
D. DELETE
Answer: B. DEL
Explanation: The DEL command permanently removes specified files from the disk.

7. Question: What command renames a file or directory?
Options:
A. RENAME
B. REN
C. CHANGE
D. MODIFY
Answer: B. REN
Explanation: The REN command changes the name of a file or directory without altering its content or location.

8. Question: Which command displays the contents of a text file?
Options:
A. READ
B. TYPE
C. VIEW
D. DISPLAY
Answer: B. TYPE
Explanation: The TYPE command outputs the contents of a specified text file to the screen.

9. Question: What command clears the screen in the command prompt?
Options:
A. CLEAR
B. CLS
C. WIPE
D. RESET
Answer: B. CLS
Explanation: The CLS command clears all text from the command prompt screen, providing a clean interface.

10. Question: Which command exits the command prompt?
Options:
A. QUIT
B. EXIT
C. END
D. CLOSE
Answer: B. EXIT
Explanation: The EXIT command terminates the current command prompt session and returns to the previous environment.

11. Question: What command displays help information for DOS commands?
Options:
A. INFO
B. HELP
C. ASSIST
D. GUIDE
Answer: B. HELP
Explanation: The HELP command provides detailed information and usage examples for various DOS commands.

12. Question: Which command formats a disk drive?
Options:
A. FORMAT
B. DISKFORMAT
C. FIXDISK
D. PREPARE
Answer: A. FORMAT
Explanation: The FORMAT command prepares a disk for use by erasing all data and creating a new file system.

13. Question: What command checks a disk for errors?
Options:
A. CHKDSK
B. DISKCHECK
C. SCAN
D. VERIFY
Answer: A. CHKDSK
Explanation: The CHKDSK command scans the disk for errors and fixes issues like bad sectors or file system problems.

14. Question: Which command changes the volume label of a disk?
Options:
A. LABEL
B. VOLUME
C. NAME
D. TAG
Answer: A. LABEL
Explanation: The LABEL command sets or modifies the name (label) of a disk drive.

15. Question: What command displays the volume label and serial number of a disk?
Options:
A. VOL
B. LABELINFO
C. DISKVOL
D. SERIAL
Answer: A. VOL
Explanation: The VOL command shows the volume label and serial number for the specified or current drive.

16. Question: Which command changes the attributes of a file?
Options:
A. ATTRIB
B. FILEATTR
C. MODIFY
D. CHANGEATTR
Answer: A. ATTRIB
Explanation: The ATTRIB command sets or removes attributes like read-only, hidden, or system for files.

17. Question: What command copies directories and subdirectories?
Options:
A. COPYALL
B. XCOPY
C. DIRCOPY
D. FULLCOPY
Answer: B. XCOPY
Explanation: The XCOPY command copies files and entire directory structures, including subfolders.

18. Question: Which command moves files from one location to another?
Options:
A. MOVE
B. TRANSFER
C. SHIFT
D. RELOCATE
Answer: A. MOVE
Explanation: The MOVE command relocates files or directories to a new location, optionally renaming them.

19. Question: What command is used to edit text files in DOS?
Options:
A. EDIT
B. TEXTEDIT
C. MODIFY
D. WRITE
Answer: A. EDIT
Explanation: The EDIT command opens a simple text editor to create or modify text files.

20. Question: Which command displays information about memory usage?
Options:
A. MEM
B. MEMORY
C. RAMINFO
D. USAGE
Answer: A. MEM
Explanation: The MEM command provides details on the system’s memory, including available and used amounts.

  or  

Part 3: OnlineExamMaker AI Question Generator: Generate Questions for Any Topic

Automatically generate questions using AI

Generate questions for any topic
100% free forever