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.

Updated in 2006 by Per C.

quizTest Your Knowledge

What does it mean to concatenate two text strings?

A
To join them together
0%
B
To compare their length
0%
C
To identify common characters
0%
D
To determine whether they are identical
0%
Correct! Incorrect!     View the Concatenation definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Leaf on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.