LIFO-"last in, first out,"& FIFO-"first in, first out," are terms commonly used in inventory control,in cost accounting and in computer science.