Exercises
Learn how computers identify and locate files through names, extensions, folders, and paths. This quiz covers absolute and relative paths, root and parent directories, path separators, filename conflicts, extension safety, wildcards, breadcrumbs, and cross-platform differences. The questions combine practical scenarios with visual folder diagrams to build skills useful for organizing, locating, and managing files.
Answer the questions below and check the explanation for each answer.
0/20 answered
Auto audio on: the next questions will be read aloud when you click Continue.
.pdf is the extension. It commonly indicates that the file uses the Portable Document Format.
For holiday.photo.jpg, the final suffix .jpg is the extension, so holiday.photo is the base name.
The diagram places budget.xlsx inside Projects, which is inside Documents. The path must preserve that hierarchy.
An absolute Windows path starts from a drive or another root location. This path begins with C:\ and gives the complete location.
From /home/lee, the photos folder is directly below the current folder, so photos/beach.png is the correct relative path.
Windows paths commonly use \, while Linux, macOS, and other Unix-like systems use /.
In a Unix-style absolute path, the initial / represents the root directory, the highest level of the file system.
Two dots, .., normally refer to the parent of the current folder, allowing a path to move up one level.
A single dot, ., represents the current folder. Two dots represent its parent.
Renaming an extension usually does not convert the stored data. The file may fail to open because its contents remain in the original image format.
A file such as invoice.pdf.exe may appear as invoice.pdf when the final extension is hidden, disguising an executable as a document.
Windows reserves the backslash as a path separator, so it cannot normally be used as an ordinary character within a filename.
.xlsx is a common spreadsheet extension. MP3 is commonly audio, while PNG is commonly an image format.
The asterisk commonly represents any sequence of characters, so *.pdf matches filenames whose final extension is .pdf.
Some file systems distinguish uppercase and lowercase names, while others do not. Portable naming practices should account for this difference.
A breadcrumb displays the hierarchy leading to the current location. Its last item normally identifies the folder being viewed.
A folder cannot normally contain two entries with an identical name under the same naming rules. The conflict must be resolved.
Exporting or saving as PDF converts the file's internal structure. Simply renaming the extension does not perform a format conversion.
A shortcut primarily points to a target path. If the target is moved or deleted, the shortcut may stop working.
From CSS, .. moves up to Website. The path then enters Images and selects logo.png, producing ../Images/logo.png.
Video Courses
recommended
Ideal for beginners
Ideal for beginners
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks