0 votes 0 votes L ⊆ Ʃ*, Ʃ = {a, b} Which of the following is True? (a) L = {x | x has equal a’s and b’s} is regular (b) L = {a^n b^n | n ≥ 1} is regular (c) L = {x | x has more a’s than b’s} is regular (d) L = { a^m b^n, m,n ≥ 1} is regular Theory of Computation theory-of-computation + – Prateek kumar asked Jan 8, 2017 • edited Jan 8, 2017 by Prateek kumar Prateek kumar 341 views answer comment Share Follow See 1 comment See all 1 1 comment reply Gate Mission 1 commented Jan 8, 2017 reply Follow Share only option d is true ? 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes a) is wrong as here no of a's and b's are equal which needs comparison and counting and thus a aDFA cant be drwan for it.. b) is wrong due to the above reason. c)wrong , here no of a's > no of b's thus again counting and comparison is required and drawing dfa is not possible as dfa has finite memory. d)is true and is regular language. Arnabi answered Jan 8, 2017 Arnabi comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes d) is correct answer :) reg exp :a+b+ focus _GATE answered Jan 8, 2017 focus _GATE comment Share Follow See all 0 reply Please log in or register to add a comment.