Question: Submit a PDF file with clear neat drawings and types text 1 - Give the CFG rules for the following: a ) Starts with 1

Submit a PDF file with clear neat drawings and types text
1- Give the CFG rules for the following:
a) Starts with 101
b) Has odd 1's
c)00111n02n
d)1n01100n
2- Which of the following is a Regular Language? Prove or disprove
a) LOLO where L is the complement of regular language and LO is a CFG
b) LULO where L is regular and LO is a CFG
3- Give a decision algorithm that takes a DFA M as input and decides whether:
a)M accepts all strings with even 0's and ends with 101
b)M accept strings with length bigger than 6
 Submit a PDF file with clear neat drawings and types text

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!