0 votes
1
int A(struct node* node) { if (node==NULL) return 0; else { int lDepth = A(node->left); int rDepth = A(node->right); /* use the larger one */ if (lDepth rDepth) return(l...
16 votes
2
The number of swappings needed to sort the numbers $8 , 22, 7, 9, 31, 5, 13$ in ascending order using bubble sort is$11$$12$$13$$10$
7 votes
3
XPath is used to navigate through elements and attributes inXSL documentXML documentXHTML documentXQuery document
1 votes
4
I tried solving it by enumerating all the paths and got ans 12.Can anyone provide some formula for this ?
2 votes
8
#include <stdio.h>#define R 10#define C 20int main(){int (p)[R][C];printf("%d", sizeof(p));printf("\n%d",sizeof(*p));printf("\n%d",sizeof( p));getchar();return 0;} i...
0 votes
9
shouldn't be answer "4" short term scheduler?
1 votes
10
By using RSA algo find the values of decryption key(D) when n=77,encryption key(E)=7 A)50 B)37 C)43 D)56
4 votes
11
There are $N$ persons sitting in a row. Two of them are selected at random.The probability that two selected persons are not together ?
1 votes
12
There are four machines and it is known that exactly two of them are faulty .They are tested one by one in a random order till both the faulty machines are identified ,th...
0 votes
13
1 votes
14
The solution of the differential equation (d y /dx)=ky , Y(0)= C is(a) x =ce-xy(b) y= cekx(c) x =ke cy(d) y= ce-kx
0 votes
15
If one root of the equation x 2+ px +12 =0 is 4, while the equation x 2 + px + q = 0 has equal roots, then the value of 'q' is(A) 49/4(B) 4 (C) 49/16(D) 12
2 votes
16
A student is to answer 10 out of 13 questions in an examination such that he must choose at least 4 from the first five questions. The number of choices available to him ...
0 votes
17
The truth tableXYF000010101111 Represent the Boolean function(a) X(b) X - Y(c) X +Y(d) Y
1 votes
18
A 4 bit module -16 ripple counter uses JK F/F. If the propagation delay of each F/F is 50 nano seconds, the maximum clock frequency that can be used is equal to(a) 20 MHz...
1 votes
19
A three stage Johnson counter ring in figure is clocked at a constant frequency of fc from starting state of Q0Q1Q2 = 101. The frequency of output Q0Q1Q2 will be(a) fc / ...
0 votes
20
Circular shapes appear in this fashion when viewed at an angle other than 90 degrees(a) Circular (b) Elliptical (c) Lengthened (d) Angular
0 votes
21
Angle made between vector C = 2i- 3j+ 4k and the Z-axis isa) 4 /√29b) $sin^ {- 1}$ 4 /√29c) $cos^ {-1}$ 4 /√29d) $tan ^{-1 }$4 /√29
0 votes
22
A x B is a vector(a) Parallel to A, but perpendicular to B(b) Parallel to B, but perpendicular to A.(c) Perpendicular to both A &B(d) Parallel to both A & B
1 votes
23
Let E and F be any two events with P(E U F)= 0.8, P(E) = 0.4 and P (E/ F) = 0.3. Then P (F) is(a) 3/7(b) 4/7(c) 3/5(d) 2/5
0 votes
24
There is a function f(x), such that f(0) = 1 and f ' (0)= -1 and f(x) is positive for all values of x. Then,a) f"(x) < 0 for all xb) -1 < f'' (x) < 0 for all xc) -2 < f ...
1 votes
25
Odd parity generator uses _____ logic(a) XNOR(b) XOR(c) Sequential(d) OR
1 votes
26
Which of the following represents the Moore model for sequential circuits?
1 votes
28
If y is of integer type then the below expression 3*(y-8) / 9 and (y-8) / 9*3 a) must yield different valueB)Must yield same valuec) may or may not yield same valueD) non...
1 votes
30
Which of the following is the Boolean function for majority voting, assuming $\text{A, B, C}$ are inputs and $\text{Y}$ is output?$\text{Y = AB + AC + BC}$$\text{Y = A + ...