(A) Davey John Lockers
(B) Dead States
(C) Waste Baskets
(D) All of the given options
(a* + b*)* = (a + b)* this expression is __.
(A) True
(B) False
(C) NA
(D) NA
The structure given below is called __ S -> aA|bB A -> aS|a B -> bS|b.
(A) RE
(B) TG
(C) CFG
(D) PDA
If a CFG has only productions of the form nonterminal -> string of two nonterminals or nonterminal -> one terminal then the CFG is said to be in __.
(A) PDA form
(B) Chomsky Normal Form (CNF)
(C) NULL able form
(D) Unit production form
Consider the following CFG: (NOTE: ^ means NULL) S->a|Xb|aYa X->Y|^ Y->b|X Which Nonterminal(s) is/are NOT nullable?
(A) S
(B) X
(C) Y
(D) S,X and Y
Consider the code below, class class1{ private: int i; }; class class2 : protected class1 { }; Then int member I of class1 is __ in class2,?
(A) Public
(B) Private
(C) Protected
(D) none of the given options
Outside world can access only __ members of a class using its object.
(A) Public
(B) Private
(C) Protected
(D) No member is accessible
Destructor can be overloaded:
(A) True
(B) False
(C) NA
(D) NA