Alphabet (computer Science)

Get Alphabet Computer Science essential facts below. View Videos or join the Alphabet Computer Science discussion. Add Alphabet Computer Science to your PopFlock.com topic list for future reference or share this resource on social media.
## Notation

## Applications

## See also

## References

## Literature

This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Alphabet Computer Science

In formal language theory, a string is defined as a finite sequence of members of an underlying base set; this set is called the **alphabet** of a string or collection of strings.^{[1]}^{[2]} The members of the set are called *symbols*, and are typically thought of as representing letters, characters, or digits.^{[1]}^{[2]} For example, a common alphabet is {0,1}, the **binary alphabet**, and a binary string is a string drawn from the alphabet {0,1}. An infinite sequence of letters may be constructed from elements of an alphabet as well.

If *L* is a formal language, i.e. a (possibly infinite) set of finite-length strings, the **alphabet of L** is the set of all symbols that may occur in any string in

Given an alphabet , the set of all strings of length over the alphabet is indicated by . The set of all finite strings (regardless of their length) is indicated by the Kleene star operator as , and is also called the Kleene closure of . The notation indicates the set of all infinite sequences over the alphabet , and indicates the set of all finite or infinite sequences.

For example, using the binary alphabet {0,1}, the strings ?, 0, 1, 00, 01, 10, 11, 000, etc. are all in the Kleene closure of the alphabet (where ? represents the empty string).

Alphabets are important in the use of formal languages, automata and semiautomata. In most cases, for defining instances of automata, such as deterministic finite automata (DFAs), it is required to specify an alphabet from which the input strings for the automaton are built. In these applications, an alphabet is usually required to be a finite set, but is not otherwise restricted.

When using automata, regular expressions, or formal grammars as part of string-processing algorithms, the alphabet may be assumed to be the character set of the text to be processed by these algorithms, or a subset of allowable characters from the character set.

- ^
^{a}^{b}Aho, Alfred V.; Sethi, Ravi; Ullman, Jeffrey D. (1985).*Compilers: Principles, Techniques, and Tools*(March 1988 reprint ed.). Addison-Wesley. p. 92. ISBN 0-201-10088-6.The term

*alphabet*or*character class*denotes any finite set of symbols. - ^
^{a}^{b}Ebbinghaus, H.-D.; Flum, J.; Thomas, W. (1994).*Mathematical Logic*(2nd ed.). New York: Springer. p. 11. ISBN 0-387-94258-0.By an

*alphabet*we mean a nonempty set of*symbols*.

- John E. Hopcroft and Jeffrey D. Ullman,
*Introduction to Automata Theory, Languages, and Computation*, Addison-Wesley Publishing, Reading Massachusetts, 1979. ISBN 0-201-02988-X.

This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.

Popular Products

Music Scenes

Popular Artists