48.0k views
4 votes
Identify the root folder in the absolute path /folder1/folder2/folder3/file.

User Rueben
by
5.1k points

2 Answers

2 votes
Absolute path always start from the root folder.
folder 1 /folder 2 / folder 3 / file.
Here the path start from folder 1, which is the root folder.
Folder 2 and folder 3 are the sub-folders.



Answer: Folder 1
User LydiaHendriks
by
5.1k points
2 votes

Answer:

The folder 1 is the root folder followed by all other sub-folders, which is absolute path/folder1/folder2/folder3/file

Step-by-step explanation:

From the given question , we find the root folder

Root folder: it can be defined as the folder that is at the top of all hierarchy, folders comprising of all other folders

A path that begins from the root folder and moves down the entire folder structure is given as this path/folder1/folder2/folder3/file

Therefore the absolute path starts from the root folder,

where folder1 is the root folder, followed by the sub-folders

User Rene Pot
by
5.1k points