Exercises

File Paths and Filename Extensions Fundamentals

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

  1. 1

    In the filename report.pdf, which part is the filename extension?

  2. 2

    In the illustrated filename, which portion is the base name?

    Question 2
  3. 3

    According to the folder tree, which path correctly locates budget.xlsx?

    Question 3
  4. 4

    Which path is absolute on a Windows computer?

  5. 5

    If the current folder is /home/lee, which relative path refers to /home/lee/photos/beach.png?

  6. 6

    Which statement correctly compares common path separators?

  7. 7

    In the illustrated Unix-style path, which symbol represents the root directory?

    Question 7
  8. 8

    What does .. normally represent in a relative path?

  9. 9

    In the diagram, the user is currently in the Reports folder. Which symbol refers to Reports itself?

    Question 9
  10. 10

    Why can changing photo.jpg to photo.txt be misleading?

  11. 11

    Why can hiding known filename extensions create a security risk?

  12. 12

    Which character is generally prohibited in a standard Windows filename because it separates folders in a path?

  13. 13

    Which visible file is most likely a spreadsheet?

    Question 13
  14. 14

    In a file search that supports common wildcards, what does *.pdf usually match?

  15. 15

    Which statement about capitalization in filenames is most accurate?

  16. 16

    The illustrated breadcrumb ends at Photos. What does this indicate?

    Question 16
  17. 17

    What normally happens if you try to create two files with exactly the same name in the same folder?

  18. 18

    What is the safest way to change a document from .docx format to .pdf format?

  19. 19

    What is a key difference between a shortcut and the original file it points to?

  20. 20

    The current folder is Projects/Website/CSS. Which relative path reaches logo.png in Projects/Website/Images?

    Question 20

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate