Operating System Test Questions

07/20/2001


MS/DOS Commands

Carefully choose the "most correct" answer, if there appears to be more than one !

* To change a file to be write-protected, as a read-only file, you would incorporate the command

  1. FILES
  2. ATTRIBUTE
  3. MKDIR
  4. MSCDEX

* To allow faster access to a floppy disk, by automatically keeping disk info in memory, you would use

  1. FASTOPEN
  2. DRIVPARM
  3. DOSKEY
  4. CHKDSK

* To allow changing the label of a logical drive, you would use

  1. CHOICE =
  2. DEVICE =
  3. LASTDRIVE =
  4. LABEL =

* The interpretation of keyboard requests for the loading and running of DEBUG,  or any other file, is dependent on the presence of :

  1. COMMAND
  2. FASTOPEN
  3. VERIFY
  4. SCANDISK

* Transfer of the "Console" to one of the serial I/O Ports, would be accomplished by the command

  1. NUMLOCK
  2. FASTOPEN
  3. CTTY
  4. TYPE

* The proper way to re-concatenate clusters on a hard disk, would be by the proper use of the command

  1. PATH
  2. DEFRAG
  3. FCBS
  4. DRIVPARM

* As a System is being constructed during boot-up, this block of information would be the source:

  1. AUTOEXEC.BAT
  2. CONFIG.SYS
  3. DOSSHELL
  4. PATH & PROMPT

* The command "ECHO ON", when used in it's normal environment, would

  1. Cause each keyboard typed character to be "echoed" on the CRT, as it is typed in
  2. "Echo" errors to the computer operator if and when they occur
  3. Turn back on the "echoing" of commands, as they occur in AUTOEXEC.BAT
  4. "Echo" CHOICE's as they are encountered

* "DATE" and "TIME"

  1. May be used directly by an operator to tag the "Date" onto a file for "Time-Date-Stamp"
  2. May be used directly to select when to "PROMPT" an activity
  3. Is only used to show on the screen, as an indicator
  4. Is simply to set a usable source for "Time-Date-Stamp" of an activity

* When installing software controls for specific hardware, you would use for that hardware

  1. SETVER=
  2. ASSIGN=
  3. DEVICE=
  4. CTTY=

* To copy all the files from a 1.2Mb floppy disk to a 1.44 Mb floppy disk you should simply use

  1. DISKCOPY
  2. SCANDISK
  3. VDISK
  4. XCOPY

* To eliminate an empty sub-directory from a drive, it would be proper to use the command

  1. DELETE
  2. RMDIR
  3. FCBS
  4. FDISK

* To eliminate the contents of a sub-directory, you could use the command

  1. DEL
  2. MSCDEX
  3. FILES
  4. RMDIR

* To compare all the files of a 1.2Mb floppy disk to those of a 1.44Mb floppy disk, with a single command

  1. There are no current MS/DOS file provisions to do so as all at once
  2. You would use the command "SCANDISK"
  3. You would use the command "VERIFY"
  4. You would use the command "COMPARE"

* To compare all the data files and arrangement of one 1.4Mb floppy disk against another, you would use

  1. DISKCOMP
  2. SCANDISK
  3. VERIFY
  4. VDISK

* To determine the size of the files on a disk drive, you would use the command

  1. STACKS
  2. FCBS
  3. VOLUME
  4. DIR

* The command "EXE2BIN"

  1. Would be used to convert a .EXE file to a .COM file
  2. Is not a legitimate command
  3. Should only be used with the "RESTORE" command
  4. Is a parameter of the "DRIVPARM" command

* Copying all the files from one 1.2Mb disk to another 1.2Mb disk could be done by the command

  1. FC
  2. FILES
  3. DISKCOPY
  4. FDISK

* To allow a printer to print properly the bit-mapped image on an IBM (or Clone) monitor display, you would need to invoke the command

  1. DRIVEPARM
  2. GRAFTABL
  3. GRAPHICS
  4. MODE

* The need for invoking "LASTDRIVE" is

  1. Any time that more than Drive "E:" is required
  2. Any time that more than Drive "C:" is required
  3. In association with "DRIVPARM" in CONFIG.SYS
  4. Only when "VDISK" is assigned in CONFIG.SYS

* The command associated with the establishing of drivers in high memory is the command

  1. LOADHIGH
  2. MOVE
  3. MEM
  4. STACKS

* The use of the command "RESTORE" is to

  1. Allow recovery of a damaged file
  2. Allow recovery of a file from a "BACKUP" disk or tape
  3. Allows the restoring of the "PATH" or "PROMPT"
  4. Allows the operator to "UNDELETE" a file

* The command "MODE" can be used to

  1. Set the System to allow 132 columns of printing on the parallel port
  2. Set the keyboard repeat rate or delay
  3. Determine the Baud Rate of a Serial COM Port
  4. All of the above

* The command "MOVE C:\TEMP\*.* E:\NEW " will move

  1. Only the files of a the sub-directory C:\TEMP to the sub-directory E:\NEW, but not removing the TEMP sub-directory label.
  2. The files from the sub-directory C:\TEMP to the subdirectory E:\NEW,
  3. and removes both the indication of the sub-directory label as well as the files.

