21-Words and Languages - Simon Fraser University
IntWroodrudcstaionnd Languages
Discrete Mathematics Evgeny Skvortsov
Discrete Mathematics ? Words and Languages
21-
Why Strings?
Computer data is very diverse
However, before it can be processed it must be converted into
... strings
0010110101010101010100101010101010101011010101001001010101010101010101010101010101001 1100101101010101010101001010101010101010110101010010010101010101010101010101010101010
Discrete Mathematics ? Words and Languages
21-
Alphabets and Strings
An alphabet is any finite set.
Its elements are called symbols or letters
{0,1} a binary alphabet
{0,1,2,3,4,5,6,7,8,9}
{a,b,...,x,y,z}
Latin alphabet
{, , ..., , , } Cyrillic
.....
{
} the dancing men alphabet
A string over alphabet is a sequence of symbols from connected by means of juxtaposition or concatenation
0010110101010101001010
Discrete Mathematics ? Words and Languages
21-
Powers and Empty String
Strings that are obtained by concatenation of the same number of symbols are grouped into powers of the alphabet.
An induction definition:
? =
of x and y
, where xy denotes the concatenation
If = {0,1}, then ? = {00,01,10,11}
If = {a,b,c,...,z}, then ? = {act, bad, cat, den, ...}
Note that fre, aat, lkj ?
Empty string is the string containing no symbols.
is not the blank symbol, and cannot be a symbol in an alphabet
? = {}
Discrete Mathematics ? Words and Languages
21-
More Powers
If a string x is obtained by concatenation of n symbols, we say that it has length n, denoted ||x|| = n
|||| = 0
Examples:
Kleene star
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- a to z of positive words augusta county public schools
- 21 words and languages simon fraser university
- h uÂÏum uµ w ords
- pronunciation guide for english phonics international
- the alphabet jive
- pronunciation at a glance english online inc
- writing the alphabet prairie spirit school division
- the alphabet letters sounds pictures and words book
- read and write english as it sounds
Related searches
- 1000 english words and synonyms
- words and synonyms in english
- words and their synonyms pdf
- words and synonyms
- words and synonyms list
- list of words and synonyms
- words and their synonyms
- rare words and their meanings
- opinion words and phrases
- 4th grade vocabulary words and definitions
- history vocabulary words and definitions
- list of words and antonyms