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 srestha
4
votes
161
GATE CSE 2014 Set 3 | Question: 47
The value of the integral given below is $\int \limits_0^{\pi} \: x^2 \: \cos x\:dx$ $-2\pi$ $\pi$ $-\pi$ $2\pi$
The value of the integral given below is$$\int \limits_0^{\pi} \: x^2 \: \cos x\:dx$$$-2\pi$$\pi$$-\pi$$2\pi$
8.2k
views
answered
May 17, 2018
Calculus
gatecse-2014-set3
calculus
limits
integration
normal
+
–
2
votes
162
Why b is not decrementing ?
main() { int a = 1; int b = 1; int c = a || b--; printf("a = %d b=%d\n",a,b); return 0; }
main(){int a = 1; int b = 1; int c = a || b ; printf("a = %d b=%d\n",a,b); return 0;}
342
views
answered
May 14, 2018
Programming in C
programming-in-c
+
–
0
votes
163
GATE CSE 2014 Set 2 | Question: 4
If the matrix $A$ is such that $A= \begin{bmatrix} 2\\ −4\\7\end{bmatrix}\begin{bmatrix}1& 9& 5\end{bmatrix}$ then the determinant of $A$ is equal to ______.
If the matrix $A$ is such that $$A= \begin{bmatrix} 2\\ −4\\7\end{bmatrix}\begin{bmatrix}1& 9& 5\end{bmatrix}$$ then the determinant of $A$ is equal to ______.
12.9k
views
answered
May 14, 2018
Linear Algebra
gatecse-2014-set2
linear-algebra
numerical-answers
easy
determinant
+
–
2
votes
164
GATE CSE 2014 Set 1 | Question: 47
A function $f(x)$ is continuous in the interval $[0,2]$. It is known that $f(0) = f(2) = -1$ and $f(1) = 1$. Which one of the following statements must be true? There exists a $y$ in the interval $(0,1)$ such that $f(y) = f(y+1)$ For every $y$ ... the function in the interval $(0,2)$ is $1$ There exists a $y$ in the interval $(0,1)$ such that $f(y)$ = $-f(2-y)$
A function $f(x)$ is continuous in the interval $[0,2]$. It is known that $f(0) = f(2) = -1$ and $f(1) = 1$. Which one of the following statements must be true?There exis...
21.1k
views
answered
May 13, 2018
Calculus
gatecse-2014-set1
calculus
continuity
normal
+
–
1
votes
165
GATE CSE 2011 | Question: 31
Given $i = \sqrt{-1}$, what will be the evaluation of the definite integral $\int \limits_0^{\pi/2} \dfrac{\cos x +i \sin x} {\cos x - i \sin x} dx$ ? $0$ $2$ $-i$ $i$
Given $i = \sqrt{-1}$, what will be the evaluation of the definite integral $\int \limits_0^{\pi/2} \dfrac{\cos x +i \sin x} {\cos x - i \sin x} dx$ ?$0$$2$$-i$$i$
11.0k
views
answered
May 11, 2018
Calculus
gatecse-2011
calculus
integration
normal
+
–
12
votes
166
GATE CSE 2011 | Question: 33
Consider a finite sequence of random values $X=[x_1,x_2,\dots x_n]$. Let $\mu_x$ be the mean and $\sigma_x$ be the standard deviation of $X$. Let another finite sequence $Y$ of equal length be derived from this as $y_i=a*x_i+b$, where $a$ and $b$ are positive ... $Y$ in $Y$ $\mu_y=a \mu_x + b$ $\sigma_y=a \sigma_x + b$
Consider a finite sequence of random values $X=[x_1,x_2,\dots x_n]$. Let $\mu_x$ be the mean and $\sigma_x$ be the standard deviation of $X$. Let another finite sequence ...
8.4k
views
answered
May 11, 2018
Probability
gatecse-2011
probability
random-variable
normal
+
–
5
votes
167
GATE CSE 2017 Set 1 | Question: 3
Let $c_{1}.....c_{n}$ be scalars, not all zero, such that $\sum_{i=1}^{n}c_{i}a_{i}$ = 0 where $a_{i}$ are column vectors in $R^{n}$. Consider the set of linear equations $Ax = b$ ... has a unique solution at $x=J_{n}$ where $J_{n}$ denotes a $n$-dimensional vector of all 1. no solution infinitely many solutions finitely many solutions
Let $c_{1}.....c_{n}$ be scalars, not all zero, such that $\sum_{i=1}^{n}c_{i}a_{i}$ = 0 where $a_{i}$ are column vectors in $R^{n}$.Consider the set of linear equations$...
20.4k
views
answered
May 6, 2018
Linear Algebra
gatecse-2017-set1
linear-algebra
system-of-equations
normal
+
–
15
votes
168
GATE CSE 2018 | Question: 27
Let $N$ be the set of natural numbers. Consider the following sets, $P:$ Set of Rational numbers (positive and negative) $Q:$ Set of functions from $\{0,1\}$ to $N$ $R:$ Set of functions from $N$ to $\{0, 1\}$ $S:$ Set of finite subsets of $N$ Which of the above sets are countable? $Q$ and $S$ only $P$ and $S$ only $P$ and $R$ only $P, Q$ and $S$ only
Let $N$ be the set of natural numbers. Consider the following sets,$P:$ Set of Rational numbers (positive and negative)$Q:$ Set of functions from $\{0,1\}$ to $N$$R:$ Set...
22.0k
views
answered
May 5, 2018
Set Theory & Algebra
gatecse-2018
set-theory&algebra
countable-uncountable-set
normal
2-marks
+
–
0
votes
169
c programming
#include<stdio.h> int main() { char *s[] = {"ice","green","cone","please"}; char **ptr[] = {s+3,s+2,s+1,s}; char ***p = ptr; printf("%s\n",**++p); printf("%s\n",*--*++p + 3); printf( ... %s\n",*p[-2]+3); printf("%s\n",p[-1][-1] + 1); return 0; } Please anyone explain this especially last printf statement.
#include<stdio.h>int main(){ char *s[] = {"ice","green","cone","please"}; char ptr[] = {s+3,s+2,s+1,s}; char *p = ptr; printf("%s\n", ++p); printf("%s\n...
2.1k
views
answered
May 2, 2018
1
votes
170
give cfg for the language
Let $L=\{w \mid w \in (0+1)^+ , N_0(w) \le N_1(w) \le 2N_0(w) \}$,where $N_i(w)$ represents number of $i's$ in string $w$. a) Give a CFG for $L$ b) is Lc = Σ*- L context - free? c) Let $\frac{1}{2}$L = $\{x | ∃y ∈ L , |x| = |y| , x.y ∈ L \}$.is $\frac{1}{2}$L context-free?
Let $L=\{w \mid w \in (0+1)^+ , N_0(w) \le N_1(w) \le 2N_0(w) \}$,where $N_i(w)$ represents number of $i's$ in string $w$.a) Give a CFG for $L$b) is Lc = Σ*- L context...
1.5k
views
answered
Apr 30, 2018
Theory of Computation
context-free-grammar
theory-of-computation
+
–
1
votes
171
gilbert strang Problem Set 2.1
Which of the following descriptions are correct? The solutions x of Ax = $\begin{bmatrix} 1 & 1 & 1\\ 1 & 0 & 2 \end{bmatrix}$ $\begin{bmatrix} x1\\ x2\\ x3 \end{bmatrix}$ = $\begin{bmatrix} 0\\ 0\\ \end{bmatrix}$ form (a) a plane. (b) a line. (c) a point. (d) a subspace. (e) the nullspace of A. (f) the column space of A
Which of the following descriptions are correct? The solutions x ofAx = $\begin{bmatrix} 1 & 1 & 1\\ 1 & 0 & 2 \end{bmatrix}$ $\begin{bmatrix} x1\\ x2\\ x3 \end{bmatrix}$...
3.3k
views
answered
Apr 27, 2018
2
votes
172
TOC Decidability Theory
Which of the following problems is solvable? a) Writing a universal Turing machine b) Determining if an arbitrary Turing machine is a Universal Turing Machine c) Determining if a universal Turing Machine can be written in fewer than k instructions for some k d) Determining if a universal Turing Machine and some input will halt
Which of the following problems is solvable?a) Writing a universal Turing machineb) Determining if an arbitrary Turing machine is a Universal Turing Machinec) Determining...
6.0k
views
answered
Apr 25, 2018
Theory of Computation
decidability
theory-of-computation
turing-machine
+
–
4
votes
173
ISRO2018-66
Of the following sorting algorithms, which has a running time that is least dependent on the initial ordering of the input? Mege Sort Insertion Sort Selection Sort Quick Sort
Of the following sorting algorithms, which has a running time that is least dependent on the initial ordering of the input?Mege SortInsertion SortSelection SortQuick Sort...
5.6k
views
answered
Apr 22, 2018
Algorithms
isro2018
algorithms
sorting
+
–
3
votes
174
ISRO-DEC2017-16
Consider the following query : $SELECT$ E.eno, $COUNT(*)$ $FROM$ Employees E $GROUP\, BY$ E.eno If an index on $eno$ is available, the query can be answered by scanning only the index if the index is only hash and clustered the index is only $B+$ tree and clustered index can be hash or $B+$ tree and clustered or non-clustered index can be hash or $B+$ tree and clustered
Consider the following query :$SELECT$ E.eno, $COUNT(*)$$FROM$ Employees E$GROUP\, BY$ E.enoIf an index on $eno$ is available, the query can be answered by scanning only ...
2.1k
views
answered
Apr 20, 2018
Databases
isrodec2017
+
–
0
votes
175
Probability Practice
Six balls are to be randomly chosen from an urn containing 8 red, 10 green, and 12 blue balls. What is the probability at least one red ball, one blue and one green ball is chosen?
Six balls are to be randomly chosen from an urn containing 8 red, 10 green, and 12 blue balls.What is the probability at least one red ball, one blue and one green ball i...
2.2k
views
answered
Apr 10, 2018
Probability
probability
+
–
1
votes
176
ISRO2009-5
What is the primary purpose of a VLAN? Demonstrating the proper layout for a network Simulating a network To create a virtual private network Segmenting a network inside a switch or device
What is the primary purpose of a VLAN?Demonstrating the proper layout for a networkSimulating a networkTo create a virtual private networkSegmenting a network inside a sw...
6.3k
views
answered
Mar 31, 2018
Computer Networks
isro2009
computer-networks
+
–
1
votes
177
ISI2017-MMA-21
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. The probability that only two tests are required is $\left(\dfrac{1}{2}\right)$ $\left(\dfrac{1}{3}\right)$ $\left(\dfrac{1}{4}\right)$ $\left(\dfrac{1}{6}\right)$
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...
2.8k
views
answered
Mar 28, 2018
Probability
isi2017-mma
engineering-mathematics
probability
+
–
0
votes
178
Peter Linz Edition 4 Exercise 4.3 Question 11 (Page No. 123)
Show that the language $L =$\left \{ a^{n!} : n\geq 1 \right \}$ is not regular using pumping lemma
Show that the language $L =$$\left \{ a^{n!} : n\geq 1 \right \}$ is not regular using pumping lemma
1.1k
views
answered
Mar 20, 2018
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
regular-language
pumping-lemma
+
–
4
votes
179
GATE IT 2007 | Question: 24
A depth-first search is performed on a directed acyclic graph. Let $d[u]$ denote the time at which vertex $u$ is visited for the first time and $f[u]$ the time at which the DFS call to the vertex $u$ terminates. Which of the following statements is always TRUE for all edges $(u, v)$ in the graph ? $d[u] < d[v]$ $d[u] < f[v]$ $f[u] < f[v]$ $f[u] > f[v]$
A depth-first search is performed on a directed acyclic graph. Let $d[u]$ denote the time at which vertex $u$ is visited for the first time and $f[u]$ the time at which t...
13.7k
views
answered
Mar 5, 2018
Algorithms
gateit-2007
algorithms
graph-algorithms
normal
graph-search
depth-first-search
+
–
14
votes
180
GATE2018 CH: GA-8
To pass a test, a candidate needs to answer at least $2$ out of $3$ questions correctly. A total of $6,30,000$ candidates appeared for the test. Question $A$ was correctly answered by $3,30,000$ candidates. Question $B$ was answered correctly by $2,50,000$ ... the number answering none, how many candidates failed to clear the test? $30,000$ $2,70,000$ $3,90,000$ $4,20,000$
To pass a test, a candidate needs to answer at least $2$ out of $3$ questions correctly. A total of $6,30,000$ candidates appeared for the test. Question $A$ was correctl...
8.0k
views
answered
Feb 20, 2018
Quantitative Aptitude
gate2018-ch
general-aptitude
quantitative-aptitude
counting
+
–
2
votes
181
GATE2018 CH: GA-3
For $0\leq{x}\leq{2\pi}$, $\sin x \text{ and } \cos x$ are both decreasing functions in the interval _________ . $\left(0,\dfrac{\pi}{2}\right)$ $\left(\dfrac{\pi}{2},\pi\right)$ $\left(\pi,\dfrac{3\pi}{2}\right)$ $\left(\dfrac{3\pi}{2},2\pi\right)$
For $0\leq{x}\leq{2\pi}$, $\sin x \text{ and } \cos x$ are both decreasing functions in the interval _________ .$\left(0,\dfrac{\pi}{2}\right)$$\left(\dfrac{\pi}{2},\pi\r...
2.7k
views
answered
Feb 20, 2018
Quantitative Aptitude
gate2018-ch
quantitative-aptitude
functions
trigonometry
+
–
13
votes
182
GATE2018 CH: GA-9
If $x^{2}+ x - 1 = 0$ what is the value of $x^4 + \dfrac{1}{x^4}$? $1$ $5$ $7$ $9$
If $x^{2}+ x - 1 = 0$ what is the value of $x^4 + \dfrac{1}{x^4}$?$1$$5$$7$$9$
1.2k
views
answered
Feb 20, 2018
Quantitative Aptitude
gate2018-ch
quantitative-aptitude
easy
polynomials
+
–
–1
votes
183
solve series
$(n-0)^{4} +(n-1)^{4} + (n-2)^{4} + ----- +( n - (k-1))^{4}$ share your approach thanks
$(n-0)^{4} +(n-1)^{4} + (n-2)^{4} + - +( n - (k-1))^{4}$share your approach thanks
257
views
answered
Jan 13, 2018
0
votes
184
TCP segment
When the advertized window by the receiver is 0, the sender can not send any type of segment. True or false
When the advertized window by the receiver is 0, the sender can not send any type of segment.True or false
444
views
answered
Dec 7, 2017
Computer Networks
computer-networks
tcp
+
–
1
votes
185
Identify valid conclusion
In this question, 2 statements, S1 and S2, are given and these 2 statements are followed by 2 conclusions C1 and C2. Read the conclusions and then decide as to which of the conclusions logically follow based on the given statements. Statements: S1: ... girls. S2: All girls are beautiful. Conclusions: C1: All ballet dancers are beautiful. C2: Some girls are ballet dancers.
In this question, 2 statements, S1 and S2, are given and these 2 statements are followed by 2 conclusions C1 and C2. Read the conclusions and then decide as to which of t...
1.3k
views
answered
Dec 6, 2017
Quantitative Aptitude
analytical-aptitude
logical-reasoning
statements-follow
+
–
0
votes
186
Sheldon Ross Example 3.7f
A plane is missing and it is presumed that it was equally likely to have gone down in any of three possible regions. Let 1 − αi denote the probability the plane will be found upon a search of the ith region when the plane is, in fact, in that ... conditional probability that the plane is in the ith region, given that a search of region 1 is unsuccessful, i = 1, 2, 3?
A plane is missing and it is presumed that it was equally likely to havegone down in any of three possible regions. Let 1 − αi denote the probability the planewill be ...
1.8k
views
answered
Dec 5, 2017
Probability
probability
discrete-mathematics
sheldon-ross
+
–
1
votes
187
GATE CSE 1991 | Question: 03-xi
Indicate all the false statements from the statements given below: The amount of virtual memory available is limited by the availability of the secondary memory Any implementation of a critical section requires the use of an indivisible machine- ... for some type of programs. The best fit techniques for memory allocation ensures that memory will never be fragmented.
Indicate all the false statements from the statements given below:The amount of virtual memory available is limited by the availability of the secondary memoryAny impleme...
10.8k
views
answered
Nov 30, 2017
Operating System
gate1991
operating-system
virtual-memory
normal
multiple-selects
+
–
4
votes
188
GATE CSE 2005 | Question: 21
What is the swap space in the disk used for? Saving temporary html pages Saving process data Storing the super-block Storing device drivers
What is the swap space in the disk used for?Saving temporary html pagesSaving process dataStoring the super-blockStoring device drivers
20.1k
views
answered
Nov 24, 2017
Operating System
gatecse-2005
operating-system
disk
easy
+
–
1
votes
189
GATE CSE 1993 | Question: 22
Write a concurrent program using $\text{parbegin-parend}$ and semaphores to represent the precedence constraints of the statements $S_1$ to $S_6$, as shown in figure below.
Write a concurrent program using $\text{parbegin-parend}$ and semaphores to represent the precedence constraints of the statements $S_1$ to $S_6$, as shown in figure belo...
5.8k
views
answered
Nov 23, 2017
Operating System
gate1993
operating-system
process-synchronization
normal
descriptive
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
36
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register