* The command "VOL" refers to the

  1. Capacity of a disk 3. Size of the files on a disk
  2. The label assigned to that disk 4. Number of "STACKS" assigned

* The command "XCOPY"

  1. Allows more files to be transfered from one sub-directory to another than "COPY"
  2. Does the same thing as "COPY", without the sub-directory switch invoked
  3. Allows sub-directories (labels and content) to be copied, as well as files
  4. Both answers #2 & #3 are correct

* In order to be able to organize a large capacity hard drive into multiple partitions, you would use

  1. FDISK
  2. DRIVEPARM
  3. FCBS
  4. VDISK

* To transfer an operating MS/DOS system to a disk, you would use the command

  1. DOSSHELL
  2. VDISK.SYS
  3. DOS =
  4. SYS

* The reason for using sub-directories on a hard disk is

  1. To avoid cluttering up a Root directory
  2. To allow a certain degree of disk organization
  3. To prevent conflict between file usages of the same file names, that have different data
  4. Any, or all 3, of the above choices.

* To return to a "Shell" activity from DOS, you would use the command

  1. EXIT
  2. FIND
  3. DOSSHELL
  4. FASTOPEN

* To convert an "executable-type" file to a "command-type" file, you would use

  1. EXE2COM
  2. FILES
  3. MSCDEX
  4. EXE2BIN

* To cause "Extended-Memory" to appear as "Expanded-Memory", CONFIG.SYS would have

  1. DEVICE = EMM386
  2. EXE2BIN
  3. DEVICEHIGH
  4. DEVICE = HIMEM

* To allow call-back of the previous command-line keyboard inputs by cursor keys, you would invoke

  1. PROMPT
  2. DOSKEY
  3. FCBS
  4. STACKS

* To cause the loading of a "Driver" in CONFIG.SYS to load above conventional memory, you would

  1. RAMDRIVE.SYS
  2. EMM386
  3. DEVICEHIGH
  4. DRIVEPARM

* To cause a table of DOS Version Identities to be loaded into memory, you would use

  1. EMM386
  2. STACKS
  3. VER
  4. SETVER

* To determine what the disk capacity, allocations, and characteristics are, you would use

  1. CHKDSK
  2. DRIVPARM
  3. SCANDISK
  4. VDISK

* To allow Drive-B to appear as Drive-A, you would need to initiate to the command

  1. ASSIGN
  2. SMARTDRV
  3. SET
  4. DRIVPARM

* To allow faster data response from a disk drive, by memory buffering the data, you would have done

  1. SMARTDRV
  2. DRVPARM
  3. RAMDRIVE
  4. FASTOPEN

* To allow faster data response from a disk drive, by keeping track of files & directories, you would use

  1. SMARTDRV
  2. DRVPARM
  3. RAMDRIVE
  4. FASTOPEN

* To allow a printer to print graphics from a "Print Screen" key press, would require the command

  1. GRAPHICS
  2. DRIVPARM
  3. MODE
  4. GRAFTABL

* To turn on or off data comparison, as it is written to disk, you would need to have initiated

  1. VSAFE
  2. LOADFIX
  3. VERIFY
  4. COMPARE

BATCH File Programming

* Keyboard input selections, controlled & indicated by "prompts", would use

  1. COMPARE
  2. PROMPT
  3. CHOICE
  4. FIND

* To take advantage of repetitive looping of command steps, you would need to use

  1. FOR
  2. FC
  3. PAUSE
  4. IF

* To set up for correct automatic identification of when a file was created, you would invoke

  1. FILES
  2. DATE
  3. STACKS
  4. FCBS

* To setup a "COM" port as a Printer Port, you would use the command

  1. CTTY
  2. CHOICE
  3. DEVICE
  4. MODE

* To initiate some Video card assignments, you might need to use

  1. TYPE
  2. FCBS
  3. CHOICE
  4. DEVICE

* To initiate another batch file process, and then return to the present one, you would use

  1. EXIT
  2. FASTOPEN
  3. CALL
  4. DOSSHELL

* To vector to a "Label" inside the batch process, you would use

  1. GOTO
  2. FIND
  3. CALL
  4. TREE

* To compare a command-line input-parameter to a text statement, you would use

  1. CHOICE
  2. IF
  3. COMPARE
  4. DOSKEY

* To drop the first entry of the command-line input-parameters (i.e. the %1), you would

  1. BACKUP
  2. MOVE
  3. SHIFT
  4. SORT

* To load the control parameters during AUTOEXEC.BAT for a "CD-ROM" drive, you would use

  1. MSCDEX
  2. DOSSHELL
  3. DRIVEPARM
  4. VDISK

* The "\" symbol is used as a

  1. Software Switch
  2. Path Directive
  3. Pipe Directive
  4. Re-Direction Directive

* The "|" symbol is used as a

  1. Software Switch
  2. Path Directive
  3. Pipe Directive
  4. Re-Direction Directive

* The ">" symbol is used as a

  1. Software Switch
  2. Path Directive
  3. Pipe Directive
  4. Re-Direction Directive

* The "/" symbol is used as a

  1. Software Switch
  2. Path Directive
  3. Pipe Directive
  4. Re-Direction Directive