Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
FIFO is an acronym for First In, First Out. This expression describes the principle of a queue: what comes in first is handled first, what comes in next waits until the first is finished, etc. Thus it is analagous to the behaviour of persons "standing in a line" (preferred in American English) or "queue" (preferred in British English), where the persons leave the queue in the order they arrive.A priority queue is a variation on the queue which does not qualify for the name FIFO, because it is not accurately descriptive of that data structure's behavior. Queuing theory encompasses the more general concept of queue, as well as interactions between strict-FIFO queues.
The expression FIFO can be used in different context:
- For queues of people, see queue area.
- In computer science this term refers to the way data stored in a queue is processed. Each item in the queue is stored in a queue (simpliciter) data structure. The first data to be added to the queue will be the first data to be removed, then processing proceeds sequentially in the same order. This is typical behavior for a queue, but see also the LIFO and stack algorithms.
- In electronics a FIFO is a semiconductor memory in which the first data to be written is always the first data to be read. The function is available as an integrated circuit that includes address counters, control logic and SRAM. A FIFO with a clock input is called a synchronous FIFO; otherwise it is asynchronous. The device typically has outputs called flags that indicate when it is empty or full.
- In accounting, FIFO is a common method for approximating the value of inventoryAn inventory consists of a list of goods and materials held available in stock. An inventory can also be a self examination, a moral inventory. Each country has its own rules about accounting for inventory; this article concentrates on economic theory, Un. It is appropriate where there are many different batches of similar products. The method presumes that the next item to be shipped will be the oldest of that type in the warehouse. In practice, this reflects the underlying commercial substance. See also LIFO in this context.
See also
- LIFO (Last in, first out)
Read more »