flat qp


1. State the nullable variables from the following CFG.
    SABCa | bD
    ABC |b
    Bb | ε
    CĐ | ε
    Dd
2. Write the difference between Pushdown Automata and Turing
    Machine.
3. Construct a Turing Machine to accept strings formed with 0 and 1 and having substring 000.
4. Write a short notes on NP complete , NP hard problems

1. Discuss the Pumping lemma for Context Free Languages concept with example {anbncn where n>0}?

2. Construct a Turing Machine to accept the following language.
               L = { 0n1n0n | n ≥1}
3. Write a note on Modified PCP and Multi tape Turing machine.
4. Write a short notes on Chomsky hierarchy.

1. Use the following grammar :
Sà ABC | BbB
Aà aA | BaC|aaa
Bà bBb| a|D
CàCA|AC
Dà
Eliminate ε-productions.
Eliminate any unit productions in the resulting grammar.
Eliminate any useless symbols in the resulting grammar.
Convert the resulting grammar into Chomsky Normal Form
2. Write a short notes on universal Turing machine
3.Write short notes on posts corresponding problem and check the following is PCP or not
I
A
B
1
11
111
2
100
001
3
111
11

                       4. Write short notes on Chomsky hierarchy and NP complete problems?

Comments

Popular posts from this blog

Write C programs to simulate the Paging techniques of memory management

Write C programs to simulate the Two level directory File organization technique

Write C programs to simulate the Hierarchical directory File organization technique