Page 1 of 1

1. Let L = {h-a«p«y" where n, d >= 0, m, k >=1, and 2m + n <= k} a. Construct a PDA with empty stack that recognizes the

Posted: Fri May 20, 2022 12:57 pm
by answerhappygod
1 Let L H A P Y Where N D 0 M K 1 And 2m N K A Construct A Pda With Empty Stack That Recognizes The 1
1 Let L H A P Y Where N D 0 M K 1 And 2m N K A Construct A Pda With Empty Stack That Recognizes The 1 (52 KiB) Viewed 40 times
1. Let L = {h-a«p«y" where n, d >= 0, m, k >=1, and 2m + n <= k} a. Construct a PDA with empty stack that recognizes the strings of L. (20 points) b. Convert the generated empty-stack PDA into a final-state PDA using the approach studied in lectures. (15 points) c. Does the word happpy belong to L? Justify your answer with a sequence of moves of the final-state PDA, and explain its indication. (15 points) .