Important Dos Multiple choice Questions
What does DOS stands for?
A. Distributed Operating System
B. Digital Operating System
C. Directory Operating System
D. Disk Operating System
Ans: D
Which pair of command does not perform the same function?
A. FOR, FORMAT
B. CH, CHDIR
C. DEL, ERASE
D. REN, RENAME
Ans: A
Which is not displayed by “CHKDSK” command?
A. free space in the disk D.
B. number of hidden files
C. storage capacity of the disk
D. number of executable files
Ans: D
Which of the following DOS commands provides International keyboard (different countries and language) and character set information?
A. CHKDSK
B. CALL
C. CHCP
D. CHOICE
Ans: C
Which of the following is true about external command MSD?
A. Scans thecomputer for known viruses
B. Moves one or more files
C. Provides detailed technical information about the computer
D. Deletes a directory/file
Ans: C
What is the command that will change to the root directory irrespective of the current directory?
A. CD..
B. CD\
C. CD\\
D. CD\..
Ans: B
A program or command to execute automatically when OS starts is kept in which file?
A. autoexec.bat
B. system.bat
C. command.com
D. config.sys
Ans: A
Which command is used to display the disk volume label?
A. Volume
B. Ver
C. Vol
D. Version
Ans: C
What function does the MEM command perform?
A. Allocate memory for a program
B. Displays the amount of used and free memory
C. Deallocate memory for a program
D. Free all unused memory
Ans: B
What action does the DELTREE command perform?
A. deletes a directory and all subdirectories and files within it
B. delete all subdirectories within it
C. delete all subdirectories and files within it
Ans: A
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*
Ans: D
What type of OS is MSDOS?
A. Single user, GUI
B. Single user, CUI
C. Multi user, GUI
D. Multi user, CUI
Ans: B
What is the command to clear the screen?
A. CLS
B. CLS and CLEAR
C. ERASE
D. CLEAR
Ans: A
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:
Ans: C
True or False? DOS is a multitasking operating system.
A. False
B. True
Ans: A
What are the keys pressed to perform a warm reboot on a DOS operating system?
A. Ctrl + Alt + Esc
B. Ctrl + Alt + Del
C. Ctrl + Shft + Del
D. Ctrl + Esc
Ans: B
Which of the following external command deletes a directory and all the files and subdirectories in it?
A. DEL
B. DRVSPACE
C. DELOLDOS
D. DELTREE
Ans: D
What is the function of “Ctrl+C” in DOS?
A. Un-Delete the deleted file
B. Delete the file
C. Saves a file
D. Breaks execution of command
Ans: D
True or False? A volume label can be assigned to a disk by using the LABEL command.
A. True
B. False
Ans: A
What action does the MODE command perform?
A. display information on port and display setting
B. ALL three actions are performed by the MODE command
C. make changes to display setting
D. configures system devices
Ans: B
Which of the following is a key advantage of using batch files?
A. Less chance of making errors
B. Lesser keystrokes required to perform computer operations
C. Time saving
D. All of the given options are true
Ans: D
What is the command to list all files in the current directory?
A. DIR
B. LS
C. SHOW
D. LIST
Ans: A
Which file contains commands that configure systems devices?
A. Command.com
B. Config.sys
C. Win.ini
D. Autoexec.bat
Ans: B
Which of the following do you use to search a file in MS-DOS?
A. dir/s
B. dir/ad
C. dir/d
D. dir/c
Ans: A
What is the command to create a new directory in MS-DOS?
A. MC
B. MCD
C. MD
D. CD
Ans: C
What interface does DOS utilize?
A. text-based user interface
B. graphical user interface
C. command-line interface
D. web-based user interface
Ans: C
FAT stands for which of the following?
A. File Allocation Table
B. File Access Tape
C. File Accomodation Table
D. File Activity Table
Ans: A
What is DOS?
A. a file server
B. a command prompt
C. a programming language
D. an operating system
Ans: D
Which command is used to clear the screen?
A. cls
B. clrscreen
C. clear-screen
D. clear
Ans: A
What is the full form of DOS?
A. Disk Operating System
B. Digital Operating System
C. Data Organization Software
D. Digital Office Systems
Ans: A
What DOS command formats a floppy disk and copies system files to the formatted disk?
A. FORMAT A: /S
B. SYS A: /S
C. SYS A:
D. FORMAT A: -S
Ans: A
Which statement about AUTOEXEC.BAT is true?
A. All three statements are true
B. It is located in the root directory of the boot device
C. It is a plain text file
D. It is called by COMMAND.COM
Ans: A
Which statement about TSR is true?
A. All three statements are true
B. TSR creates the appearance of multitasking
C. TSR returns control to the system but keeps the program in memory
D. TSR uses interrupts to return control to a program in memory
Ans: A
Which DOS command will combine file1 and file2 into new file named file3?
A. Copy file3 file1+file2
B. Copy file1+file2+file3
C. Copy file1+file2 file3
D. Copy file2 file1+file3
Ans: C
True or False? DOS uses the File Allocation Table (FAT) file system.
A. False
B. True
Ans: B
Which statement about COMMAND.COM is true?
A. All three statements are true
B. It is the shell for the DOS operating system
C. It has two modes: interactive and batch
D. It runs AUTOEXEC.BAT
Ans: A
The COPY command:
A. can only copy binary file
B. copies one or more files to another location
C. copies one file to another location
D. can only copy ascii file
Ans: B
Which of the following is true about DOSKEY?
A. Recalls MS-DOS commands
B. Creates macros
C. All of the given options are valid
D. Edits command lines
Ans: C
True or False? DOS uses the 8.3 filename convention.
A. True
B. False
Ans: A
Which of the following command installs file-sharing and locking capabilities on the hard disk?
A. SHARE
B. SUBST
C. XCOPY
D. RESTORE
Ans: A
Which of the following is not a DOS executable extension?
A. BAT
B. EXE
C. COM
D. SYS
Ans: D
Which file contains configuration files for the DOS operating system?
A. CONFIG.SYS
B. AUTOEXEC.BAT
C. MSDOS.SYS
D. COMMAND.COM
Ans: A
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:
Ans: C
RESTORE command is used for which of the following?
A. Restore files which were deleted recently
B. Restore files from disks made using the BACKUP command
C. Restore files which were deleted
D. Restore files from recycle bin
Ans: B
What does formatting a disk mean?
A. Build/rebuild tracks, sectors
B. Erasing data
C. Build/rebuild tracks only
D. Build/rebuild sectors only
Ans: A
Which command do you use to display the contents of a file?
A. edit
B. type
C. info
D. copy
Ans: B
What happens when you type “CD” and press “Enter” key?
A. Displays current directory
B. Returns to the root directory
C. Get the username
D. Enters into a subdirectory
Ans: A
Which of the following command will delete a file?
A. DELTREE
B. ERASE
C. All three commands can delete a file
D. DEL
Ans: C
What is the size limitation of MS-DOS file name and extension?
A. 255 and 8
B. 255 and 3
C. 3 and 8
D. 8 and 3
Ans: D
Which command is used to set the name to a disk in DOS?
A. DISKLABEL
B. VOLUME
C. VOL
D. LABEL
Ans: D
Which of the following will create a bootable floppy disk?
A. SYS C: A:
B. All three commands will create a bootable floppy disk
C. FORMAT A: /S
D. FORMAT A: /S /V:BOOT
Ans: B
Which of the following command will delete a directory?
A. All three commands can delete a directory
B. ERASE
C. RMDIR
D. DEL
Ans: C
Which of the following is NOT an internal command?
A. BREAK
B. APPEND
C. PATH
D. DI
Ans: B
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
Ans: A
In XCOPY command, What is the arguiment used for avoiding prompt for overwrite ?
A. /Y
B. /e
C. /s
D. /a
E. /d
Ans: A
Which of the following properties in CONFIG.SYS file loads device drivers in the upper memory area?
A. DEVHIGH
B. DEVICE
C. DISKCOMP
D. DEVICEHIGH
Ans: D
Which of the following command will display the list of all previous commands entered by the user?
A. DIR/ALL
B. KEYDOS
C. DOSKEY
D. COMMANDS/ALL
Ans: C
The PATH command is typically found in which file?
A. COMMAND.COM
B. MSDOS.SYS
C. AUTOEXEC.BAT
D. CONFIG.SYS
Ans: C
“Active Code Page: 437” is displayed when using this command:
A. CHCD
B. CPCH
C. CHCP
D. CDPH
E. CDCH
Ans: C
Which of the following external command load country specific information?
A. MORE
B. NLSFUNC
C. QBASIC
D. MODE
Ans: B
What is the attribute that’ll suppress prompting in the MOVE command
A. /V
B. /Y
C. /A
D. /X
Ans: B
Which of the following command continuously monitors the computer for viruses?
A. SCANDISK
B. VSAFE
C. SCAN
D. SYS
Ans: B
What is the command to list only the hidden files under the current directory?
A. DIR /A:H
B. DIR /A
C. DIR /H
D. DIR /A:S
Ans: A
Which of the following command is syntactically incorrect?
A. REN c:\foo.txt d:\bar.txt
B. RENAME foo.txt bar.txt
C. REN foo.txt bar.txt
D. RENAME c:\foo.txt bar.txt
Ans: A
Which of the following DOS command will display the name of files in sorted order?
A. Dir/ah
B. Dir/so
C. Dir/o:n
D. Dir/an
Ans: C
Which external command file is required to use “format” command?
A. format.exe
B. format.dos
C. format.hlp
D. format.com
Ans: D
Which of the following is the correct load/execution sequence during a DOS boot?
A. MSDOS.SYS, CONFIG.SYS, COMMAND.COM, AUTOEXEC.BAT
B. MSDOS.SYS, CONFIG.SYS, AUTOEXEC.BAT, COMMAND.COM
C. CONFIG.SYS, MSDOS.SYS, COMMAND.COM, AUTOEXEC.BAT
D. CONFIG.SYS, MSDOS.SYS, AUTOEXEC.BAT, COMMAND.COM
Ans: A
What does TSR stand for?
A. Terminate and Stay Ready
B. Terminal System Read
C. Terminal System Ready
D. Terminate and Stay Resident
Ans: D
What is the order of precedence when COMMAND.COM searches for executable files?
A. .EXE, .COM, .BAT
B. .EXE, .BAT, .COM
C. .COM, .EXE, .BAT
D. there is no order of precedence
Ans: C
Which of the following is NOT an external command?
A. DBLSPACE
B. GOTO
C. COMMAND
D. DELTREE
Ans: B
What is the correct command to transfer a file from one disk to another?
A. MOVE
B. DISKCOPY
C. COPY
D. RENAME
Ans: A
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. FCB
Ans: D
What is the first program that gets run after boot?
A. AUTOEXEC.BAT
B. CONFIG.SYS
C. COMMAND.COM
D. WIN.INI
Ans: C
Which of the following operating systems does not fall under DOS?
A. MS-DOS
B. Win DOS
C. 86-DOS
D. PC DOS
Ans: B
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 used files and directories
C. Decreases the amount of time needed to open frequently used files
D. Decreases the amount of time needed to open frequently both used files and directories
Ans: D
True or False. DOS is not a single operating system but several closely related operating systems.
A. True
B. False
Ans: A
Which of the following external command compares two files or sets of files, and displays the differences between them?
A. EXPAND
B. FC
C. CMP
D. COMPARE
Ans: B
Which statement about Quick Format is true?
A. All three statements are true
B. Quick format can be performed on an unformatted drive.
C. Quick format does not check for bad sectors
D. Quick format performs an unconditional format
Ans: C
Which key will bypass CONFIG.SYS and AUTOEXEC.BAT during the boot sequence?
A. F1
B. F8
C. F5
D. F2
Ans: C
Which command displays the directory list including files in tree structure ?
A. Tree/s/f
B. Tree/f
C. Dir/f
D. Dir/s/f
Ans: B
Which of the following are available in a DOS file system ?
A. IBMBIO.COM, IBMDOS.COM, COMMAND.COM
B. COMMAND.COM, IBMBIO.COM, FORMAT.COM
C. COMMAND.COM, FORMAT.COM
D. SYS.COM,IBMBIO.COM,IBMDOS.COM
Ans: A
In Windows Xp, what is the file equlivalent to CONFIG.SYS ?
A. None of the above
B. Config.Nt
C. config.ini
D. config.txt
E. Config.win
Ans: B
Which of the following command copies a folder including all of its subdirectories?
A. XCOPY C:\Source C:\Destination /E /I
B. XCOPY C:\Source C:\Destination /S
C. XCOPY C:\Source C:\Destination
D. COPY C:\Source\*.* C:\Destination /X
Ans: A