Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lecture: Decidability 2 . Let A epsi CFG = { G | G is a CFG that generates epsi } . Show that

Lecture: Decidability
2. Let A\epsi CFG ={G| G is a CFG that generates \epsi }. Show that A\epsi CFG is decidable. (20 points)
(Hints: Create a Turing machine M, For each xL, M either accepts or rejects x)
Answer:
Lecture: Decidability
3. In the chapter of regular language, we know that the DFA is equivalent with NFA and regular expression (RE). For the problem to determine whether a given DFA and RE are the same, C ={| D is a DFA and R is a RE that L(D)= L (R)}, please prove that C is decidable. (20 points)
(Hints: Create a Turing machine M, For each xL, M either accepts or rejects x)
Answer:
Lecture: Reducibility
4. Show that EQ CFG is undecidable. (20 points)
Hint: You can directly use the result of Theorem 5.13. That is, instead of considering a reduction from ATM, you can directly consider a reduction from ALLCFG.
Lecture: Complexity
5. Answer each part TRUE or FALSE. (20 points)
a.2n = O(n).
b. n2= O(n).
c.3n =2O(n).
d.22n = O(22n ).
Please also justify each of your true/false answers using the Definition 7.2.
In more details: what is f(n), what is g(n), whether c and n0 exist so that when n>=n0 that inequation is always true.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

What do you mean by dual mode operation?

Answered: 1 week ago

Question

Explain the difference between `==` and `===` in JavaScript.

Answered: 1 week ago

Question

10. Describe the relationship between communication and power.

Answered: 1 week ago