Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by Rahul Jain25
0
votes
1
What does the following code do?
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(lDepth+1); else return(rDepth+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...
493
views
answered
Jul 4, 2017
Programming in C
self-made
algorithms
binary-tree
+
–
16
votes
2
ISRO2017-49
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$
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$
8.1k
views
answered
May 7, 2017
Algorithms
isro2017
algorithms
sorting
+
–
7
votes
3
ISRO2017-40
XPath is used to navigate through elements and attributes in XSL document XML document XHTML document XQuery document
XPath is used to navigate through elements and attributes inXSL documentXML documentXHTML documentXQuery document
3.4k
views
answered
May 7, 2017
Web Technologies
isro2017
web-technologies
xml
non-gate
+
–
1
votes
4
Geometry_aptitude
I tried solving it by enumerating all the paths and got ans 12.Can anyone provide some formula for this ?
I tried solving it by enumerating all the paths and got ans 12.Can anyone provide some formula for this ?
553
views
answered
Apr 13, 2017
1
votes
5
Kenneth Rosen Edition 6th Exercise 1.1 Question 43 (Page No. 20)
Fuzzy logic is used in artificial intelligence. In fuzzy logic, a proposition has a truth value that is a number between 0 and 1, inclusive.A proposition with a truth value of 0 is false and one with a truth value of 1 ... least n of the statements in this list are false. Answer part (b) assuming that the list contains 99 statements
Fuzzy logic is used in artificial intelligence. In fuzzy logic, a proposition has a truth value that is a number between 0 and 1, inclusive.A proposition with a truth val...
3.8k
views
answered
Mar 25, 2017
Mathematical Logic
kenneth-rosen
mathematical-logic
descriptive
difficult
discrete-mathematics
+
–
0
votes
6
Arun Sharma-Time Speed Distance
Two trains, Calcutta Mail and Bombay Mail, start at the same time from stations Kolkata and Mumbai respectively towards each other.After passing each other, they take 12 hours and 3 hours to reach Mumbai and Kolkata respectively. If the Calcutta mail is moving with the speed of 48 km/h , the speed of the Bombay mail is (a)24 km/h (b)22 km/h (c)21 km/h (d)96 km/h
Two trains, Calcutta Mail and Bombay Mail, start at the same time from stations Kolkata and Mumbai respectively towards each other.After passing each other, they take 12 ...
5.8k
views
answered
Mar 19, 2017
Verbal Aptitude
speed-time-distance
+
–
4
votes
7
Bridges
Which of the following are not true? I. Only gateway can be used to connect different protocol networks II. Gateway occur at all layers. III. Bridge and switch some times occur in network layer also IV. Repeater occur at both physical layer and data link layer. A)Only I and IV B)Only II, III and IV C)Only III and IV D)Only I, II and III
Which of the following are not true? I. Only gateway can be used to connect different protocol networks II. Gateway occur at all layers. III. Bridge and switch some times...
3.2k
views
answered
Mar 19, 2017
2
votes
8
C language
#include <stdio.h> #define R 10 #define C 20 int main() { int (p)[R][C]; printf("%d", sizeof(p)); printf("\n%d",sizeof(*p)); printf("\n%d",sizeof(**p)); getchar(); return 0; } i m thinking output is 4, 800, 4 ?? any body explain it??
#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...
1.6k
views
answered
Mar 16, 2017
0
votes
9
doubt
shouldn't be answer "4" short term scheduler?
shouldn't be answer "4" short term scheduler?
787
views
answered
Mar 16, 2017
Operating System
operating-system
+
–
1
votes
10
doubt
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
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
1.1k
views
answered
Mar 16, 2017
Computer Networks
computer-networks
+
–
4
votes
11
probability
There are $N$ persons sitting in a row. Two of them are selected at random.The probability that two selected persons are not together ?
There are $N$ persons sitting in a row. Two of them are selected at random.The probability that two selected persons are not together ?
815
views
answered
Mar 16, 2017
Probability
discrete-mathematics
probability
+
–
1
votes
12
probability
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 ,then the probability that only two tests are needed ?
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...
1.3k
views
answered
Mar 16, 2017
Probability
discrete-mathematics
probability
+
–
0
votes
13
ISRO 2014 -Complex Numbers [EE]
If $[ $\frac{1+i}{1-i} ] ^ x$ =$1$ then (A) x = 2n + 1, where n is any positive integer (B) x = 2n, where n is any positive integer (C) x = 4n + 1, where n is any positive integer (D) x = 4n, where n is any positive integer
If $[ $$\frac{1+i}{1-i} ] ^ x$ =$1$ then(A) x = 2n + 1, where n is any positive integer(B) x = 2n, where n is any positive integer(C) x = 4n + 1, where n is any positive ...
369
views
answered
Mar 10, 2017
Linear Algebra
isro-ee
engineering-mathematics
linear-algebra
+
–
1
votes
14
ISRO 2015- Differential equation [EE]
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
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
1.0k
views
answered
Mar 10, 2017
Calculus
isro-ee
engineering-mathematics
calculus
+
–
0
votes
15
ISRO 2014- Quadratic Equation [EE]
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
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
504
views
answered
Mar 10, 2017
Linear Algebra
isro-ee
engineering-mathematics
+
–
2
votes
16
ISRO 2014- probability [EE]
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 is (A) 140 (B) 196 (C) 280 (D) 346
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 ...
854
views
answered
Mar 10, 2017
Probability
isro-ee
engineering-mathematics
probability
+
–
0
votes
17
ISRO 2015 Truth table [EE]
The truth table X Y F 0 0 0 0 1 0 1 0 1 1 1 1 Represent the Boolean function (a) X (b) X - Y (c) X +Y (d) Y
The truth tableXYF000010101111 Represent the Boolean function(a) X(b) X - Y(c) X +Y(d) Y
568
views
answered
Mar 10, 2017
Digital Logic
isro-ee
digital-logic
+
–
1
votes
18
ISRO 2015- Ripple Counter [EE]
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 (b) 5 MHz (c) 10 MHz (d) 4 MHz
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.6k
views
answered
Mar 10, 2017
Digital Logic
isro-ee
digital-logic
+
–
1
votes
19
ISRO 2015 - Johnson counter [EE]
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 / 2 (b) fc /6 (c) fc/ 3 (d) fc /8
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 / ...
2.3k
views
answered
Mar 10, 2017
Digital Logic
digital-logic
isro-ee
+
–
0
votes
20
ISRO 2015- Conic sections [Mech]
Circular shapes appear in this fashion when viewed at an angle other than 90 degrees (a) Circular (b) Elliptical (c) Lengthened (d) Angular
Circular shapes appear in this fashion when viewed at an angle other than 90 degrees(a) Circular (b) Elliptical (c) Lengthened (d) Angular
382
views
answered
Mar 7, 2017
Linear Algebra
engineering-mathematics
isro-mech
linear-algebra
+
–
0
votes
21
ISRO 2014- vector {mech}
Angle made between vector C = 2i- 3j+ 4k and the Z-axis is a) 4 /√29 b) $sin^ {- 1}$ 4 /√29 c) $cos^ {-1}$ 4 /√29 d) $tan ^{-1 }$4 /√29
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
372
views
answered
Mar 7, 2017
Linear Algebra
engineering-mathematics
isro-mech
linear-algebra
+
–
0
votes
22
ISRO 2012- [Mech] Engineering mathematics Cross product
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
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
269
views
answered
Mar 7, 2017
Linear Algebra
isro-mech
engineering-mathematics
+
–
1
votes
23
ISRO 2012: [Mech] Probability
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
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
954
views
answered
Mar 7, 2017
Probability
engineering-mathematics
isro-mech
probability
+
–
0
votes
24
ISRO 2009-ECE Engineering Mathematics
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 x b) -1 < f'' (x) < 0 for all x c) -2 < f '' (x) < -1 for all x d) None of the above
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 ...
438
views
answered
Mar 5, 2017
Calculus
isro-ece
engineering-mathematics
calculus
+
–
1
votes
25
ISRO 2008- ECE Odd parity
Odd parity generator uses _____ logic (a) XNOR (b) XOR (c) Sequential (d) OR
Odd parity generator uses _____ logic(a) XNOR(b) XOR(c) Sequential(d) OR
4.6k
views
answered
Mar 5, 2017
Digital Logic
isro-ece
digital-logic
+
–
1
votes
26
ISRO 2008-ECE Moore model for squntial circuits
Which of the following represents the Moore model for sequential circuits?
Which of the following represents the Moore model for sequential circuits?
934
views
answered
Mar 5, 2017
Digital Logic
isro-ece
digital-logic
+
–
2
votes
27
ISRO 2008- ECE Dynamic hazard
In asynchronous circuits, which of the following best explains a dynamic hazard Output changes several times for a single change in an input Output changes to a different state for a single change in an input Output changes momentarily when it is supposed to remain constant for a single change in an input None of the above
In asynchronous circuits, which of the following best explains a dynamic hazardOutput changes several times for a single change in an inputOutput changes to a different s...
950
views
answered
Mar 5, 2017
Digital Logic
isro-ece
digital-logic
asynchronous-circuit
+
–
1
votes
28
If y is of integer type then the below expressions 3*(y-8) / 9 and (y-8) / 9*3
If y is of integer type then the below expression 3*(y-8) / 9 and (y-8) / 9*3 a) must yield different value B)Must yield same value c) may or may not yield same value D) none of the above
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...
4.3k
views
answered
Mar 5, 2017
1
votes
29
ISRO2013-ECE Digital Logic
What is the frequency and duty cycle of output $\text{Y},$ when CLK frequency is $\text{1MHz} \;@\; 50\%$ duty cyle? $500 \;\text{KHz} \;@\; 50\%$ duty cycle $500 \;\text{KHz} \;@\; 25\% $duty cycle $250 \;\text{KHz} \;@\; 50\%$ duty cycle $250 \;\text{KHz} \;@\; 25\%$ duty cycle
What is the frequency and duty cycle of output $\text{Y},$ when CLK frequency is $\text{1MHz} \;@\; 50\%$ duty cyle?$500 \;\text{KHz} \;@\; 50\%$ duty cycle$500 \;\text{K...
2.7k
views
answered
Mar 5, 2017
Digital Logic
isro2013-ece
isro-ece
digital-logic
sequential-circuit
flip-flop
+
–
1
votes
30
ISRO2013-ECE: Digital Logic
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 + B + C}$ $\text{Y = ABC}$ $\text{Y= AB + BC}$
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 + ...
1.1k
views
answered
Mar 5, 2017
Digital Logic
isro-ece
isro2013-ece
digital-logic
boolean-algebra
+
–
Page:
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register