More Questions from Disk Operating System (DOS)

FORMAT command parameters: In MS-DOS, which parameter lets you specify the target disk's capacity explicitly when formatting (for example, 1.44 MB on a 3.5-inch floppy)?

Computer Science Disk Operating System (DOS) Difficulty: Easy
Choose an option
  • A
    FORMAT /F:size
  • B
    FORMAT /N:sectors
  • C
    FORMAT /T:tracks
  • D
    FORMAT /V
  • E
    None of the above

Answer

Correct Answer: FORMAT /F:size

Explanation

Introduction / Context:The FORMAT utility prepares a disk for use by creating the file system structures. Several switches allow the user to tailor capacity and labeling, especially when formatting floppy disks of varying sizes or densities.

Given Data / Assumptions:

  • You are formatting removable media such as a floppy disk.
  • You want to specify an overall capacity (e.g., 1.44M, 720K).
  • Alternative switches set low-level geometry details or volume labels.

Concept / Approach:FORMAT /F:size sets the capacity directly (e.g., /F:1440 or /F:1.44) depending on DOS version syntax. /N and /T specify sectors-per-track and number of tracks (low-level geometry). /V assigns a volume label. Therefore, if the goal is to declare the disk size in one parameter, /F is appropriate.

Step-by-Step Solution:

Identify the goal: specify capacity succinctly.Match goal to parameter: use /F:size.Avoid geometry-specific switches unless needed; /N and /T are more granular.

Verification / Alternative check:Run “FORMAT /?” to view supported parameters for your DOS version; observe examples showing /F values for common capacities.

Why Other Options Are Wrong:/N, /T: control sectors/track and tracks; they do not directly express total capacity. /V: only sets volume label. None: incorrect because /F exists for capacity selection.

Common Pitfalls:Using /N and /T without matching media; mis-typing size units in older DOS variants; accidentally formatting the wrong drive letter.

Final Answer:FORMAT /F:size

Discussion & Comments
No comments yet. Be the first to comment!
Join Discussion