DOS MCQs

DOS MCQs

These DOS multiple-choice questions and their answers will help you strengthen your grip on the subject of DOS. You can prepare for an upcoming exam or job interview with these 100+ DOS MCQs.
So scroll down and start answering.

1: What does DOS stands for?

A.   Digital Operating System

B.   Disk Operating System

C.   Distributed Operating System

D.   Directory Operating System

2: What happens when you type “CD” and press “Enter” key?

A.   Enters into a subdirectory

B.   Get the username

C.   Returns to the root directory

D.   Displays current directory

3: A program or command to execute automatically when OS starts is kept in which file?

A.   config.sys

B.   system.bat

C.   command.com

D.   autoexec.bat

4: True or False? DOS is a multitasking operating system.

A.   False

B.   True

5: What interface does DOS utilize?

A.   command-line interface

B.   graphical user interface

C.   text-based user interface

D.   web-based user interface

6: True or False? DOS uses the File Allocation Table (FAT) file system.

A.   True

B.   False

7: What is the full form of DOS?

A.   Digital Office Systems

B.   Digital Operating System

C.   Disk Operating System

D.   Data Organization Software

8: What is DOS?

A.   a file server

B.   a command prompt

C.   an operating system

D.   a programming language

9: FAT stands for which of the following?

A.   File Accomodation Table

B.   File Access Tape

C.   File Activity Table

D.   File Allocation Table

10: What is the command to create a new directory in MS-DOS?

A.   MCD

B.   MC

C.   CD

D.   MD

11: True or False? A volume label can be assigned to a disk by using the LABEL command.

A.   False

B.   True

12: What is the function of “Ctrl+C” in DOS?

A.   Breaks execution of command

B.   Saves a file

C.   Delete the file

D.   Un-Delete the deleted file

13: What is the command to list all files in the current directory?

A.   DIR

B.   SHOW

C.   LIST

D.   LS

14: Which of the following external command deletes a directory and all the files and subdirectories in it?

A.   DRVSPACE

B.   DEL

C.   DELTREE

D.   DELOLDOS

15: What action does the MODE command perform?

A.   configures system devices

B.   ALL three actions are performed by the MODE command

C.   display information on port and display setting

D.   make changes to display setting

16: Which file contains commands that configure systems devices?

A.   Autoexec.bat

B.   Win.ini

C.   Command.com

D.   Config.sys

17: What are the keys pressed to perform a warm reboot on a DOS operating system?

A.   Ctrl + Esc

B.   Ctrl + Alt + Esc

C.   Ctrl + Alt + Del

D.   Ctrl + Shft + Del

18: Which of the following is a key advantage of using batch files?

A.   All of the given options are true

B.   Time saving

C.   Lesser keystrokes required to perform computer operations

D.   Less chance of making errors

19: Which of the following do you use to search a file in MS-DOS?

A.   dir/d

B.   dir/c

C.   dir/s

D.   dir/ad

20: What is the command to clear the screen?

A.   CLS

B.   CLEAR

C.   CLS and CLEAR

D.   ERASE

21: What DOS command formats a floppy disk and copies system files to the formatted disk?

A.   FORMAT A: -S

B.   FORMAT A: /S

C.   SYS A:

D.   SYS A: /S

22: Which command will copy all files with extension .TXT under the current directory to drive D?

A.   COPY *.TXT/A D:

B.   COPY .TXT/A D:

C.   COPY .TXT D:

D.   COPY *.TXT D:

23: Which statement about AUTOEXEC.BAT is true?

A.   It is located in the root directory of the boot device

B.   It is called by COMMAND.COM

C.   All three statements are true

D.   It is a plain text file

24: What action does the DELTREE command perform?

A.   delete all subdirectories within it

B.   deletes a directory and all subdirectories and files within it

C.   delete all subdirectories and files within it

25: What type of OS is MSDOS?

A.   Single user, GUI

B.   Multi user, CUI

C.   Single user, CUI

D.   Multi user, GUI

26: Which statement about TSR is true?

A.   All three statements are true

B.   TSR returns control to the system but keeps the program in memory

C.   TSR uses interrupts to return control to a program in memory

D.   TSR creates the appearance of multitasking

27: Which of the following commands is used to display the list of files and directories starting with 's'?

A.   dir s?

B.   dir*s

C.   dir ? s

D.   dir s*

28: Which command is used to display the disk volume label?

A.   Volume

B.   Vol

C.   Version

D.   Ver

29: Which DOS command will combine file1 and file2 into new file named file3?

A.   Copy file1+file2+file3

B.   Copy file1+file2 file3

C.   Copy file2 file1+file3

D.   Copy file3 file1+file2

