Bird
0
0

Given the folder structure:

medium📝 Analysis Q13 of 15
Intro to Computing - How Files and Folders Organize Data
Given the folder structure:
Root/
  FolderA/
    File1.txt
  FolderB/
    File2.txt

If the current folder is Root/FolderA, what file does the relative path ../FolderB/File2.txt point to?
ARoot/FolderA/File1.txt
BRoot/File2.txt
CRoot/FolderA/FolderB/File2.txt
DRoot/FolderB/File2.txt
Step-by-Step Solution
Solution:
  1. Step 1: Understand relative path with '..'

    '..' means move up one folder from current folder Root/FolderA to Root.
  2. Step 2: Follow the rest of the path

    From Root, go into FolderB, then File2.txt, so full path is Root/FolderB/File2.txt.
  3. Final Answer:

    Root/FolderB/File2.txt -> Option D
  4. Quick Check:

    Relative path '..' moves up one folder [OK]
Quick Trick: Use '..' to go up one folder in relative paths [OK]
Common Mistakes:
  • Not moving up folder with '..'
  • Assuming relative path starts from root
  • Confusing folder names in path

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Intro to Computing Quizzes