FLA Imp Mcqa
FLA Imp Mcqa
a) True
b) False
c) May be true
d) None of the mentioned
Answer:a
17.Regular grammar is
a) context free grammar
b) non context free grammar
c) english grammar
d) none of the mentioned
Answer : a
18. Let the class of language accepted by finite state machine be L1 and the class of languages
represented by regular expressions be L2 then
a) L1<l2
b) L1>=L2
c) L1 U L2 = .*
d) L1=L2
Answer : d
19.Regular expressions are closed under
a) Union
b) Intersection
c) Kleen star
d) All of the mentioned
Answer : d
20. The set of all strings over ∑ = {a,b} in which all strings of a’s and b’s ending in bb is
a) ab
b) a*bbb
c) (a+b)* bb
d) All of these Answer: c)
22 A context free grammar G is in Chomsky normal form if every production is of the form
a) A → BC or A → A
b) A → BC or A → a
c) A → BCa or B → b
d) None of these Answer: b)
27. While converting the context free grammar into Greibach normal form, which of the following is not
necessary
a) Elimination of null production
b) Elimination of unit production
c) Converting given grammar in Chomsky normal form
d) None of these Answer: d)
32. A context free grammar G is in Chomsky normal form if every production is of the form
a) A → BC or A → A
b) A → BC or A → a
c) A → BCa or B → b
d) None of these Answer: b)
37. While converting the context free grammar into Greibach normal form, which of the following is not
necessary
a) Elimination of null production
b) Elimination of unit production
c) Converting given grammar in Chomsky normal form
d) None of these Answer: d)
41. A regular language over an alphabet ∑ is one that cannot be obtained from the basic
languages using the operation
a. Union
b. Concatenation
c. Kleene*
d. All of the mentioned
42. The number of elements in the set for the Language L={xϵ(∑r) *|length if x is at most 2}
and ∑={0,1} is _
a. 7
b. 6
c. 8
d. 5
43. Given: ∑= {a, b} L= {xϵ∑*|x is a string combination} ∑4 represents which among the
following
a. {aa, ab, ba, bb}
b. {aaaa, abab, ε, abaa, aabb}
c. {aaa, aab, aba, bbb}
d. {ε}
46. Which of the following is not an example of finite state machine system?
a. Control Mechanism of an elevator
b. Combinational Locks
c. Traffic Lights
d. Digital Watches
49. The total number of states to build the given language using DFA: L=
{w | w has exactly 2 a’s and at least 2 b’s}
a. 10
b. 11
c. 12
d. 13
a) (0+1)*001(0+1)*
b) 1*001(0+1)*
c) (01)*(0+0+1)(01)*
d) (0+1)*
52. Which among the following cannot be accepted by a regular grammar?
a) L is a set of numbers divisible by 2
b) L is a set of binary complement
c) L is a set of string with odd number of 0
d) L is a set of 0n1n
53. Consider the languages L1 = φ and L2 = {1}. Which one of the following
represents L*1∪ L*1 L*2?
(A) {∈} (B)
{∈, 1}
(C) φ
(D) 1*
54. The non- Kleene Star operation accepts the following string of finite length over set
A = {0,1} | where string s contains even number of 0 and 1
a) 01,0011,010101
b) 0011,11001100
c) ε,0011,11001100
d) ε,0011,11001100
58. Fill in the blank in terms of p, where p is the maximum string length in L.
Statement: Finite languages trivially satisfy the pumping lemma by having n =
a. p*1
b. p+1
c. p-1
d. p
59. Predict the analogous operation for the given language: A: {[p, q] | p
ϵ A1, q does not belong to A2}
a. A1-A2
b. A2-A1
c. A1.A2
d. A1+A2
60. e-transitions are
a. conditional
b. unconditional
c. input dependent
d. independent