Bird
Raised Fist0

Consider this command-line sequence:

medium📝 Analysis Q4 of Q15
Intro to Computing - How Files and Folders Organize Data
Consider this command-line sequence:
copy report.doc Documents/
move report.doc Archive/
delete report.doc

What is the final location of report.doc after these commands?
ADeleted from all folders
BIn the Archive folder only
CIn the Documents folder only
DIn both Documents and Archive folders
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the copy command

    The file report.doc is copied to Documents, so now it exists in both original and Documents folder.
  2. Step 2: Analyze the move command

    The original report.doc is moved to Archive, so it no longer exists in the original location but is in Archive. A copy remains in Documents.
  3. Step 3: Analyze the delete command

    The delete command tries to remove report.doc from the current (original) folder, but it was already moved away, so the command fails or does nothing. The file remains in Documents and Archive.
  4. Final Answer:

    In both Documents and Archive folders -> Option D
  5. Quick Check:

    Copy + Move original + Delete missing = Files in Documents & Archive [OK]
Quick Trick: Copy duplicates, move transfers original away, delete finds nothing [OK]
Common Mistakes:
MISTAKES
  • Assuming delete removes all copies
  • Thinking move keeps original file
  • Ignoring order of commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Intro to Computing Quizzes