theory of automato prefinals

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

Regular Expressions (RE)

Shorthand notations that describe a language, representing sets of strings in an algebraic fashion; the language part of Type 3 grammar accepted by finite automata (FA) machines.

2
New cards

Regular Set

Any set represented by a regular expression.

3
New cards

Stephen Kleene

American mathematician who first proposed Regular Expressions to describe the algebra of a regular set.

4
New cards

Ken Thompson

Used Regular Expressions in the early computer text editor 'QED' and UNIX editor 'ed'.

5
New cards

Union

A basic RE operation where for two regular expressions R1 and R2, L(R1 ∪ R2) is denoted by L(R1 + R2); has the lowest precedence among basic RE operations.

6
New cards

Concatenation

A basic RE operation where for two regular expressions R1 and R2, L(R1 ∩ R2) is denoted by L(R1 · R2) or L(R1R2); has the second-highest precedence among basic RE operations.

7
New cards

Iteration/Closure

A basic RE operation denoted by L(R*) or L(R+), representing a string obtained by concatenating n elements for n >= 0 (iteration of 0 to infinity times) applied to an RE; has the highest precedence among basic RE operations.

8
New cards

Kleene's Closure

A set of all strings, including the null string (ε), obtained from the alphabets of set Σ, denoted as Σ*.

9
New cards

Arden's Theorem

A theorem expressed as R = Q + RP = QP*, used to construct a regular expression from a transitional system of finite automata.

10
New cards

Context-Free Grammar (CFG)

A Type 2 grammar according to the Chomsky hierarchy defined as G = (V, T, P, S) where all productions in P have the form A -> x (with A ∈ V and x ∈ (V ∪ T)*), and regular grammar is a subset of it.

11
New cards

Context-Free Language (CFL)

The language defined and produced by a Context-Free Grammar, consisting of the set of all strings of terminals that can be produced from the start symbol S using productions as substitutions.

12
New cards

Derivation

The process of defining strings out of a Context-Free Grammar by applying rules from the starting symbol and repeatedly replacing a variable or non-terminal by the production body.

13
New cards

Leftmost Derivation (LMD)

A derivation that only involves replacing the leftmost non-terminal by some production rule at each step of the language-generating process.

14
New cards

Rightmost Derivation (RMD)

A derivation that only involves replacing the rightmost non-terminal by some production rule at each step of the language-generating process.

15
New cards

Parse Tree (Derivation Tree)

An ordered tree illustration representing the derivation of a context-free language from a given grammar, where the LHS of a production is the parent node and the RHS is the children nodes.

16
New cards

Yield

The resulting terminal string derived from the root variable when the leaves of a parse tree are concatenated from the left.

17
New cards

Sentential Form

The string formed when elements are concatenated at any intermediate step during a derivation.