Program State - Finite State Machines

Finite State Machines

The output of a sequential circuit or computer program at any time is completely determined by its current inputs and current state. Since each binary memory element has only two possible states, 0 or 1, the total number of different states a circuit can assume is finite, and fixed by the number of memory elements. If there are N binary memory elements, a digital circuit can have at most 2N distinct states. The concept of state is formalized in an abstract mathematical model of computation called a finite state machine, used to design both sequential digital circuits and computer programs.

Read more about this topic:  Program State

Famous quotes containing the words finite, state and/or machines:

    Any language is necessarily a finite system applied with different degrees of creativity to an infinite variety of situations, and most of the words and phrases we use are “prefabricated” in the sense that we don’t coin new ones every time we speak.
    David Lodge (b. 1935)

    The health of the soul is something we can be no more sure of than that of the body; and though a man may seem far from the passions, yet he is in as much danger of falling into them as one in a perfect state of health of having a fit of sickness.
    François, Duc De La Rochefoucauld (1613–1680)

    If men do not keep on speaking terms with children, they cease to be men, and become merely machines for eating and for earning money.
    John Updike (b. 1932)