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
- FILES
- ATTRIBUTE
- MKDIR
- MSCDEX
* To allow faster access to a floppy disk, by automatically keeping disk info in memory, you would use
- FASTOPEN
- DRIVPARM
- DOSKEY
- CHKDSK
* To allow changing the label of a logical drive, you would use
- CHOICE =
- DEVICE =
- LASTDRIVE =
- LABEL =
* The interpretation of keyboard requests for the loading and running of DEBUG, or any other file, is dependent on the presence of :
- COMMAND
- FASTOPEN
- VERIFY
- SCANDISK
* Transfer of the "Console" to one of the serial I/O Ports, would be accomplished by the command
- NUMLOCK
- FASTOPEN
- CTTY
- TYPE
* The proper way to re-concatenate clusters on a hard disk, would be by the proper use of the command
- PATH
- DEFRAG
- FCBS
- DRIVPARM
* As a System is being constructed during boot-up, this block of information would be the source:
- AUTOEXEC.BAT
- CONFIG.SYS
- DOSSHELL
- PATH & PROMPT
* The command "ECHO ON", when used in it's normal environment, would
- Cause each keyboard typed character to be "echoed" on the CRT, as it is typed in
- "Echo" errors to the computer operator if and when they occur
- Turn back on the "echoing" of commands, as they occur in AUTOEXEC.BAT
- "Echo" CHOICE's as they are encountered
* "DATE" and "TIME"
- May be used directly by an operator to tag the "Date" onto a file for "Time-Date-Stamp"
- May be used directly to select when to "PROMPT" an activity
- Is only used to show on the screen, as an indicator
- 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
- SETVER=
- ASSIGN=
- DEVICE=
- CTTY=
* To copy all the files from a 1.2Mb floppy disk to a 1.44 Mb floppy disk you should simply use
- DISKCOPY
- SCANDISK
- VDISK
- XCOPY
* To eliminate an empty sub-directory from a drive, it would be proper to use the command
- DELETE
- RMDIR
- FCBS
- FDISK
* To eliminate the contents of a sub-directory, you could use the command
- DEL
- MSCDEX
- FILES
- RMDIR
* To compare all the files of a 1.2Mb floppy disk to those of a 1.44Mb floppy disk, with a single command
- There are no current MS/DOS file provisions to do so as all at once
- You would use the command "SCANDISK"
- You would use the command "VERIFY"
- 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
- DISKCOMP
- SCANDISK
- VERIFY
- VDISK
* To determine the size of the files on a disk drive, you would use the command
- STACKS
- FCBS
- VOLUME
- DIR
* The command "EXE2BIN"
- Would be used to convert a .EXE file to a .COM file
- Is not a legitimate command
- Should only be used with the "RESTORE" command
- 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
- FC
- FILES
- DISKCOPY
- 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
- DRIVEPARM
- GRAFTABL
- GRAPHICS
- MODE
* The need for invoking "LASTDRIVE" is
- Any time that more than Drive "E:" is required
- Any time that more than Drive "C:" is required
- In association with "DRIVPARM" in CONFIG.SYS
- Only when "VDISK" is assigned in CONFIG.SYS
* The command associated with the establishing of drivers in high memory is the command
- LOADHIGH
- MOVE
- MEM
- STACKS
* The use of the command "RESTORE" is to
- Allow recovery of a damaged file
- Allow recovery of a file from a "BACKUP" disk or tape
- Allows the restoring of the "PATH" or "PROMPT"
- Allows the operator to "UNDELETE" a file
* The command "MODE" can be used to
- Set the System to allow 132 columns of printing on the parallel port
- Set the keyboard repeat rate or delay
- Determine the Baud Rate of a Serial COM Port
- All of the above
* The command "MOVE C:\TEMP\*.* E:\NEW " will move
- Only the files of a the sub-directory C:\TEMP to the sub-directory E:\NEW, but not removing the TEMP sub-directory label.
- The files from the sub-directory C:\TEMP to the subdirectory E:\NEW,
- and removes both the indication of the sub-directory label as well as the files.
* The command "VOL" refers to the
- Capacity of a disk 3. Size of the files on a disk
- The label assigned to that disk 4. Number of "STACKS" assigned
* The command "XCOPY"
- Allows more files to be transfered from one sub-directory to another than "COPY"
- Does the same thing as "COPY", without the sub-directory switch invoked
- Allows sub-directories (labels and content) to be copied, as well as files
- Both answers #2 & #3 are correct
* In order to be able to organize a large capacity hard drive into multiple partitions, you would use
- FDISK
- DRIVEPARM
- FCBS
- VDISK
* To transfer an operating MS/DOS system to a disk, you would use the command
- DOSSHELL
- VDISK.SYS
- DOS =
- SYS
* The reason for using sub-directories on a hard disk is
- To avoid cluttering up a Root directory
- To allow a certain degree of disk organization
- To prevent conflict between file usages of the same file names, that have different data
- Any, or all 3, of the above choices.
* To return to a "Shell" activity from DOS, you would use the command
- EXIT
- FIND
- DOSSHELL
- FASTOPEN
* To convert an "executable-type" file to a "command-type" file, you would use
- EXE2COM
- FILES
- MSCDEX
- EXE2BIN
* To cause "Extended-Memory" to appear as "Expanded-Memory", CONFIG.SYS would have
- DEVICE = EMM386
- EXE2BIN
- DEVICEHIGH
- DEVICE = HIMEM
* To allow call-back of the previous command-line keyboard inputs by cursor keys, you would invoke
- PROMPT
- DOSKEY
- FCBS
- STACKS
* To cause the loading of a "Driver" in CONFIG.SYS to load above conventional memory, you would
- RAMDRIVE.SYS
- EMM386
- DEVICEHIGH
- DRIVEPARM
* To cause a table of DOS Version Identities to be loaded into memory, you would use
- EMM386
- STACKS
- VER
- SETVER
* To determine what the disk capacity, allocations, and characteristics are, you would use
- CHKDSK
- DRIVPARM
- SCANDISK
- VDISK
* To allow Drive-B to appear as Drive-A, you would need to initiate to the command
- ASSIGN
- SMARTDRV
- SET
- DRIVPARM
* To allow faster data response from a disk drive, by memory buffering the data, you would have done
- SMARTDRV
- DRVPARM
- RAMDRIVE
- FASTOPEN
* To allow faster data response from a disk drive, by keeping track of files & directories, you would use
- SMARTDRV
- DRVPARM
- RAMDRIVE
- FASTOPEN
* To allow a printer to print graphics from a "Print Screen" key press, would require the command
- GRAPHICS
- DRIVPARM
- MODE
- GRAFTABL
* To turn on or off data comparison, as it is written to disk, you would need to have initiated
- VSAFE
- LOADFIX
- VERIFY
- COMPARE
BATCH File Programming
* Keyboard input selections, controlled & indicated by "prompts", would use
- COMPARE
- PROMPT
- CHOICE
- FIND
* To take advantage of repetitive looping of command steps, you would need to use
- FOR
- FC
- PAUSE
- IF
* To set up for correct automatic identification of when a file was created, you would invoke
- FILES
- DATE
- STACKS
- FCBS
* To setup a "COM" port as a Printer Port, you would use the command
- CTTY
- CHOICE
- DEVICE
- MODE
* To initiate some Video card assignments, you might need to use
- TYPE
- FCBS
- CHOICE
- DEVICE
* To initiate another batch file process, and then return to the present one, you would use
- EXIT
- FASTOPEN
- CALL
- DOSSHELL
* To vector to a "Label" inside the batch process, you would use
- GOTO
- FIND
- CALL
- TREE
* To compare a command-line input-parameter to a text statement, you would use
- CHOICE
- IF
- COMPARE
- DOSKEY
* To drop the first entry of the command-line input-parameters (i.e. the %1), you would
- BACKUP
- MOVE
- SHIFT
- SORT
* To load the control parameters during AUTOEXEC.BAT for a "CD-ROM" drive, you would use
- MSCDEX
- DOSSHELL
- DRIVEPARM
- VDISK
* The "\" symbol is used as a
- Software Switch
- Path Directive
- Pipe Directive
- Re-Direction Directive
* The "|" symbol is used as a
- Software Switch
- Path Directive
- Pipe Directive
- Re-Direction Directive
* The ">" symbol is used as a
- Software Switch
- Path Directive
- Pipe Directive
- Re-Direction Directive
* The "/" symbol is used as a
- Software Switch
- Path Directive
- Pipe Directive
- Re-Direction Directive