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
- ABPR1103: Statistics for Psychology Assignment, OUM, Malaysia A psychologist studied the number of hours a worker sleeps at night and the number of errors made in a given task
- Fine Art Thesis, APU, Malaysia What are the visual references that are suitable for portraying the expression of homeless people in Penang
- Law Assignment, OUM, Malaysia: During the classroom presentation, you were introduced to a number of examples of businesses ideas
- Socio-Emotional Development of Children Case Study, UPM, Malaysia Jayden, born on May 2021, is a 3-year-old Boy, the only child in the family, having difficulties with social skills and sharing
- BDGO4103: What are the differences between a person with extrinsic values and one with intrinsic values: Organisational Behaviour Gelagat Organisasi, Assignment, OUM, Malaysia
- MAT1830: Discrete mathematics for computer science Assignment, MUM, Malaysia The Corruption Perceptions Index uses perceptions of the general public, business people
- HTM705: Strategic Marketing for Hospitality and Tourism Essay, CU, Malaysia It is apparent that in the 21st-century marketing environments, companies are drastically altering their business
- Nile Inc is considering an investment of capital to be raised: ACCA Advanced Financial Management (AFM) Assignment, UOSG, Malaysia
- The purpose of this assignment is to examine the issues and trends in operations management: managing operations of business Assignment, UTM, Malaysia
- BEN5013: Business Plan Assignment, IUMW, Malaysia Social entrepreneurship is the process of recognizing and resourcefully pursuing opportunities to create