Explore topic-wise MCQs in Computer Science.

This section includes 181 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.

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

A. ER
B. OUR
C. ATE
D. AY
E. one of the above
Answer» D. AY
2.

To display the list of all the file of the disk you would type

A. IR
B. OPY
C. IR FILES
D. IR AUTOEXEC.BAT
Answer» B. OPY
3.

The batch file uses the extension

A. BAT
B. DOC
C. PRG
D. DOS
Answer» B. DOC
4.

DOS system file consists of

A. BMBIO.COM, IBMDOS.COM, COMMAND.COM
B. OMMAND.COM, IBMBIO.COM, FORMAT.COM
C. YS.COM,IBMBIO.COM,IBMDOS.COM
D. one of the above
Answer» B. OMMAND.COM, IBMBIO.COM, FORMAT.COM
5.

4. Which of the following could be a valid DOSfilespecification?

A. OSFILE.POST
B. OSFILE.P.OST
C. OSFILE.DOC
D. OST.FILEDOC
Answer» C. OSFILE.DOC
6.

Which of the following operating does not implement multitasking truly?

A. indows 98
B. indows NT
C. indows XP
D. S DOS
Answer» E.
7.

While working with which command is used to copy all files from the currently logged drive and directory with the extension .txt to the drive a

A. opy a. *.txt
B. opy *.txt a:
C. opy *.txt c:
D. opy *.txt all.txt
Answer» C. opy *.txt c:
8.

While working with MS-DOS which command is used to copy all files with extension .txt into one file named all.txt?

A. opy a: *.txt
B. opy *.txt a:
C. opy *.txt c:
D. opy *.txt all.txt
Answer» E.
9.

While working with MS-DOS which command is used to combine file1 plus file2 into new file named file3?

A. opy file3 file1+file2
B. opy file1+file2 file3
C. opy file1+file2+file3
D. opy file2 file1+file3
Answer» C. opy file1+file2+file3
10.

While working with MS-DOS which command is used to change the extension of all filenames ending with .txt to .doc?

A. en *.doc *.txt
B. en *.txt *.doc
C. en file.doc file.txt
D. en a: *.doc *.txt
Answer» C. en file.doc file.txt
11.

Which is the valid filename assign in MS-DOS?

A. am*.txt
B. am?.doc
C. am_$.txt
D. one of above
Answer» D. one of above
12.

Which file in MSDOS contain internal command that are loaded during booting process?

A. o.sys
B. sdos.sys
C. ommand.com
D. onfig.sys
Answer» D. onfig.sys
13.

Which command is used to undelete delete a bunch of files with extension doc that you have just deleted

A. ndelete
B. ndelete *.doc
C. ndelete/all
D. ll of the above
Answer» C. ndelete/all
14.

Which switch should be used in the DIR command to view files in all directories?

A. p
B. w
C. s
D. l
Answer» D. l
15.

Which of the following statements is true in regard to diskcopy?

A. opy and discopy are same
B. iscopy is a built in command in dos
C. iskcopy can be used on hard disks
D. iskcopy can be used with a floppy and a hard disk
Answer» D. iskcopy can be used with a floppy and a hard disk
16.

Which of the following statements in regard to directories is false?

A. irectories can exist inside directories
B. he root directory is always at the highest level
C. irectories with files can be deleted
D. irectories cannot be renamed
Answer» E.
17.

Which command is used to delete all the files extension .txt on the current drive and directory?

A. el .txt
B. rase .txt
C. el *.txt
D. el *.*/p
Answer» D. el *.*/p
18.

Which command is used to create root directory and FAT on disk?

A. hkdsk
B. ommand.com
C. ormat
D. at
Answer» D. at
19.

Which command can be used to create the disk's tracks and sectors?

A. disk
B. ormat
C. hkdsk
D. ttrib
Answer» C. hkdsk
20.

What is the name of the batch file that is automatically run when MSDOS is booted?

A. un.bat
B. onfig.sys
C. onfig.bat
D. utoexec.bat
Answer» E.
21.

Which command be used to clear the screen and display the operating system prompt on the first line of thedisplay?

A. d
B. d
C. ename
D. ls
Answer» E.
22.

