PREVIOUS YEAR SOLVED PAPERS MCQ - July 2016 Paper 3
According to given question, we have transtion: δ(q0, a) = (q1, a, R) δ(q1, b) = (q2, b, R) δ(q2, a) = (q2, a, R) δ(q3, b) = (q3, b, R) We can draw a DFA:
Language will be aba*b. So, option (C) is correct.
Bits required per symbol: A - 0 (1 bit) B - 10 (2 bit) C - 110 (3 bit) D - 111 (3 bit) Average number of bits per symbol = 1 * 1 / 2 + 2 * 1 / 4 + 3 * 1 / 8 + 3 * 1 / 8 = 7 / 4 = 1.75. So, option (B) is correct.
