Home : Technical Terms : Leaf Definition

Leaf

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.

Cite this definition:

https://techterms.com/definition/leaf

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definiton 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!