Explore topic-wise MCQs in Computer Science.

This section includes 97 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.

1.

What type of commands are individual programs kept, as separate files on the hard disk (DOS diskette)?

A. External
B. Internal
C. Change
D. File
Answer» B. Internal
2.

While working with MS-DOS, which command is used to combine FILE1 plus 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
Answer» C. COPY FILE1+FILE2+FILE3
3.

While working with MS-DOS, which command will you use to display the version?

A. DATE Command
B. VER Command
C. DISK Command
D. FORMAT Command
Answer» C. DISK Command
4.

Which of the following represents a correct sequence for the boot process on a DOS machine?

A. AUTOEXECBAT, CONFIG.SYS
B. CONFIG.SYS, AUTOEXEC.BAT
C. AUTOEXECBAT COMMAND.COM
D. CONFIG.BAT, AUTOEXEC.BAT
Answer» C. AUTOEXECBAT COMMAND.COM
5.

Which internal DOS command clears the screen and places the DOS prompt in the upper left corner of the screen?

A. cls
B. close
C. quit
D. exit
Answer» B. close
6.

While working with MS-DOS, which command is used to compare the disk in drive A with the disk in drive B, specifying to compare only first side of each disk, and only the first 8 sectors of each track?

A. DISKCOPY A: B:/8
B. DISKCOMP A: B:/l/8
C. DISKCOMP A: B:/8
D. DISKCOMP A: B:/l
Answer» C. DISKCOMP A: B:/8
7.

When MS-DOS formats a disk, it automatically creates the main directory on your disk, which is called the _____ directory.

A. main
B. root
C. area
D. border
Answer» C. area
8.

Which best describes a fragmented hard drive?

A. The platters are bad
B. Data files are corrupted
C. Clusters of data are damaged
D. Files are not stored in consecutive clusters
Answer» E.
9.

Which command is used to display the subdirectory structure of the currently logged drive and pause the screen display after each screenful of information?

A. TREE
B. DELTREE/F
C. DIR | MORE
D. TREE | MORE
Answer» E.
10.

Which command of DOS is used to sort the file in reverse order?

A. SORT > filename
B. SORT < filename
C. SORT/R < filename
D. SORT/V < filename
Answer» D. SORT/V < filename
11.

When you create a subdirectory within a directory, the process is known as _____

A. directing
B. making
C. backing
D. nesting
Answer» E.
12.

Which command of DOS is used to compare two floppy disks?

A. DISKCOPY
B. DISKCOMP
C. DISKCOPY A: B/V
D. FORMAT A: B:
Answer» C. DISKCOPY A: B/V
13.

Which file executes commands in DOS?

A. MS-DOS.SYS
B. CONFIG.SYS
C. COMMAND.COM
D. SYSTEM.INI
Answer» D. SYSTEM.INI
14.

The autoexec.bat configuration file

A. Is run after config.sys on system boot-up
B. Contains all windows configuration files
C. Is also known as config.sys
D. Checks for system polarity
Answer» B. Contains all windows configuration files
15.

The _____ switch instructs DOS to display the directory list in a wide format.

A. /W
B. /O
C. /P
D. /B
Answer» B. /O
16.

DOS uses letters of the alphabet to designate disk drives. How many disk drives can DOS address (recognize)?

A. 4
B. 26
C. 1
D. 16
Answer» C. 1
17.

Which command is used to delete the directory and all its contents in one step?

A. DEL *.*
B. RD
C. DELTREE
D. CD
Answer» D. CD
18.

While working with MS-DOS, which command is used to sort the file in ascending order?

A. SORT filename
B. SORT < filename
C. SORT > filename
D. SORT | filename
Answer» C. SORT > filename
19.

After searching the current directory where does command.com search next?

A. C:\DOS\UTILITIES
B. Config.sys
C. Autoexec.bat
D. The Path Statement
Answer» E.
20.

Which command is used to copy all files from drive A with extension .TXT to the currently logged drive and directory?

A. COPY a: *.TXT
B. COPY *.TXT A:
C. COPY *.TXT C:
D. COPY *.TXT ALL.TXT
Answer» B. COPY *.TXT A:
21.

While working with MS-DOS, which command is used to switch to the monochrome display from color display?

A. MODE BLACK
B. MODE B/W
C. MODE MONO
D. MODE CO40
Answer» D. MODE CO40
22.

Where do you load the CD Rom drivers?

A. Autoexec.bat
B. Control Panel/Drivers
C. Into Upper memory
D. Config.sys
Answer» E.
23.

If you do not know the current time, which command will you use to display the time?

A. COPY
B. VER
C. TIME
D. FORMAT
Answer» D. FORMAT
24.

While working with MS-DOS, which command is used to display a list of deleted files that DOS can undelete?

A. UNDELETE *.*
B. UNDELETE/ALL
C. UNDELETE/LIST
D. UNDELETE
Answer» D. UNDELETE
25.

You suspect that your automatic modem dialer is not working correctly. Which of the following commands will manually dial the number 123-4567?

A. AT1234567
B. ATDT1234567
C. AT1234567DL
D. ATM 1234567
Answer» C. AT1234567DL
26.

The PATH command is usually found as part of your _____ file.

A. CONFIG.SYS
B. CONFIG.BAT
C. AUTOEXEC.SYS
D. AUTOEXEC.BAT
Answer» E.
27.

