Exam 2: Formal Languages and Automata Theory: Part B
Exam 1: Formal Languages and Automata Theory: Part A50 Questions
Exam 2: Formal Languages and Automata Theory: Part B50 Questions
Exam 3: Computational Theory : Grammar, Language, and Complexity25 Questions
Exam 4: Omputer Science and Theory of Computation25 Questions
Exam 5: Automata and Turing Machines23 Questions
Select questions type
Following syntax-directed translation scheme is used with a shift reduction (bottom up) parser that perform the action in braces immediately after a reduction by the corresponding production
A ->aB {print "(1)" A -> c {print "1"),
B ->Ab {print *2"}.
When parser is aaacbbb, then string printed
(Multiple Choice)
4.8/5
(39)
Let the class of language accepted by finite state machine be L1 and the class of languages represented by regular expressions be L2 then
(Multiple Choice)
5.0/5
(30)
What is the highest type number which can be applied to the following grammar?
S ->Aa, A -> Ba, B ->abc
(Multiple Choice)
4.8/5
(42)
Let L1 be a recursive language. Let L2 and L3 be languages that are recursively enumerable but not recursive. Which of the following statements is not necessarily true?
(Multiple Choice)
4.9/5
(40)
For two regular languages L1 = (a + b)* a and L2 = b (a + b ) *, the intersection of L1 and L2 is given by
(Multiple Choice)
4.7/5
(47)
The following CFG is in S ? aBB**spaceB ? bAA**spaceA ? a**spaceB ? b
(Multiple Choice)
4.9/5
(43)
Match all items in Group 1 with correct options from those given in Group 2. List I List II**spaceP. Regular Expression
1) Syntax analysis**spaceQ. Push down automata
2) Code Generation**spaceR. Dataflow analysis
3) Lexical analysis**spaceS. Register allocation
4) Code optimization
(Multiple Choice)
4.9/5
(33)
Consider the following statements
I. Recursive languages are closed under complementation
II. Recursively enumerable languages are closed under union
III. Recursively enumerable languages are closed under complementation
Which of the above statement are TRUE?
(Multiple Choice)
4.8/5
(40)
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:
(Multiple Choice)
4.7/5
(42)
Let S and T be language over ={a,b} represented by the regular expressions (a+b*)* and (a+b)*, respectively. Which of the following is true?
(Multiple Choice)
4.9/5
(41)
The PDA is called non-deterministic PDA when there are more than one out going edges from……… state:
(Multiple Choice)
5.0/5
(26)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)