Which command should be used to display all files within the specified subordinate directory of the subdirectory?

A. ir \ pathname
B. ir \ pathname\pathname
C. ir / ch
D. ir \pathname\filename
Answer» C. ir / ch
23.

Which command is used to display all the files having the (.exe) extension but different filename?

A. ir filename.*
B. ir filename.ext
C. ir *.sys
D. ir *.exe
Answer» E.
24.

Which command displays comma for thousand separating on file size while listing?

A. ir/w
B. ir/s
C. ir/b
D. ir/c
Answer» E.
25.

Which command displays only file and directory names without size, date and time information?

A. ir/w
B. ir a:
C. ir /b
D. ir /s
Answer» D. ir /s
26.

Which command displays current directory name or change from one to another?

A. hdir
B. d
C. kdir
D. oth a and b
Answer» E.
27.

Which command creates a directory or subdirectory?

A. ir
B. kdir
C. d
D. oth b and c
Answer» E.
28.

Which command will be used to display a file within the specified directory of pathname?

A. ir \pathname
B. ir \pathname\pathname
C. ir/ch
D. ir \pathname\filename
Answer» E.
29.

Which command is used to see the version?

A. ersion
B. er
C. erson
D. one of above
Answer» C. erson
30.

Which command is used to see the disk volume label?

A. er
B. ol
C. ersion
D. olume
Answer» C. ersion
31.

Which command is used to see the contents of a file?

A. ype
B. opy
C. d
D. one of above
Answer» B. opy
32.

You can copy command.com to your disk from hard disk

A. rue
B. alse
Answer» B. alse
33.

Which command is used to provide access to files located in other directories or disks?

A. ree
B. ath
C. ir
D. d
Answer» C. ir
34.

Only filenames and extensions are to be displayed in wide format, which command you'll use?

A. ir/w
B. ir a:
C. ir/s
D. ir/b
Answer» B. ir a:
35.

If you need to duplicate the entire disk, which command will you use?

A. opy
B. iskcopy
C. hkdsk
D. ormat
Answer» C. hkdsk
36.

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

A. ree
B. eltree/f
C. ir | more
D. ree | more
Answer» E.
37.

Which command is used to see the sub-directory structure of drive?

A. ree
B. ist
C. ubdir
D. ubtree
Answer» B. ist
38.

Which statement is valid about "TIME" command?

A. ime command is used to display and allow changes to the system time
B. ime format can be changed by changing in country setting in config.sys file
C. S DOS displays the time in 12-hour or 24-hour format
D. ll of above
Answer» E.
39.

Which command divides the surface of the blank disk into sectors and assign a unique address to each one

A. er
B. ormat
C. at
D. hkdsk
Answer» C. at
40.

If you don't know the current time, which command will you use to display

A. opy
B. er
C. ime
D. ormat
Answer» D. ormat
41.

While working with Ms-Dos which command transfers a specific file from one disk to another?

A. opy
B. iskcopy
C. ime
D. ename
Answer» B. iskcopy
42.

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
E. None of the above
Answer» C. Compressed drives
43.

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
E. None of the above
Answer» B. Contains all windows configuration files
44.

Which two commands enable you to move between directories?%!

A. CD
B. CHDIR
C. MOVE
D. MOVE DIR
E. None of the above
Answer» B. CHDIR
45.

Which command is used to see the version?%!

A. Version
B. Ver
C. Verson
D. None of above
Answer» C. Verson
46.

Which command is used to see the disk volume label?%!

A. Ver
B. Vol
C. Version
D. Volume
Answer» C. Version
47.

Which command is used to see the contents of a file?%!

A. Type
B. Copy
C. Ed
D. None of above
Answer» B. Copy
48.

You can copy command.com to your disk from hard disk%!

A. true
B. false
Answer» B. false
49.

Which command is used to provide access to files located in other directories or disks?%!

A. Tree
B. Path
C. Dir
D. Cd
Answer» C. Dir
50.

In MS-DOS you can use small or capital letter of combination of both to enter a command but internally MS-DOS work with.%!

A. Small letter
B. Capital letter
C. Both a and b
D. None of above
Answer» C. Both a and b