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

Spray up method, Spray up method In a slight variation, to suit the ne...

Spray up method In a slight variation, to suit the necessity of bigger size parts the fibre resin and rovings are fed concurrently. The fibre rovings are fed via a chopper whe

Flange assembly with bolt tensioning, Q. Flange Assembly with Bolt Tensioni...

Q. Flange Assembly with Bolt Tensioning? Measure the free length of the bolts ultrasonically. This must be done prior to applying any load to the bolt. Install bolts on the

What is the specific weight of the timber, (Buoyancy; force & moment balanc...

(Buoyancy; force & moment balance) A partially submerged, homogeneous timber is 0.15m by 0.35m in cross-section. What is the specific weight of the timber and the tension in the r

What do you mean by vibration, A body is subjected to two harmonic motions ...

A body is subjected to two harmonic motions as given below : X 1 = 15 sin (wt + 30 0 ) and X 2 = 8 cos (wt + 60 0 ). What harmonic motion should be given to the body to bring

Heat distribution in spot welding, Heat distribution in spot welding Be...

Heat distribution in spot welding Besides the resistance at the interface, there are six other resistance through which the same welding current is passed. They are: Res

Expression for moment of inertia, Drive a mathematical expression for momen...

Drive a mathematical expression for moment of Inertia of a rectangular section. A body consists of a solid hemisphere of radius 4 cm and a right circular cone of height 12 cm. t

Determine the velocity in a moving frame of reference, Determine the veloci...

Determine the velocity in a Moving Frame of Reference: As illustrated in Figure, a ship A moves with a velocity v A = 40 km/hour whereas ship B moves with a velocity of v B

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