Encyclopedia > LIFO

  Article Content

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 stacks.

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)



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Actors Female

... Gayheart[?] (born 1972) Janet Gaynor (1906-1984) Mitzi Gaynor[?] (born 1931) Sarah Michelle Gellar (born 1977) Gina Gershon (born 1962) Estell ...