Suppose the PDA P = (Q= {go, q1}, Σ={0,1}, r={Zo, X}, &, qo, z=Zo, F={q1} ) has the following transition function: Automata theory, Assignment, UMS, Malaysia
University | Universiti Malaysia Sarawak (UMS) |
Subject | Automata theory |
1. Suppose the PDA P = (Q= {go, q1}, Σ={0,1}, r={Zo, X}, &, qo, z=Zo, F={q1} ) has the following transition function:
a. (go, 0, Zo) = {(go, XZo)}.
b. (go, 0, X)= {(go, XX)}.
c. (go, 1, X)= {(go, X)}.
d. (qo, λ, X)= {(1, 2)}.
e. &(q1, λ, X)= {(91, λ)}. f. &(q1, 1, X)= {(91, XX)}. g. (q1, 1, Zo) = {(1, 2)}.
Starting from the initial ID (go, w, Zo), show ALL the reachable ID’s and list the transition functions that are used when the input w is:
a. 01. [Hint: there are two ways]
b. 0011. [Hint: there are three ways] c. 010.
(6 marks) (19 marks) (5 marks)
Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.
5. Let C be a context-free language and R be a regular language. Let P be the PDA that recognizes C, and D be the DFA that recognizes R. If Q is the set of states of P and Q’ is the set of states of D, we can construct a PDA P’ that recognizes CR with the set of states Q x Q’. P’ will do what P does and also keep track of the states of D. It will accept a string wiff it stops a a state qe FpxFD, where Fp is the set of accept states of P and FD is the set of accept states of D. Since CR is recognized by P’, it is context free.
Let A= {w we (a, b, c)* and w contains equal numbers of a’s, b’s, and c’s}. Use the fact that CR is context free to show that A is not a context free language.
Stuck in Completing this Assignment and feeling stressed ? Take our Private Writing Services.
Get Help By Expert
Recent Solved Questions
- Alternative dispute resolution Essay, IIUM. Malaysia In Malaysia, there are two different types of mediation practices Firstly, mediation is available in the court
- Circuit Analysis Assignment, CUCST, Malaysia Each group needs to design its own circuitry to wire the electric radiators to the power supplied to the garage
- FIN30014: Financial Risk Management Case Study, SUT, Malaysia Industrial commodities in China mostly rose as the number of Covid-19 cases fell and the government began to loosen the restrictions
- TTTK2933: Object Oriented Programming Assignment, UKM, Malaysia Write a class of each object including their object constructors and appropriate identified attributes and methods
- Accounting and Business Finance Dissertation, HWU, Malaysia It should be read in conjunction with the material available on CANVAS
- Discuss briefly the pathophysiology and clinical manifestations of breast cancer: Obstetric and Gynaecology Assignment, UOM, Malaysia
- Unit 1: In your organization, what differences do you notice in recruitment in Post COVID-19 time, when you compare that with pre-COVID-19 time: Human Resource Management, Assignment WOU, Malaysia
- Managing Accounting Assignment, UiTM, Malaysia Carefeel, a manufacturing company uses a job-costing system. The company plant has a machining department
- Principle of Management Assignment, UON, Malaysia Pilih mana-mana SATU rangkaian restoran di Malaysia yang anda kenali. Bandingkan pembuatan keputusan dalam
- Fast Mawar Bhd is a company that manufactures box mowers, It had net income of $ 15 million on revenues of $ 50 million last year: Financial Management, Case Study, UTM, Malaysia