What does a computer's hard disk have in common with a tall oak? While it may not look like a tree on the outside, the hard disk is organized the same way. Directories of files and folders on a hard drive are organized into branches, where each directory is a branch with files and folders. Folders make up the branches, while files are the leaves. Therefore a leaf is a file within a directory on your hard drive.
Technically speaking, a leaf is a node on a tree with no child nodes. Because files cannot have child nodes like folders can, they are always leafs. When referring to a tree structure, a leaf can also be called a leaf node.
This page contains a technical definition of Leaf. It explains in computing terminology what Leaf means and is one of many technical terms in the TechTerms dictionary.
All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Leaf definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!
Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.