20 votes
1 answer
58922
Draw all binary trees having exactly three nodes labeled $A, B$ and $C$ on which preorder traversal gives the sequence $C, B, A$.
28 votes
5 answers
58923
Obtain the eigen values of the matrix$$A=\begin {bmatrix} 1 & 2 & 34 & 49 \\ 0 & 2 & 43 & 94 \\ 0 & 0 & -2 & 104 \\ 0 & 0 & 0 & -1 \end{bmatrix}$$
55 votes
6 answers
58926
From the following instance of a relation schema $R(A,B,C)$, we can conclude that:$$\begin{array}{|l|l|}\hline \textbf{A} & \textbf{B} & \textbf{C} \\\hline \text{1} & \...
28 votes
4 answers
58931
28 votes
6 answers
58932
To evaluate an expression without any embedded function callsOne stack is enoughTwo stacks are neededAs many stacks as the height of the expression tree are neededA Turin...
35 votes
3 answers
58933
The C language is:A context free languageA context sensitive languageA regular languageParsable fully only by a Turing machine
31 votes
6 answers
58934
The binary relation $S= \phi \text{(empty set)}$ on a set $A = \left \{ 1,2,3 \right \}$ is Neither reflexive nor symmetricSymmetric and reflexiveTransitive and reflexive...
22 votes
5 answers
58935
Four fair coins are tossed simultaneously. The probability that at least one head and one tail turn up is$\frac{1}{16}$$\frac{1}{8}$$\frac{7}{8}$$\frac{15}{16}$
0 votes
1 answer
58936
The Newton-Raphson iteration $X_{n+1} = (\frac{X_n}{2}) + \frac{3}{(2X_n)}$ can be used to solve the equation$X^2 =3$$X^3 =3$$X^2 =2$$X^3 =2$
26 votes
3 answers
58938
47 votes
7 answers
58940
The running time of the following algorithmProcedure $A(n)$If $n \leqslant 2$ return ($1$) else return $(A( \lceil \sqrt{n} \rceil))$;is best described by$O(n)$$O(\log ...