30: What function does the MEM command perform?

A.   Allocate memory for a program

B.   Deallocate memory for a program

C.   Displays the amount of used and free memory

D.   Free all unused memory

31: The COPY command:

A.   can only copy binary file

B.   can only copy ascii file

C.   copies one or more files to another location

D.   copies one file to another location

32: True or False? DOS uses the 8.3 filename convention.

A.   True

B.   False

33: Which statement about COMMAND.COM is true?

A.   All three statements are true

B.   It has two modes: interactive and batch

C.   It is the shell for the DOS operating system

D.   It runs AUTOEXEC.BAT

34: What is the command that will change to the root directory irrespective of the current directory?

A.   CD\

B.   CD\\

C.   CD..

D.   CD\..

35: Which of the following is true about DOSKEY?

A.   All of the given options are valid

B.   Recalls MS-DOS commands

C.   Edits command lines

D.   Creates macros

36: Which file contains configuration files for the DOS operating system?

A.   MSDOS.SYS

B.   AUTOEXEC.BAT

C.   CONFIG.SYS

D.   COMMAND.COM

37: Which of the following command installs file-sharing and locking capabilities on the hard disk?

A.   SHARE

B.   RESTORE

C.   SUBST

D.   XCOPY

38: Which of the following is not a DOS executable extension?

A.   SYS

B.   COM

C.   BAT

D.   EXE

39: Which of the following is true about external command MSD?

A.   Provides detailed technical information about the computer

B.   Moves one or more files

C.   Scans thecomputer for known viruses

D.   Deletes a directory/file

40: Which of the following commands is used to copy all the files stored in floppy disk into the DATA directory of hard disk (c drive)?

A.   copy A:* c:data

B.   copy A: C:

C.   copy A:*.* c:data

D.   copy A:data C:

41: Which command do you use to display the contents of a file?

A.   type

B.   info

C.   copy

D.   edit

42: Which pair of command does not perform the same function?

A.   REN, RENAME

B.   FOR, FORMAT

C.   DEL, ERASE

D.   CH, CHDIR

43: RESTORE command is used for which of the following?

A.   Restore files which were deleted recently

B.   Restore files which were deleted

C.   Restore files from disks made using the BACKUP command

D.   Restore files from recycle bin

44: Which of the following DOS commands provides International keyboard (different countries and language) and character set information?

A.   CHOICE

B.   CALL

C.   CHKDSK

D.   CHCP

45: What is the size limitation of MS-DOS file name and extension?

A.   8 and 3

B.   255 and 3

C.   255 and 8

D.   3 and 8

46: What does formatting a disk mean?

A.   Build/rebuild tracks only

B.   Build/rebuild sectors only

C.   Erasing data

D.   Build/rebuild tracks, sectors

47: Which command do you use to list all the files and folders whose name contains TST from second character?

A.   dir tst

B.   dir ?tst

C.   dir *tst

D.   dir ?tst*

48: Which of the following command will delete a directory?

A.   ERASE

B.   RMDIR

C.   All three commands can delete a directory

D.   DEL

49: Which of the following command will delete a file?

A.   DELTREE

B.   ERASE

C.   DEL

D.   All three commands can delete a file

50: In XCOPY command, What is the arguiment used for avoiding prompt for overwrite ?

A.   /d

B.   /e

C.   /a

D.   /Y

E.   /s

51: Which command is used to set the name to a disk in DOS?

A.   DISKLABEL

B.   VOL

C.   LABEL

D.   VOLUME

52: Which of the following will create a bootable floppy disk?

A.   FORMAT A: /S

B.   All three commands will create a bootable floppy disk

C.   FORMAT A: /S /V:BOOT

D.   SYS C: A:

53: Which of the following properties in CONFIG.SYS file loads device drivers in the upper memory area?

A.   DEVHIGH

B.   DEVICEHIGH

C.   DISKCOMP

D.   DEVICE

54: Which of the following is NOT an internal command?

A.   DIR

B.   APPEND

C.   BREAK

D.   PATH

55: What is the attribute that’ll suppress prompting in the MOVE command

A.   /Y

B.   /X

C.   /A

D.   /V

56: "Active Code Page: 437" is displayed when using this command:

A.   CDCH

B.   CHCD

C.   CDPH

D.   CHCP

E.   CPCH

57: The PATH command is typically found in which file?

A.   MSDOS.SYS

B.   AUTOEXEC.BAT

C.   CONFIG.SYS

D.   COMMAND.COM

58: Which of the following command will display the list of all previous commands entered by the user?

A.   DIR/ALL

B.   KEYDOS

C.   COMMANDS/ALL

D.   DOSKEY

