MCQs > IT & Programming > DOS MCQs > Basic DOS MCQs

Basic DOS MCQ

1. Which of the following files would the DEL c:\windows\temp\?ast.t* command delete?


Answer

Correct Answer: last.txt

Note: This Question is unanswered, help us to find answer for this one

2. Which of the following statements about the UNDELETE command are correct?


Answer

Correct Answer: It allows you to restore files that may have been deleted

Note: This Question is unanswered, help us to find answer for this one

3. What is the correct syntax for editing the CONFIG.SYS file?


Answer

Correct Answer: edit c:\config.sys

Note: This Question is unanswered, help us to find answer for this one

4. What will be accomplished by the following DOS command

COPY myfile1.txt + myfile2.txt



Answer

Correct Answer: This command will append the contents of myfile2.txt to myfile1.txt

Note: This Question is unanswered, help us to find answer for this one

5. What will the following DOS command accomplish?

RMDIR c:\test



Answer

Correct Answer: It will remove the test directory if empty

Note: This Question is unanswered, help us to find answer for this one

6. Which device is the MSCDEX command associated with?


Answer

Correct Answer: CD-ROM

Note: This Question is unanswered, help us to find answer for this one

7. What is the APPEND command used for?


Answer

Correct Answer: It enables a user to open files in the specified directory as if they were in the current directory

Note: This Question is unanswered, help us to find answer for this one

8. 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 SET PATH=C:\WINDOWS;C:\ ?


Answer

Correct Answer: It tells the computer where to search if a command used at the prompt is not found

Note: This Question is unanswered, help us to find answer for this one

9. 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 DEVICE=C:\WINDOWS\HIMEM.SYS?



Answer

Correct Answer: It makes extended memory available for loading drivers

Note: This Question is unanswered, help us to find answer for this one

10. Which of the below attributes can be changed using the ATTRIB command?


Answer

Correct Answer: Read-only, Archived, Hidden, System

Note: This Question is unanswered, help us to find answer for this one

11. What would the following DOS command accomplish?

TYPE c:\autoexec.bat



Answer

Correct Answer: It allows the user to view the contents of the AUTOEXEC.BAT file

Note: This Question is unanswered, help us to find answer for this one

12. Which command would you use to get information about a particular disk volume?


Answer

Correct Answer: VOL

Note: This Question is unanswered, help us to find answer for this one

13. Which of the following statements about the RENAME command is correct?


Answer

Correct Answer: It permits users to change the name of a file without making a copy of it

Note: This Question is unanswered, help us to find answer for this one

14. What is the FDISK utility used for?


Answer

Correct Answer: It allows the user to delete and/or create partitions on the hard disk drive

Note: This Question is unanswered, help us to find answer for this one

15. Which of the following statements are true about the COPY command?


Answer

Correct Answer: It can be used to copy read-only files

Note: This Question is unanswered, help us to find answer for this one

16. What are the names of the 4 system files?


Answer

Correct Answer: command.com, io.sys, msdos.sys, drvspace.bin

Note: This Question is unanswered, help us to find answer for this one

17. 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?



Answer

Correct Answer: It allows DOS to load up to 30 files at the same time

Note: This Question is unanswered, help us to find answer for this one

18. DOS is an acronym for?


Answer

Correct Answer: Disk Operating System

Note: This Question is unanswered, help us to find answer for this one

19. Which command would you use to get information about any DOS commands?


Answer

Correct Answer: HELP

Note: This Question is unanswered, help us to find answer for this one

20. What is the function performed by the VERIFY command?


Answer

Correct Answer: It tells Windows whether to verify that your files are written correctly to a disk

Note: This Question is unanswered, help us to find answer for this one

21. What is accomplished by the following DOS command:

SYS a:



Answer

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

Note: This Question is unanswered, help us to find answer for this one

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


Answer

Correct Answer: REM

Note: This Question is unanswered, help us to find answer for this one

23. What is the maximum size of the PATH that can be specified in DOS?


Answer

Correct Answer: 255 bytes

Note: This Question is unanswered, help us to find answer for this one

24. What is the EXPAND command used for?


Answer

Correct Answer: Expanding compressed operating system files into their original format

Note: This Question is unanswered, help us to find answer for this one

25. Which of the following statements about the DELTREE command are correct?


Answer

Correct Answer: DELTREE is a command used to delete files and directories permanently from the computer

Note: This Question is unanswered, help us to find answer for this one

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


