Python Basics: File System Operations Quiz

Interactive Quiz ⋅ 9 Questions
By Kate Finegan

In Python Basics: File System Operations, you learned how to use pathlib to work with your computer’s file system. Using files has a number of benefits when you’re working with data, offering persistence, convenience, and mobility.

In this quiz, youll test your knowledge of:

  • Creating files and directories
  • Iterating over the contents of a directory
  • Searching for files and folders using wildcards
  • Moving and deleting files and folders

Then, you can move on to other Python Basics courses.

The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

« Browse All Python Quizzes