22 votes
3 answers
91
Obtain the principal (canonical) conjunctive normal form of the propositional formula $$(p \wedge q) \vee (\neg q \wedge r)$$ where $\wedge$ is logical and, $\vee$ is inc...
18 votes
2 answers
92
Consider the following sequence of numbers:$$92, 37, 52, 12, 11, 25$$ Use Bubble sort to arrange the sequence in ascending order. Give the sequence at the end of each of ...
0 votes
0 answers
94
23 votes
4 answers
95
Translate the arithmetic expression $a^\ast -(b+c)$ into syntax tree.A grammar is said to have cycles if it is the case that $A \overset{+}{\Rightarrow} A$ Show that no g...
6 votes
2 answers
97
23 votes
2 answers
101
26 votes
5 answers
102
41 votes
5 answers
103
A finite state machine with the following state table has a single input $x$ and a single out $z$.$$\begin{array}{|c|ll|}\hline\textbf{present state} & \qquad \textbf{nex...
49 votes
7 answers
105
The postfix expression for the infix expression $A+B*(C+D)/F+D*E$ is:$AB + CD + *F/D +E*$$ABCD + *F/DE* ++$$A * B + CD/F *DE ++$$A + *BCD/F* DE ++$
32 votes
8 answers
106
Which of the following definitions below generate the same language as $L$, where $L=\{x^ny^n \text{ such that } n\geq 1 \}$?$E \rightarrow xEy\mid xy$$x y \mid (x^+xyy^+...
42 votes
4 answers
107
1 votes
1 answer
108
The solution of differential equation $y''+3y'+2y=0$ is of the form$C_1e^x+C_2e^{2x}$$C_1e^{-x}+C_2e^{3x}$$C_1e^{-x}+C_2e^{-2x}$$C_1e^{-2x}+C_2e^{-x}$
25 votes
3 answers
110