59: Which is not displayed by “CHKDSK” command?

A.   storage capacity of the disk

B.   number of hidden files

C.   number of executable files

D.   free space in the disk D.

60: Which of the following command continuously monitors the computer for viruses?

A.   VSAFE

B.   SCANDISK

C.   SYS

D.   SCAN

61: Which of the following external command load country specific information?

A.   MODE

B.   MORE

C.   QBASIC

D.   NLSFUNC

62: Which external command file is required to use “format” command?

A.   format.dos

B.   format.com

C.   format.exe

D.   format.hlp

63: What is the command to list only the hidden files under the current directory?

A.   DIR /A

B.   DIR /H

C.   DIR /A:S

D.   DIR /A:H

64: Which of the following command is syntactically incorrect?

A.   RENAME foo.txt bar.txt

B.   REN foo.txt bar.txt

C.   REN c:\foo.txt d:\bar.txt

D.   RENAME c:\foo.txt bar.txt

65: Which of the following DOS command will display the name of files in sorted order?

A.   Dir/o:n

B.   Dir/so

C.   Dir/ah

D.   Dir/an

66: Which of the following is the correct load/execution sequence during a DOS boot?

A.   MSDOS.SYS, CONFIG.SYS, COMMAND.COM, AUTOEXEC.BAT

B.   CONFIG.SYS, MSDOS.SYS, COMMAND.COM, AUTOEXEC.BAT

C.   MSDOS.SYS, CONFIG.SYS, AUTOEXEC.BAT, COMMAND.COM

D.   CONFIG.SYS, MSDOS.SYS, AUTOEXEC.BAT, COMMAND.COM

67: What does TSR stand for?

A.   Terminal System Read

B.   Terminate and Stay Resident

C.   Terminal System Ready

D.   Terminate and Stay Ready

68: What is the order of precedence when COMMAND.COM searches for executable files?

A.   .COM, .EXE, .BAT

B.   .EXE, .COM, .BAT

C.   .EXE, .BAT, .COM

D.   there is no order of precedence

69: Which of the following is NOT an external command?

A.   COMMAND

B.   DBLSPACE

C.   DELTREE

D.   GOTO

70: What is the correct command to transfer a file from one disk to another?

A.   RENAME

B.   COPY

C.   DISKCOPY

D.   MOVE

71: What is the first program that gets run after boot?

A.   AUTOEXEC.BAT

B.   CONFIG.SYS

C.   COMMAND.COM

D.   WIN.INI

72: Which of the folllwing command is used in CONFIG.SYS file to specify the number of file-control blocks for file sharing?

A.   FASTOPEN

B.   FILES

C.   FC

D.   FCBS

73: Which of the following operating systems does not fall under DOS?

A.   PC DOS

B.   Win DOS

C.   86-DOS

D.   MS-DOS

74: Which key will bypass CONFIG.SYS and AUTOEXEC.BAT during the boot sequence?

A.   F1

B.   F2

C.   F8

D.   F5

75: Which of the following is true about FASTOPEN?

A.   Provides summary Help information for MS-DOS commands

B.   Decreases the amount of time needed to open frequently both used files and directories

C.   Decreases the amount of time needed to open frequently used files and directories

D.   Decreases the amount of time needed to open frequently used files

A.   True

B.   False

77: Which of the following external command compares two files or sets of files, and displays the differences between them?

A.   COMPARE

B.   FC

C.   EXPAND

D.   CMP

78: Which statement about Quick Format is true?

A.   All three statements are true

B.   Quick format performs an unconditional format

C.   Quick format does not check for bad sectors

D.   Quick format can be performed on an unformatted drive.

79: Which command displays the directory list including files in tree structure ?

A.   Dir/f

B.   Tree/f

C.   Dir/s/f

D.   Tree/s/f

80: In Windows Xp, what is the file equlivalent to CONFIG.SYS ?

A.   config.txt

B.   config.ini

C.   Config.Nt

D.   None of the above

E.   Config.win

81: Which of the following are available in a DOS file system ?

A.   IBMBIO.COM, IBMDOS.COM, COMMAND.COM

B.   SYS.COM,IBMBIO.COM,IBMDOS.COM

C.   COMMAND.COM, FORMAT.COM

D.   COMMAND.COM, IBMBIO.COM, FORMAT.COM

82: Which of the following command copies a folder including all of its subdirectories?

A.   XCOPY C:\Source C:\Destination

B.   COPY C:\Source\*.* C:\Destination /X

C.   XCOPY C:\Source C:\Destination /S

D.   XCOPY C:\Source C:\Destination /E /I

83: The following is an example of an AUTOEXEC.BAT file:

