Q6.If the difference between the expectation of the square of random variable (E[X2]) and the square of the expectation of the random variable (E[X2]) is denoted by R then
Answer : Option CExplaination / Solution: No Explaination.
Q7.The lexical analysis for a modern computer language such as Java needs the
power of which one of the following machine models in a necessary and sufficient
sense?
Answer : Option AExplaination / Solution:
Lexical Analysis is implemented by finite automata
Q9.Let P be a regular language and Q be a context free language such that Q ⊆ P.
(For example, let P be the language represented by the regular expression p*q*
and Q be {pn qn | n ∈ N}). Then which of the following is ALWAYS regular?
Answer : Option CExplaination / Solution:
Σ* − P is the complement of P so it is always regular,
since regular languages are closed under complementation