What is the order in which Command.Com searches for programs to execute?

A. EXE, COM, BAT
B. EXE, BAT, COM
C. COM, EXE, BAT
D. BAT, COM, EXE
Answer» D. BAT, COM, EXE
28.

Which combination of keys allows you to perform a warm boot?

A. Ctrl+ESC
B. Ctrl+Alt+DEL
C. Ctrl+Shift+DEL
D. Ctrl+Shift+ENTER
Answer» C. Ctrl+Shift+DEL
29.

Which of the following applies to Internal DOS commands?

A. Internal commands can be run whenever the DOS prompt is displayed
B. Internal commands are reserved for DOS-level programming
C. Internal commands can only be executed from a batch file
D. Internal commands are stored on disk separately from COMMAND.COM
Answer» B. Internal commands are reserved for DOS-level programming
30.

Which command will prevent subsequent changes to the file CBT.EXE?

A. RENAME + r CBT.EXE
B. ATTRIB + r CBT.EXE
C. COPY + r CBT.EXE
D. MODE + r CBT.EXE
Answer» C. COPY + r CBT.EXE
31.

Which command below will instruct DOS to do a "quick format".

A. FORMAT A: /QUICK
B. FORMAT A: /Q
C. FORMAT A: /QU
D. FORMAT A: /QF
Answer» C. FORMAT A: /QU
32.

While working with MS-DOS, which command is used to force DOS to recheck all clusters when reformatting a disk?

A. FORMAT/B
B. FORMAT/S
C. FORMAT/8
D. FORMAT/C
Answer» E.
33.

Which two of the following DOS commands are used to display or set the date and time of your computer's infernal clock?

A. VER
B. HOUR
C. DATE
D. DAY
Answer» D. DAY
34.

What switch would you use to view Smartdrive statistics?

A. /x
B. /e:
C. /s
D. /o:n
Answer» D. /o:n
35.

Which is LEAST likely to interfere with upgrading to a newer DOS version?

A. ROM BIOS
B. Video controller
C. Compressed drives
D. Existing backup files
Answer» C. Compressed drives
36.

While working with MS-DOS, which command is used to copy all files from the currently logged drive and directory with the extension .TXT to the drive A?

A. COPY A: *.TXT
B. COPY *.TXT A:
C. COPY *.TXT C:
D. COPY *.TXT ALL.TXT
Answer» C. COPY *.TXT C:
37.

What command can you add to the AUTOEXEC.BAT file so that your computer temporarily stops in the execution of the file before continuing?

A. Pause
B. Halt
C. Wait x.xx seconds
D. Wait until Files="x"
Answer» B. Halt
38.

Filename extensions help identify certain files. What filename extension identifies executable files?

A. INF
B. PRO
C. EXE
D. SYS
Answer» D. SYS
39.

Which of the following applies to external DOS commands?

A. External commands reside in RAM until called
B. External commands are stored on disk separately from COMMAND.COM
C. External commands must always be used with the /e switch
D. External commands can only be executed from a batch file.
Answer» C. External commands must always be used with the /e switch
40.

In DOS, which of the following keys will bypass the CONFIG.SYS and AUTOEXEC.BAT files?

A. F8
B. F5
C. F4
D. Fl
Answer» C. F4
41.

What command would you type to list all of the files in the current directory?

A. DIR
B. LIST ALL
C. SHOW
D. SHOW ME
Answer» B. LIST ALL
42.

Suppose you had an incurable computer virus and decided to wipe out all the data and partitions on your hard drive and reformat. What is the order in which you must delete the partitions?

A. Extended, Logical, Primary
B. Primary, Extended, Logical
C. Logical, Extended, Primary
D. Logical, Primary, Extended
Answer» D. Logical, Primary, Extended
43.

Match the device driver HIMEM.SYS to its operation

A. Supports (ANSI) terminal emulation
B. Manages the use of extended memory
C. Uses expanded memory on an 80386 processor
D. Supports code page switching
Answer» C. Uses expanded memory on an 80386 processor
44.

What DOS program can you run to see which serial ports are detected?

A. comdiag
B. MSD
C. command.com
D. SDET
Answer» C. command.com
45.

Batch files contain a group of MS-DOS commands that are run in successive order. What filename extension identifies batch files?

A. COM
B. BAT
C. EXE
D. SYS
Answer» C. EXE
46.

What does MSCDEX.EXE do?

A. Configures hard drives
B. it's a SCSI driver
C. BIOS setup
D. it's a CD-ROM DOS driver
Answer» E.
47.

A _____ boot is when DOS is restarted without turning off the computer.

A. warm
B. reboot
C. shutdown
D. system up
Answer» B. reboot
48.

Which DOS command allows you to compress existing disks and to create new compressed volumes?

A. DEFRAG
B. DBLSPACE
C. SCANDISK
D. MSAV
Answer» C. SCANDISK
49.

Which DOS command would allow you to redirect a printer?

A. Type
B. Capture
C. Mode
D. Print
Answer» D. Print
50.

Which command is used to suppress the prompt that asks you to confirm that you want to delete the directory?

A. DELTREE
B. DELTREE/F
C. DEL*.*
D. ERASE *.*
Answer» C. DEL*.*