Answer

Correct Answer: dir /o:d /a:d

Note: This Question is unanswered, help us to find answer for this one

27. 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?



Answer

Correct Answer: It loads the CDROM driver

Note: This Question is unanswered, help us to find answer for this one

28. Which of the following command copies a folder including all of its subdirectories?

Answer

Correct Answer: XCOPY C:\Source C:\Destination /E /I

Note: This Question is unanswered, help us to find answer for this one

29. Which of the following are available in a DOS file system ?

Answer

Correct Answer: IBMBIO.COM, IBMDOS.COM, COMMAND.COM

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: Config.Nt

Note: This Question is unanswered, help us to find answer for this one

31. Which statement about Quick Format is true?

Answer

Correct Answer: Quick format does not check for bad sectors

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: FC

Note: This Question is unanswered, help us to find answer for this one

33. True or False. DOS is not a single operating system but several closely related operating systems.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

34. Which of the following is true about FASTOPEN?

Answer

Correct Answer: Decreases the amount of time needed to open frequently both used files and directories

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: F5

Note: This Question is unanswered, help us to find answer for this one

36. Which of the following operating systems does not fall under DOS?

Answer

Correct Answer: Win DOS

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: FCBS

Note: This Question is unanswered, help us to find answer for this one

38. What is the correct command to transfer a file from one disk to another?

Answer

Correct Answer: MOVE

Note: This Question is unanswered, help us to find answer for this one

39. Which of the following is NOT an external command?

Answer

Correct Answer: GOTO

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: .COM, .EXE, .BAT

Note: This Question is unanswered, help us to find answer for this one

41. What does TSR stand for?

Answer

Correct Answer: Terminate and Stay Resident

Note: This Question is unanswered, help us to find answer for this one

42. Which of the following DOS command will display the name of files in sorted order?

Answer

Correct Answer: Dir/o:n

Note: This Question is unanswered, help us to find answer for this one

43. Which of the following command is syntactically incorrect?

Answer

Correct Answer: REN c:\foo.txt d:\bar.txt

Note: This Question is unanswered, help us to find answer for this one

44. What is the command to list only the hidden files under the current directory?

Answer

Correct Answer: DIR /A:H

Note: This Question is unanswered, help us to find answer for this one

45. Which external command file is required to use “format” command?

Answer

Correct Answer: format.com

Note: This Question is unanswered, help us to find answer for this one

46. Which of the following external command load country specific information?

Answer

Correct Answer: NLSFUNC

Note: This Question is unanswered, help us to find answer for this one

47. Which of the following command continuously monitors the computer for viruses?

Answer

Correct Answer: VSAFE

Note: This Question is unanswered, help us to find answer for this one

48. Which of the following command will display the list of all previous commands entered by the user?

Answer

Correct Answer: DOSKEY

Note: This Question is unanswered, help us to find answer for this one

49. The PATH command is typically found in which file?

Answer

Correct Answer: AUTOEXEC.BAT

Note: This Question is unanswered, help us to find answer for this one

50. What is the attribute that’ll suppress prompting in the MOVE command

Answer

Correct Answer: /Y

Note: This Question is unanswered, help us to find answer for this one

51. Which of the following is NOT an internal command?

Answer

Correct Answer: APPEND

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: DEVICEHIGH

Note: This Question is unanswered, help us to find answer for this one

53. Which of the following will create a bootable floppy disk?

Answer

Correct Answer: All three commands will create a bootable floppy disk

Note: This Question is unanswered, help us to find answer for this one

54. Which command is used to set the name to a disk in DOS?

Answer

Correct Answer: LABEL

Note: This Question is unanswered, help us to find answer for this one

55. In XCOPY command, What is the arguiment used for avoiding prompt for overwrite ?

Answer

Correct Answer: /Y

Note: This Question is unanswered, help us to find answer for this one

56. Which of the following command will delete a file?

Answer

Correct Answer: All three commands can delete a file

Note: This Question is unanswered, help us to find answer for this one

57. Which of the following command will delete a directory?

Answer

Correct Answer: RMDIR

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: dir ?tst*

Note: This Question is unanswered, help us to find answer for this one

59. What does formatting a disk mean?

Answer

Correct Answer: Build/rebuild tracks, sectors

Note: This Question is unanswered, help us to find answer for this one

60. What is the size limitation of MS-DOS file name and extension?

Answer

Correct Answer: 8 and 3

