Design a transition diagram, Mechanical Engineering

Assignment Help:

1. Given the following grammar S à 0A0 | 1B1 | BB; A à C; B à S | A; C à S | ε, (a) (Derivation) Given a left-most and right-most derivation of a string 01001110 (b) (Parse tree) Draw the parse tree from step (a)

2. (Language to PDA) Design a PDA whose language is {ambncpdq | m + n = p + q}.

3. (a) (Language to CFG, closure property) Construct CFG for the following language L = {bi a2i | i >= 0} (b) (CFG to PDA) Design a PDA for the above grammar using a transition diagram and specifying the start/accept state(s), start symbol on the stack. (c) (PDA computation) Show the stack content, state of the PDA in each step given an input string baa

4. (Pumping lemma) Use pumping lemma to show that the following language is not context free {0i1j | i is not a multiple of j}

5. Show that the language L = {aibj |i  ≠ j) is context free.

 


Related Discussions:- Design a transition diagram

Vented causeway, Vented Causeway: Vented causeways are structures pro...

Vented Causeway: Vented causeways are structures provided with vents (usually pipes) to take care of dry weather perennial flows and which allow water to overflow the paved b

Compare solid shaft with the hollow, Compare solid shaft with the hollow: ...

Compare solid shaft with the hollow: Compare solid shaft with the hollow shaft, by strength and their weight. Sol.: ( a ) Comparison by strength: Assume that both the s

Optimal feeder geometry, PART A A new process plant for ore processing ...

PART A A new process plant for ore processing is currently being planned. The design is only in the first stage. However, three requirements have already been clearly stated:

Drum brake-types of brake , Drum Brake: The construction of drum brake is...

Drum Brake: The construction of drum brake is clearly shown in Figure 2.40. In a rotating brake drum stationary brake shoes are attached concentric to the axle hub. A back plate

RC helicopter, how to make ? what are the components needed ?

how to make ? what are the components needed ?

Flash butt welding, Flash Butt Welding This process is an extension of ...

Flash Butt Welding This process is an extension of resistance butt welding. The parts to be joined are gripped in the clamps and their interfaces are gradually brought into con

Damping, physical meaning of viscous damping

physical meaning of viscous damping

Evaluate the exit velocity, A perfect gas flows through a nozzle when it ex...

A perfect gas flows through a nozzle when it expends in a reversible adiabatic manner, the inlet conditions are 22 bar,, 500 o c, 38 m/s. At exit the pressure is 2 bar. Evaluate th

Wet saturated steam - thermodynamics, Wet saturated steam -  thermodynamic...

Wet saturated steam -  thermodynamics: we t saturated steam Wet steam is a 2-phase mixture comprising of boiling water particles and dry steam in equilibrium state. Its for

Prismatic tank, The tank can be modelled from first principles with the pro...

The tank can be modelled from first principles with the provision of certain assumptions. For the sake of simplicity, it is possible to consider the top section of the tank with p

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd