The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Questions by srestha
User srestha
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
User srestha
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
+7
votes
1
answer
1
ISRO202063
What is the output in a $32$ bit machine with $32$ bit compiler? #include<stdio.h> rer(int **ptr2, int **ptr1) { int *ii; ii=*ptr2; *ptr2=*ptr1; *ptr1=ii; **ptr1*=**ptr2; **ptr2+=**ptr1; } void main(){ int var1=5, var2=10; int *ptr1=&var1,*ptr2=&var2; rer(&ptr1,&ptr2); printf("%d %d",var2,var1); } $60,70$ $50,50$ $50,60$ $60,50$
asked
Jan 13
in
Programming

620
views
isro2020
programming
programminginc
normal
+6
votes
2
answers
2
ISRO202062
What is output of the following ‘C’ code assuming it runs on a byte addressed little endian machine? #include<stdio.h> int main() { int x; char *ptr; x=622,100,101; printf("%d",(*(char *)&x)*(x%3)); return 0; } $622$ $311$ $22$ $110$
asked
Jan 13
in
Programming

606
views
isro2020
programming
programminginc
normal
+3
votes
1
answer
3
Mathematical Logic Ques:Self doubt
“Not every satisfiable logic is valid” Representation of it will be $1)\sim \left ( \forall S(x)\rightarrow V(x) \right )$ or $2)\sim \left ( \forall S(x)\vee V(x) \right )$ Among $1)$ and $2)$, which one is correct? and why?
asked
Jun 5, 2019
in
Mathematical Logic

246
views
discretemathematics
mathematicallogic
0
votes
0
answers
4
Doubt on a math question
Chk this question https://gateoverflow.in/100202/testseriescounting $1)$Can someone verify this ans?? See if $\left ( _{0}^{6}\textrm{C} \right )$ in one set, other set will contain $\left ( _{6}^{6}\textrm{C} \right )$ elements. right?? Now why do we again need $2^{n}$ ... meaning of it?? $2)$ How $\sum_{I=0}^{n}\left ( _{i}^{n}\textrm{C} \right ).2^{ni}=3^{n}$??
asked
Jun 4, 2019
in
Set Theory & Algebra

69
views
discretemathematics
settheory&algebra
+3
votes
1
answer
5
Mathematics: GATE2017 EC222
Consider the random process: $X\left ( t \right )=U+Vt$ where $U$ is zeromean Gaussian random variable and $V$ is a random variable uniformly distributed between $0$ and $2.$ Assume $U$ and $V$ statistically independent. The mean value of random process at $t=2$ is ___________
asked
Jun 3, 2019
in
Probability

237
views
gate2017ec2
probability
+1
vote
0
answers
6
Aptitude Self Doubt
If altitude of equilateral triangle is given, then what is formula to find area of it??
asked
Jun 3, 2019
in
Numerical Ability

154
views
numericalability
0
votes
1
answer
7
Doubt on Bipartite Graph
What is T.C. to find maximum number of edges to be added to a tree so that it stays as a bipartite graph? Now my question is, why do we need to add edges to make a tree bipartite? A tree is already bipartite graph. Right?? Again how do we add edges in it?? Is BFS or DFS do any improvement in such a tree?? How to think such a question??
asked
Jun 3, 2019
in
Algorithms

125
views
graphtheory
algorithms
0
votes
1
answer
8
GATE 2019:EC
The value of integral $\int_{0}^{\pi }\int_{y}^{\pi }\frac{\sin x}{x}dxdy$ is equal to_________
asked
Jun 2, 2019
in
Linear Algebra

146
views
discretemathematics
0
votes
2
answers
9
GATE 2017:EC
Consider the $5\times 5$ matrix: $\begin{bmatrix} 1 & 2 &3 & 4 &5 \\ 5 &1 &2 & 3 &4 \\ 4& 5 &1 &2 &3 \\ 3& 4 & 5 & 1 &2 \\ 2&3 & 4 & 5 & 1 \end{bmatrix}$ It is given $A$ has only one real eigen value. Then the real eigen value of $A$ is ________
asked
Jun 2, 2019
in
Linear Algebra

386
views
discretemathematics
linearalgebra
matrices
+3
votes
4
answers
10
GATE2017 EC
The rank of the matrix $\begin{bmatrix} 1 & 1 & 0 &0 & 0\\ 0 & 0 & 1 &1 &0 \\ 0 &1 &1 &0 &0 \\ 1 & 0 &0 & 0 &1 \\ 0&0 & 0 & 1 & 1 \end{bmatrix}$ is ________. Ans 5?
asked
Jun 1, 2019
in
Linear Algebra

476
views
discretemathematics
matrices
+2
votes
1
answer
11
Doubt on GATE Question
Read the statements: All women are entrepreneurs. Some women are doctors. Which of the following conclusions can be logically inferred from the above statements? All women are doctors All doctors are entrepreneurs All entrepreneurs are women Some entrepreneurs are doctors ... Is it because , if we make set of doctor as 0, then All doctors are entrepreneurs is meaningless.
asked
Jun 1, 2019
in
Mathematical Logic

115
views
discretemathematics
mathematicallogic
+1
vote
1
answer
12
Mathematical Logic: Doubt on meaning of statement
The notation $\exists ! x P(x)$ denotes the proposition there exists a unique $x$ such that $P(x)$ ... What will be answer here?? Is the assumption only for left hand side and not right hand side??
asked
Jun 1, 2019
in
Mathematical Logic

148
views
mathematicallogic
discretemathematics
0
votes
1
answer
13
Agarwal AptitudeC.I.
What is the difference between the compound interests on $Rs.5000$ for $1\frac{1}{2}$ years at $4$% per annum compounded yearly and halfyearly? See we know formula for compound interest $P\left ( 1+\frac{R}{100} \right )^{n}$ But when they calculating compound ... Do we need to calculate fraction power like this?
asked
May 29, 2019
in
Numerical Ability

76
views
generalaptitude
0
votes
0
answers
14
TrigonometryDoubt
$1)$What is the value of $\sin 15^{o}$ $\sin 15^{o}=\sin \left ( 60^{o}45^{o} \right )$ $=\sin 60^{o}.\cos 45^{o}\cos 60^{o}.\sin 45^{o}$ ... $=\frac{\sqrt{3}1}{2\sqrt{2}}=0.258$ Is it correct? $2)$ $\sin 80^{o}$ value=_____________ Is it possible to do?
asked
May 28, 2019
in
Numerical Ability

80
views
generalaptitude
0
votes
0
answers
15
Aptitude(Recruitment Ques)
The value of $\sin 120^{o}+\sin 780^{o}\cos 360^{o}$ $=(\sin (90^{o}\times 2)60^{o})+\left ( \sin \left ( 90^{o}\times 8 \right )+60^{o} \right )\left ( \cos (90^{o}\times 4)+0^{o} \right )$ $=\frac{\sqrt{3}}{2}+\frac{\sqrt{3}}{2}1=0.73$ right??
asked
May 28, 2019
in
Numerical Ability

96
views
generalaptitude
+1
vote
1
answer
16
Aptitude(recruitment exam)
The expression $\left ( 11.98\times 11.98+11.98\times a+0.02\times 0.02 \right )$ will be a perfect square for $’a’$ equal to _________ $a)0.02$ $b)0.2$ $c)0.04$ $d)0.4$
asked
May 28, 2019
in
Numerical Ability

68
views
generalaptitude
0
votes
1
answer
17
SelfDoubt: Diagonalizable Matrix
$1)$ How to find a matrix is diagonalizable or not? Suppose a matrix is $A=\begin{bmatrix} \cos \Theta &\sin \Theta \\ \sin\Theta & \cos\Theta \end{bmatrix}$ Is it diagonalizable? $2)$ What is it’s eigen spaces?
asked
May 28, 2019
in
Linear Algebra

232
views
engineeringmathematics
linearalgebra
matrices
0
votes
1
answer
18
Probability question of CLRS
In a restaurant each of $n$ customer gives a hat to the hat check person. The hat check person gives the hat back to the customer in a random order. What is expected number of customer who get back their own hat?
asked
May 27, 2019
in
Probability

146
views
algorithms
probability
0
votes
3
answers
19
Self DoubtCombinatory
In how many ways we can put $n$ distinct balls in $k$ dintinct bins?? Will it be $n^{k}$ or $k^{n}$?? Taking example will be easy way to remove this doubt or some other ways possible??
asked
May 25, 2019
in
Combinatory

136
views
discretemathematics
combinatory
+1
vote
0
answers
20
Allen Career Institute:Circular Queue
$1)$How circular queue can be implemented? $2)$ For which data structure circular queue cannot be implemented? $(A)$Array $(B)$ Singly Linked List $(C)$ Doubly Linked List $(D)$ Stack
asked
May 25, 2019
in
DS

281
views
datastructures
circularqueue
Page:
1
2
3
4
5
6
...
36
next »
52,345
questions
60,503
answers
201,898
comments
95,334
users