Computer Sciences > GATE 2021 SET-2 > Regular Expressions
Which of the following regular expressions represent(s) the set of all binary numbers that are divisible by three? Assume that the string ε is divisible by three.
Correct : a; b; c
Similar Questions
Consider the following two regular expressions over the alphabet The total number of strings of length less than or equal to 5, which are neither in r nor in s,...
Let L1 be the language represented by the regular expression b*ab*(ab*ab*)* and L2 = {w ∈ (a + b)* | |w| ≤ 4}, where |w| denotes the length of string w. The num...
The length of the shortest string NOT in the language (over Σ = {a, b}) of the following regular expression is _________.(a + b)*bb(a + b)*
Total Unique Visitors
Loading......