ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

LIFO

In computer science and queueing theory, LIFO (last in, first out) refers to the way items stored in a data structure are processed. The last data to be added to the structure will be the first data to be removed. LIFO mechanisms include data structures such as stackss.

A LIFO structure can be illustrated with the example of a crowded elevator. When the elevator reaches its destination, the last people to get on are typically the first to get off.

In accounting, LIFO has historically been used to approximate the value of inventory. However this method rarely reflects the underlying commercial substance (perhaps a heap of coal with shipments being added to and taken from the top might be an isolated case) and is therefore effectively outlawed under UK GAAP and IAS. It is still permitted under US GAAP and, where prices are increasing, is used by some companies to give a modest boost to profits.

See also: FIFO (First in, first out)





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "LIFO".