subject
Engineering, 26.10.2019 04:43 mewings

Use the general algorithm to transform the following pushdown automaton into a context-free grammar. this automaton has 4 states: the starting state s, the reading state r, the checking state c, and the final state f. the transitions are as follows: from s to r, the transition is: ε, ε → $; from r to r, the transitions are: a, ε → a; b, ε → b; from r to c, we have a jump ε, ε → ε. from c to c, the transitions are: a, a → ε b, b → ε from c to f, the only transition is: ε, $ → ε. show, step-by-step, how the resulting grammar will generate the sequence abba.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
You know the right answer?
Use the general algorithm to transform the following pushdown automaton into a context-free grammar....
Questions
question
Mathematics, 20.05.2021 18:10
question
Mathematics, 20.05.2021 18:10
question
English, 20.05.2021 18:10
question
Biology, 20.05.2021 18:20
question
Mathematics, 20.05.2021 18:20
question
Mathematics, 20.05.2021 18:20
Questions on the website: 13722367