@echo off
SET SOUND=C:\SOUNDS\SPEAKERS\SOUND
SET BLASTER=B320 I2 D1 H5 P330 E620 T6
SET PATH=C:\WINDOWS;C:\
LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:123
LH C:\MOUSE\MOUSE.EXE
DOSKEY
CLS

What is the purpose of the line LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:123?



A.   It specifies floppy drive information

B.   It specifies printer information

C.   It loads the CDROM driver

D.   It specifies monitor information

84: Which command will display all the directories of the current directory in ascending order of creation date?


A.   dir /o:d /s

B.   dir /o:d /a:d

C.   dir /od/an

D.   dir /ad/on

85: Which of the following statements about the DELTREE command are correct?


A.   DELTREE is a command used to delete files and directories permanently from the computer

B.   By Using DELTREE, every file and sub-directory within the specified directory will be deleted

C.   Once deleted using DELTREE, you cannot recover the files and directories

D.   Once deleted using DELTREE, you can recover the files and directories only if you had used DELTREE appended with /Y

86: What is the EXPAND command used for?


A.   Expanding compressed operating system files into their original format

B.   Appending characters to a file name

C.   Viewing complete file names that have been truncated

D.   Adding new drivers to the available existing drivers

87: What is the maximum size of the PATH that can be specified in DOS?


A.   82 bytes

B.   102 bytes

C.   122 bytes

D.   132 bytes

E.   255 bytes

88: Which command will you use to add comments in a CONFIG.SYS file or a batch file?


A.   COMMENT

B.   COMM

C.   REM

D.   REMARK

89: What is accomplished by the following DOS command:

SYS a:



A.   It allows you to delete the system files from drive A

B.   It is used to copy the system files from one drive to another drive by making that drive bootable.

C.   It allows the user to see the specifications of drive A

90: What is the function performed by the VERIFY command?


A.   It checks the hard disk to look for bad sectors

B.   It checks for the available hard disk space

C.   It displays the version of MS-DOS or Windows if running Windows 95 or above

D.   It tells Windows whether to verify that your files are written correctly to a disk

91: Which command would you use to get information about any DOS commands?


A.   HLP

B.   HELP

C.   DOSHELP

D.   DOSHLP

E.   HP

92: DOS is an acronym for?


A.   Digital Operating System

B.   Digital Operation System

C.   Disk Operation Software

D.   Disk Operating System

93: The following is an example of a CONFIG.SYS file:
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
FILES=30
STACKS=0,0
BUFFERS=20
DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS
DEVICEHIGH=C:\MTMCDAI.SYS /D:123

What is the purpose of the line FILES=30?



A.   It allows DOS to load up to 30 files at the same time

B.   It allows DOS to load 30 DOS commands at the same time

C.   It allows DOS to load 30 lines at the same time

D.   It allows DOS to load 30 Kilobytes of data at the same time

94: What are the names of the 4 system files?


A.   system.com, io.sys, sysdos.sys, diskspace.bin

B.   command.com, io.sys, sysdos.sys, drvspace.bin

C.   command.com, out.sys, msdos.sys, diskspace.bin

D.   command.com, io.sys, msdos.sys, drvspace.bin

95: Which of the following statements are true about the COPY command?


A.   It can be used to copy files and directories

B.   It can be used to copy all hidden and non-hidden files

C.   It can be used to copy read-only files

D.   It can be used to copy hidden files

E.   It can be used to append files to one another 

96: What is the FDISK utility used for?


A.   It allows the user to Format the hard disk drive

B.   It allows the user to delete and/or create partitions on the hard disk drive

C.   It allows the user to quickly format floppy diskettes so they can have fresh data saved on them

D.   It allows the user to specify the size of the floppy disk to format

97: Which of the following statements about the RENAME command is correct?


A.   It permits users to change the name of a file without making a copy of it

B.   It permits users to change the name of a file by making a copy of it

C.   None of the above

98: Which command would you use to get information about a particular disk volume?


A.   VOL

B.   VOLUME

C.   DKVOL

D.   DISKVOL

99: What would the following DOS command accomplish?

TYPE c:\autoexec.bat



A.   It allows the user to edit the AUTOEXEC.BAT file

B.   It allows the user to find out the size of the AUTOEXEC.BAT file

C.   It allows the user to view the contents of the AUTOEXEC.BAT file

D.   It allows the user to find out if the AUTOEXEC.BAT file is hidden or not

100: Which of the below attributes can be changed using the ATTRIB command?


A.   Read-only, Archived, Hidden, Boot

B.   Read-only, Archived, Driver, System

C.   Read-only, Shared, Hidden, System

D.   Read-only, Archived, Hidden, System