Files & Folders
How do computers store information?
Computers only think in terms of 1s and 0s (binary). Every bit of information on your computer is coded in binary and the your computer will translate one set of of 1s and 0s to another when displaying information on your screen.

Imagine if every essay, every image, every video you've ever taken, every app you ever installed was all smushed together in one Word document. That is how the computer do.
While the computer is cool with that, you likely are not cool with it.
Files
To make your life easier, your computer organizes data into discrete elements, called "files." Each file has the data for one thing only.
For example, even applications are files! (w o w)

How does the computer know to open the correct program for a file?
File Extensions
The file extension is the part that comes at the very end of a file name (e.g., cool-cat.jpeg).
The file extensions give a hint to the operating system (OS) to tell it what type of data is in the file. That way when you click on a picture, the OS knows which program it needs to open to show you the picture.
What do you think is going to happen if you open a file with the wrong program?
Activate Extensions
On Windows 10:
- Open File Explorer.
- At the top, click the View tab on the ribbon.
- In the Show/hide group, check the box for File name extensions.
On Windows 11:
- Open File Explorer.
- Click on the View menu in the toolbar.
- Go to Show → select File name extensions.
On Mac:
- Open Finder.
- In the menu bar at the top, click Finder → Settings.
- Go to the Advanced tab.
- Check the box Show all filename extensions.
Folders
Before computers and iPhones were a thing, we had filing cabinets filled with folders. Much like how a single folder can have many files and other folders, our computers now do the same.

To represent your computer's filesystem on assignments, there will likely be fun tree diagrams to represent the folder structure expected of your work.
Example structure
My Documents
├── English
│ ├── Assignment 1.docx
│ └── Assignment 2.docx
└── Programming
├── Assignment 1
│ ├── Instructions.pdf
│ ├── code.py
│ └── output.txt
└── Assignment 2
├── Instructions.pdf
├── code.py
└── output.csv
Here, Assignment 1 has 3 files! My Documents contains multiple course folders!
Compression
Léa only accepts one file, so we need to create a single file from a set of other files. "Zipping" is the only way we will be discussing for the purposes of this course.
Windows Advisory
DO NOT EDIT ZIP FILES IN WINDOWS - weird stuff WILL happen.
If you have double-clicked on a zip file, it will open a new window showing all the files within the zip file. This can be misleading because it looks just the same as if the files have been unzipped.
References
Bultena, Sandra. "Files & Folders." 420-SN1 Notes, John Abbott College, john-abbott-college.github.io/SN1-Notes