Crystal
Crystal
[CO01] [RBT 3]
1 Define an alphabet, a string, and a language. Provide examples to illustrate each concept M.M. :5
[CO01] [RBT 3]
2 Construct a DFA that accepts the language of all strings over the alphabet {0, 1} that end with "01". M.M. :5
[CO01] [RBT 6]
3 Design a DFA that recognizes the language of all strings over the alphabet {a, b} where the number M.M. :5
of 'a's is exactly 3.
[CO02] [RBT 3]
[CO02] [RBT 3]
[CO03] [RBT 6]
1 Construct a DFA for the language L over the alphabet {0, 1} where L consists of all strings that M.M. :5
contain the substring "101"
[CO03] [RBT 1]
2 Construct a DFA for the language L over the alphabet {0, 1} where L consists of all strings where M.M. :5
the number of 1's is even.
[CO03] [RBT 6]
3 Construct a DFA that accepts all strings over the alphabet {0, 1} that start with a '1' and end with a M.M. :5
'0'.