Note: This Question is unanswered, help us to find answer for this one

61. RESTORE command is used for which of the following?

Answer

Correct Answer: Restore files from disks made using the BACKUP command

Note: This Question is unanswered, help us to find answer for this one

62. Which command do you use to display the contents of a file?

Answer

Correct Answer: type

Note: This Question is unanswered, help us to find answer for this one

63. 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)?

Answer

Correct Answer: copy A:*.* c:data

Note: This Question is unanswered, help us to find answer for this one

64. Which of the following is true about external command MSD?

Answer

Correct Answer: Provides detailed technical information about the computer

Note: This Question is unanswered, help us to find answer for this one

65. Which of the following is not a DOS executable extension?

Answer

Correct Answer: SYS

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: SHARE

Note: This Question is unanswered, help us to find answer for this one

67. Which file contains configuration files for the DOS operating system?

Answer

Correct Answer: CONFIG.SYS

Note: This Question is unanswered, help us to find answer for this one

68. Which of the following is true about DOSKEY?

Answer

Correct Answer: All of the given options are valid

Note: This Question is unanswered, help us to find answer for this one

69. What is the command that will change to the root directory irrespective of the current directory?

Answer

Correct Answer: CD\

Note: This Question is unanswered, help us to find answer for this one

70. Which statement about COMMAND.COM is true?

Answer

Correct Answer: All three statements are true

Note: This Question is unanswered, help us to find answer for this one

71. True or False? DOS uses the 8.3 filename convention.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

72. The COPY command:

Answer

Correct Answer: copies one or more files to another location

Note: This Question is unanswered, help us to find answer for this one

73. Which DOS command will combine file1 and file2 into new file named file3?

Answer

Correct Answer: Copy file1+file2 file3

Note: This Question is unanswered, help us to find answer for this one

74. Which command is used to display the disk volume label?

Answer

Correct Answer: Vol

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: dir s*

Note: This Question is unanswered, help us to find answer for this one

76. Which statement about TSR is true?

Answer

Correct Answer: All three statements are true

Note: This Question is unanswered, help us to find answer for this one

77. What type of OS is MSDOS?

Answer

Correct Answer: Single user, CUI

Note: This Question is unanswered, help us to find answer for this one

78. Which statement about AUTOEXEC.BAT is true?

Answer

Correct Answer: All three statements are true

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: COPY *.TXT D:

Note: This Question is unanswered, help us to find answer for this one

80. What DOS command formats a floppy disk and copies system files to the formatted disk?

Answer

Correct Answer: FORMAT A: /S

Note: This Question is unanswered, help us to find answer for this one

81. What is the command to clear the screen?

Answer

Correct Answer: CLS

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: dir/s

Note: This Question is unanswered, help us to find answer for this one

83. Which of the following is a key advantage of using batch files?

Answer

Correct Answer: All of the given options are true

Note: This Question is unanswered, help us to find answer for this one

84. What are the keys pressed to perform a warm reboot on a DOS operating system?

Answer

Correct Answer: Ctrl + Alt + Del

Note: This Question is unanswered, help us to find answer for this one

85. Which file contains commands that configure systems devices?

Answer

Correct Answer: Config.sys

Note: This Question is unanswered, help us to find answer for this one

86. What action does the MODE command perform?

Answer

Correct Answer: ALL three actions are performed by the MODE command

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: DELTREE

Note: This Question is unanswered, help us to find answer for this one

88. What is the command to list all files in the current directory?

Answer

Correct Answer: DIR

Note: This Question is unanswered, help us to find answer for this one

89. What is the function of “Ctrl+C” in DOS?

Answer

Correct Answer: Breaks execution of command

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

91. What is the command to create a new directory in MS-DOS?

Answer

Correct Answer: MD

Note: This Question is unanswered, help us to find answer for this one

92. What is DOS?

Answer

Correct Answer: an operating system

Note: This Question is unanswered, help us to find answer for this one

93. What is the full form of DOS?

Answer

Correct Answer: Disk Operating System

Note: This Question is unanswered, help us to find answer for this one

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

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

95. What interface does DOS utilize?

Answer

Correct Answer: command-line interface

Note: This Question is unanswered, help us to find answer for this one

96. True or False? DOS is a multitasking operating system.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

97. What happens when you type “CD” and press “Enter” key?

Answer

Correct Answer: Displays current directory

Note: This Question is unanswered, help us to find answer for this one