Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Theory of Computation
Quiz 2: Formal Languages and Automata Theory: Part B
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Which of the following denotes Chomskianhiearchy?
Question 2
Multiple Choice
The concept of FSA is much used in this part of the compiler
Question 3
Multiple Choice
The following grammar G = (N, T, P, S) **spaceN = {S, A, B, C, D, E}**spaceT = {a, b, c}**spaceP : S ? aAB**spaceAB ? CD**spaceCD ? CE**spaceC ? aC**spaceC ? b**spacebE ? bc is
Question 4
Multiple Choice
The following CFG is in S ? aBB**spaceB ? bAA**spaceA ? a**spaceB ? b
Question 5
Multiple Choice
Which of the following statements is wrong?
Question 6
Multiple Choice
Context free grammar is not closed under
Question 7
Multiple Choice
Let the class of language accepted by finite state machine be L
1
and the class of languages represented by regular expressions be L
2
then
Question 8
Multiple Choice
Which of the following statement is wrong?
Question 9
Multiple Choice
Grammar that produce more than one Parse tree for same sentence is:
Question 10
Multiple Choice
The language accepted by a Push down Automata:
Question 11
Multiple Choice
The PDA is called non-deterministic PDA when there are more than one out going edges from……… state:
Question 12
Multiple Choice
Let L be a language defined over an alphabet ?,then the language of strings , defined over ?, not belonging to L denoted by LC or L. is called :
Question 13
Multiple Choice
All NonNull words of the CFL can be generated by the corresponding CFG which is in CNF i.e the grammar in CNF will generate the same language except the:
Question 14
Multiple Choice
Let L={w (0 + 1) * w has even number of 1s}, i.e. L is the set of all bit strings with even number of 1s. Which one of the regular expression below represents L?
Question 15
Multiple Choice
Consider the following Finite State Automaton The language accepted by this automaton is given by the regular expression
Question 16
Multiple Choice
Let L
1
be a recursive language. Let L
2
and L
3
be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?