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

Inlet and exhaust valves-basic components of engine , Inlet and Exhaust Val...

Inlet and Exhaust Valves : Valves are commonly mushroom shaped poppet type. They are provided on the cylinder for regulation of the charge coming into the cylinder (inlet valve)

Vernier caliper--measuring tools , Vernier Calipers: It is used to measure...

Vernier Calipers: It is used to measure internal as well as outer diameters of an object. There are separate jaws available for inside and outside diameter measurements. It can al

Simple bending or pure bending of beam, Q:   What is simple bending or pure...

Q:   What is simple bending or pure bending of beam?                                            Sol.: If portion of beam is subjected to the constant bending moment only and

Chemistry, What is a petroleum gas

What is a petroleum gas

Strength of Materials, Determine formula for Elongnation of body due to it'...

Determine formula for Elongnation of body due to it''s Self Weight

Define cam operated clamp, Define Cam Operated Clamp 1. The cams operat...

Define Cam Operated Clamp 1. The cams operated clamp find wide application and are fast and positive in action. 2. These should not be used where vibrations are present or w

find the machine fraction, Two machining operations, A (3 minutes per part...

Two machining operations, A (3 minutes per part) and B (10 minutes per part), are performed sequentially to manufacture a part. Machines A and B produce 5% and 6% defective items,

Approximate the tension, Approximate the tension: A copper tube 38 mm ...

Approximate the tension: A copper tube 38 mm external diameter and 35 mm internal diameter is nearly wound with a steel wire of 0.8 mm diameter. Approximate the tension at whi

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