FLAT Practice Set - 1
FLAT Practice Set - 1
FLAT Practice Set - 1
4. What is the minimum number of states in a DFA that recognizes the set of all binary
strings which contains four consecutive 1s?
a. 6
b. 5
c. 4
d. 3
5. Consider the following DFA
a.
b.
c.
d.
10. Let A and B be two sets of binary strings. A string in A when interpreted as an integer
is divisible by 2 and a string in B when interpreted as an integer is divisible by 3. Let
"." be the concatenation operation. Which of the following is false?
a. A string in A.B when interpreted as an integer is divisible by 6
b. A string in B.A when interpreted as an integer is divisible by 6
c. At least one of A.B and B.A is the set of strings which when interpreted as
integer is divisible by 6
d. There exists such A and B such that, strings in A.B and B.A when interpreted
as an integer is divisible by 6
11. What is the language of the following DFA?
a. Set of all strings s, such that s contains substrings consist of all "b", saperated
by a single "a"
b. Set of all string which does not contain substring "aa".
c. Set of all string which does not contain substring "aa" and ending with an "a".
d. None of the above.
12. Let ={0, 1} Which of the following words are in the language 2?
a.
b.
c.
d.
00
0011
0101
01