BSC Computer Science Cs Semester 5 2022 April Theoretical Computer Science and Compiler Construction I 2019 Pattern
BSC Computer Science Cs Semester 5 2022 April Theoretical Computer Science and Compiler Construction I 2019 Pattern
P.T.O.
d) Write down the -closure of each state from the following FA.
L1L2
S–>aSa | bSb
S–>a |b| aa | bb
L={WCWR|W is in (0+1)*}
b) Construct a Moore machine for the language L over = {0,1} which
outputs '*' if the string contains '11' in it and outputs '#' otherwise.
[5823]-506 2