LIFO

Stands for "Last In, First Out." LIFO is a method of processing data in which the last items entered are the first to be removed. This is the opposite of LIFO is FIFO (First In, First Out), in which items are removed in the order they have been entered.

To better understand LIFO, imagine stacking a deck of cards by placing one card on top of the other, starting from the bottom. Once the deck has been fully stacked, you begin to remove the cards, starting from the top. This process is an example of the LIFO method, because the last cards to be placed on the deck are the first ones to be removed.

The LIFO method is sometimes used by computers when extracting data from an array or data buffer. When a program needs to access the most recent information entered, it will use the LIFO method. When information needs to be retrieved in the order it was entered, the FIFO method is used.

Updated February 23, 2007 by Per C.

quizTest Your Knowledge

A smartphone's SIM card serves what purpose?

A
Providing removable storage for music, movies, and photos
0%
B
Saving biometric security data that identifies the owner
0%
C
Storing a subscriber's account information with their carrier
0%
D
Remembering credentials for Wi-Fi networks
0%
Correct! Incorrect!     View the SIM Card definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of LIFO 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.