Difficulty: Easy
Correct Answer: DATE and TIME
Explanation:
Introduction / Context:
Accurate system timekeeping is essential for file timestamps, backups, and logs. In MS-DOS, built-in commands allow an operator to display and modify both the date and the time without additional utilities. Knowing the correct pair prevents confusion with unrelated commands such as VER (version).
Given Data / Assumptions:
Concept / Approach:
TIME handles the system clock; DATE handles the calendar. Each command, when typed alone, displays the current value and prompts for a new one, allowing the user to press Enter to keep the existing setting or type a replacement using the expected format (regional format may vary).
Step-by-Step Solution:
Verification / Alternative check:
Run VER to confirm OS version differences; note that VER does not display time or date. Timestamps on newly created files will reflect the updated settings, serving as a practical verification.
Why Other Options Are Wrong:
a: VER reports DOS version; it does not set time.
c and d: HOUR and DAY are not valid DOS commands for clock management.
e: Not applicable because DATE and TIME are correct.
Common Pitfalls:
Entering invalid formats; forgetting to adjust both date and time; overlooking timezone implications when moving files across systems.
Final Answer:
DATE and TIME
Discussion & Comments