theoretical CS

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

4 Terms

1
New cards

CFG to Chomsky steps

  1. new start state

  2. Eliminate all E rules

  3. Remove all unit rules

  4. Fix the rest

        (S → V1V2 | t | E

         V → V1V2 | t )

2
New cards

If A is a context free language, then there is a number p (the pumping length) where, if s E A and has at least p symbols, that is, |s| >= p, the string s can be divided into five substrings s = uvxyz satisfying the conditions…

  1. For all i >= 0 and i E Z, uv^ixy^iz E A

  2. |xy| > 0

  3. |vxy| <= p

3
New cards

o

4
New cards

o