Give the regular expressions for following language over alphabet {0, 1}. a. Set of all strings with 2nd symbol from right is 1. b. Set of all strings starting with 00 or 11 and ending with 10 or 01.
Marks: 5
Year: 2076 Final TU
(a) Strings whose second symbol from the right is 1 Let the alphabet be {0, 1}. If the second-from-right symbol is 1, the string must look like: x 1 y where y is a single symbol (0 or 1) and x ∈ {