A) 1 and 2
B) 1 and 4
C) 2 and 3
D) 2 and 4
Correct Answer
verified
Multiple Choice
A) 08
B) 09
C) 10
D) 12
Correct Answer
verified
Multiple Choice
A) aaaabb
B) aabbbb
C) aabbab
D) abbbba
Correct Answer
verified
Multiple Choice
A) Both (P1) and (P2) are decidable
B) Neither (P1) nor (P2) are decidable
C) Only (P1) is decidable
D) Only (P2) is decidable
Correct Answer
verified
Multiple Choice
A) S ? S1 | S2 S1 ? a S1| A1 A1 ? b A1| ? S2 ? aaS2| A2 A2 ? b A2| ?
B) S ? S1 | S2 S1 ? a S1| aA1 S2 ? aaS2| A2 A1 ? b A1| ? A2 ? b A2| ?
C) S ? S1 | S2 S1 ? aaa S1| aA1 S2 ? aaS2| A2 A1 ? b A1| ? A2 ? b A2| ?
D) S ? S1 | S2 S1 ? aa S1| A1 S2 ? aaS2| A2 A1 ? bb A1| ? A2 ? bb A2| ?
Correct Answer
verified
Multiple Choice
A) (L + D) *
B) (L.D) *
C) L(L + D) *
D) L(L.D) *
Correct Answer
verified
Multiple Choice
A) 3
B) 26
C) 10
D) 21
Correct Answer
verified
Multiple Choice
A) It is not accepted by a turing machine
B) It is regular but not context free
C) It is context free but not regular
D) It is neither regular nor context free but accepted by a turing machine
Correct Answer
verified
Multiple Choice
A) regular
B) context free
C) context sensitive
D) recursive
Correct Answer
verified
Multiple Choice
A) Deterministic finite automata (DFA) and Non-Deterministic finite automata(NFA)
B) Deterministic push down automata (DPDA) and Non-deterministic pushdown automata
C) Deterministic single-tape Turing machine and Non-deterministic single-tape Turing Machine
D) Single-tape Turing machine and multi-tape Turing machine
Correct Answer
verified
Multiple Choice
A) Every context-sensitive language is recursive.
B) The set of all languages that are not recursively enumerable is countable.
C) The family of recursively enumerable languages is closed under union.
D) The families of recursively enumerable and recursive languages are closed under reversal
Correct Answer
verified
Multiple Choice
A) I and II
B) I and IV
C) II and III
D) II and IV
Correct Answer
verified
Multiple Choice
A) If a language is context free it can always be accepted by a deterministic push-down automaton
B) The union of two context free languages is context free
C) The intersection of two context free languages is context free
D) The complement of a context free language is context free
Correct Answer
verified
Multiple Choice
A) Only S1 is correct
B) Only S2 is correct
C) Both S1 and S2 are correct
D) None of S1 and S2 is correct
Correct Answer
verified
Multiple Choice
A) There is unique minimal DFA for every regular language
B) Every NFA can be converted to an equivalent PDA.
C) Complement of every context-free language is recursive.
D) Every nondeterministic PDA can be converted to an equivalent deterministic PDA.
Correct Answer
verified
Multiple Choice
A) L = O
B) L is regular but not O
C) L is context free but not regular
D) L is not context free
Correct Answer
verified
Multiple Choice
A) (a) and (b) only
B) (b) and (c) only
C) (c) and (a) only
D) (a) , (b) and (c)
Correct Answer
verified
Multiple Choice
A) ScT (S is a subset of T)
B) TcS (T is a subset of S)
C) S=T
D) SnT=Ø
Correct Answer
verified
Multiple Choice
A) L is recursively enumerable, but not recursive
B) L is recursive, but not context-free
C) L is context-free, but not regular
D) L is regular
Correct Answer
verified
Multiple Choice
A) decidable and recursively enumerable
B) undecidable but recursively enumerable
C) undecidable and not recursively enumerable
D) decidable but not recursively enumerable
Correct Answer
verified
Showing 1 - 20 of 25