Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Recent questions without answers
0
votes
0
answers
3781
ISI2016-DCG-40
The equations $x=a\cos\theta+b\sin\theta$ and $y=a\sin\theta+b\cos\theta,(0\leq\theta\leq2\pi$ and $a,b$ are arbitrary constants$)$ represent a circle a parabola an ellipse a hyperbola
The equations $x=a\cos\theta+b\sin\theta$ and $y=a\sin\theta+b\cos\theta,(0\leq\theta\leq2\pi$ and $a,b$ are arbitrary constants$)$ representa circlea parabolaan ellipsea...
gatecse
273
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
trigonometry
curves
non-gate
+
–
0
votes
0
answers
3782
ISI2016-DCG-41
A straight line touches the circle $x^{2}+y^{2}=2a^{2}$ and also the parabola $y^{2}=8ax.$ Then the equation of the straight line is $y=\pm x$ $y=\pm(x+a)$ $y=\pm(x+2a)$ $y=\pm(x-21)$
A straight line touches the circle $x^{2}+y^{2}=2a^{2}$ and also the parabola $y^{2}=8ax.$ Then the equation of the straight line is$y=\pm x$$y=\pm(x+a)$$y=\pm(x+2a)$$y=...
gatecse
178
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
lines
parabola
non-gate
+
–
0
votes
0
answers
3783
ISI2016-DCG-42
In an ellipse, the distance between its foci is $6$ and its minor axis is $8.$ Then its eccentricity is $\frac{4}{5}$ $\frac{1}{\sqrt{52}}$ $\frac{3}{5}$ $\frac{1}{2}$
In an ellipse, the distance between its foci is $6$ and its minor axis is $8.$ Then its eccentricity is$\frac{4}{5}$$\frac{1}{\sqrt{52}}$$\frac{3}{5}$$\frac{1}{2}$
gatecse
164
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
ellipse
non-gate
+
–
0
votes
0
answers
3784
ISI2016-DCG-51
Four squares of sides $x\: cm$ each are cut off from the four corners of a square metal sheet having side $10\: cm.$ The residual sheet is then folded into an open box which is then filled with a liquid costing Rs. $x^{2}$ per $cm^{3}.$ The value of $x$ for which the cost of filling the box completely with the liquid is maximized, is $100$ $50$ $30$ $10$
Four squares of sides $x\: cm$ each are cut off from the four corners of a square metal sheet having side $10\: cm.$ The residual sheet is then folded into an open box w...
gatecse
316
views
gatecse
asked
Sep 18, 2019
Quantitative Aptitude
isi2016-dcg
quantitative-aptitude
geometry
+
–
0
votes
0
answers
3785
ISI2016-DCG-54
$\underset{x\rightarrow 0}{\lim}x\sin\left(\dfrac{1}{x}\right)$ equals $-1$ $0$ $1$ Does not exist
$\underset{x\rightarrow 0}{\lim}x\sin\left(\dfrac{1}{x}\right)$ equals$-1$$0$$1$Does not exist
gatecse
226
views
gatecse
asked
Sep 18, 2019
Calculus
isi2016-dcg
calculus
limits
+
–
0
votes
0
answers
3786
ISI2016-DCG-55
$\underset{x\rightarrow 0}{\lim}\sin\left(\dfrac{1}{x}\right)$ equals $-1$ $0$ $1$ Does not exist
$\underset{x\rightarrow 0}{\lim}\sin\left(\dfrac{1}{x}\right)$ equals$-1$$0$$1$Does not exist
gatecse
239
views
gatecse
asked
Sep 18, 2019
Calculus
isi2016-dcg
calculus
limits
+
–
0
votes
0
answers
3787
ISI2016-DCG-57
$\underset{x\rightarrow 1}{\lim} \dfrac{x^{16}-1}{\mid x-1\mid}$ equals $-1$ $0$ $1$ Does not exist
$\underset{x\rightarrow 1}{\lim} \dfrac{x^{16}-1}{\mid x-1\mid}$ equals$-1$$0$$1$Does not exist
gatecse
521
views
gatecse
asked
Sep 18, 2019
Calculus
isi2016-dcg
calculus
limits
+
–
0
votes
0
answers
3788
ISI2016-DCG-58
Let $y=\left \lfloor x \right \rfloor$ where $\left \lfloor x \right \rfloor$ is greatest integer less than or equal to $x$. Then $y$ is continuous and many-one. $y$ is not differentiable and many-one. $y$ is not differentiable. $y$ is differentiable and many-one.
Let $y=\left \lfloor x \right \rfloor$ where $\left \lfloor x \right \rfloor$ is greatest integer less than or equal to $x$. Then$y$ is continuous and many-one.$y$ is not...
gatecse
365
views
gatecse
asked
Sep 18, 2019
Calculus
isi2016-dcg
calculus
continuity
differentiation
functions
+
–
0
votes
0
answers
3789
ISI2016-DCG-59
If in a $\triangle ABC,\angle B=\dfrac{2\pi}{3},$ then $\cos A+\cos C$ lies in $\left[\:-\sqrt{3},\sqrt{3}\:\right]$ $\left(\:-\sqrt{3},\sqrt{3}\:\right]$ $\left(\:\frac{3}{2},\sqrt{3}\:\right)$ $\left(\:\frac{3}{2},\sqrt{3}\:\right]$
If in a $\triangle ABC,\angle B=\dfrac{2\pi}{3},$ then $\cos A+\cos C$ lies in$\left[\:-\sqrt{3},\sqrt{3}\:\right]$$\left(\:-\sqrt{3},\sqrt{3}\:\right]$$\left(\:\frac{3}{...
gatecse
340
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
geometry
triangles
trigonometry
non-gate
+
–
0
votes
0
answers
3790
ISI2016-DCG-60
Which of the following relations is true for the following figure? $b^{2}=c(c+a)$ $c^{2}=a(a+b)$ $a^{2}=b(b+c)$ All of these
Which of the following relations is true for the following figure?$b^{2}=c(c+a)$$c^{2}=a(a+b)$$a^{2}=b(b+c)$All of these
gatecse
355
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
triangles
non-gate
+
–
0
votes
0
answers
3791
ISI2016-DCG-62
The number of values of $x$ for which the equation $\cos x=\sqrt{\sin x}-\frac{1}{\sqrt{\sin x}}$ is satisfied is $1$ $2$ $3$ more than $3$
The number of values of $x$ for which the equation $\cos x=\sqrt{\sin x}-\frac{1}{\sqrt{\sin x}}$ is satisfied is $1$$2$$3$more than $3$
gatecse
175
views
gatecse
asked
Sep 18, 2019
Geometry
isi2016-dcg
trigonometry
non-gate
+
–
0
votes
0
answers
3792
ISI2017-DCG-24
The differential equation $x \frac{dy}{dx} -y=x^3$ with $y(0)=2$ has unique solution no solution infinite number of solutions none of these
The differential equation $x \frac{dy}{dx} -y=x^3$ with $y(0)=2$ hasunique solutionno solutioninfinite number of solutionsnone of these
gatecse
311
views
gatecse
asked
Sep 18, 2019
Others
isi2017-dcg
engineering-mathematics
calculus
non-gate
differential-equation
+
–
0
votes
0
answers
3793
ISI2017-DCG-27
The limit of the sequence $\sqrt{2}, \sqrt{2\sqrt{2}}, \sqrt{2\sqrt{2\sqrt{2}}}, \dots$ is $1$ $2$ $2\sqrt{2}$ $\infty$
The limit of the sequence $\sqrt{2}, \sqrt{2\sqrt{2}}, \sqrt{2\sqrt{2\sqrt{2}}}, \dots$ is$1$$2$$2\sqrt{2}$$\infty$
gatecse
330
views
gatecse
asked
Sep 18, 2019
Calculus
isi2017-dcg
calculus
limits
+
–
1
votes
0
answers
3794
ISI2018-DCG-11
The sum of $99^{th}$ power of all the roots of $x^7-1=0$ is equal to $1$ $2$ $-1$ $0$
The sum of $99^{th}$ power of all the roots of $x^7-1=0$ is equal to$1$$2$$-1$$0$
gatecse
380
views
gatecse
asked
Sep 18, 2019
Quantitative Aptitude
isi2018-dcg
quantitative-aptitude
polynomials
roots
+
–
0
votes
0
answers
3795
ISI2018-DCG-21
A box with a square base of length $x$ and height $y$ has an open top and its volume is $32$ cubic centimetres, as shown in the figure below. The values of $x$ and $y$ that minimize the surface area of the box are $x=4$ cm $\&$ $y=2 $ cm $x=3$ cm $\&$ $y=\frac{32}{9} $ cm $x=2$ cm $\&$ $y=8 $ cm none of these.
A box with a square base of length $x$ and height $y$ has an open top and its volume is $32$ cubic centimetres, as shown in the figure below. The values of $x$ and $y$ th...
gatecse
245
views
gatecse
asked
Sep 18, 2019
Geometry
isi2018-dcg
cubes
non-gate
+
–
0
votes
0
answers
3796
ISI2018-DCG-29
Let $f(x)=(x-1)(x-2)(x-3)g(x); \: x\in \mathbb{R}$ where $g$ is twice differentiable function. Then there exists $y\in(1,3)$ such that $f’’(y)=0.$ there exists $y\in(1,2)$ such that $f’’(y)=0.$ there exists $y\in(2,3)$ such that $f’’(y)=0.$ none of the above is true.
Let $f(x)=(x-1)(x-2)(x-3)g(x); \: x\in \mathbb{R}$ where $g$ is twice differentiable function. Thenthere exists $y\in(1,3)$ such that $f’’(y)=0.$there exists $y\in(1,...
gatecse
341
views
gatecse
asked
Sep 18, 2019
Calculus
isi2018-dcg
calculus
differentiation
+
–
1
votes
0
answers
3797
Ullman (Compiler Design) Edition 2 Exercise 6.5 Question 2 (Page No. 399)
As in Ada, suppose that each expression must have a unique type, but that from a subexpression, by itself, all we can deduce is a set of possible types. That is, the application of function ... of the overall expression is determined, proceeds top-down to determine attribute $unique$ for the type of each subexpression.
As in Ada, suppose that each expression must have a unique type, but that from a subexpression, by itself, all we can deduce is a set of possible types. That is, the app...
admin
1.0k
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3798
Ullman (Compiler Design) Edition 2 Exercise 6.5 Question 1 (Page No. 398)
Assuming that function $widen$ in Fig. $6.26$ can handle any of the types in the hierarchy of Fig. $6.25(a)$, translate the expressions below. Assume that c and d are characters, $s$ and $t$ are short integers, $i$ and $j$ are integers, and $x$ is a float. $x=s+c$ $i=s+c$ $x=(s+c)\ast(t+d)$
Assuming that function $widen$ in Fig. $6.26$ can handle any of the types in the hierarchy of Fig. $6.25(a)$, translate the expressions below. Assume that c and d are cha...
admin
682
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3799
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 9 (Page No. 386)
$A$ real array $A[i, j, k]$ has index $i$ ranging from $1$ to $4$, index $j$ ranging from $0$ to $4$, and index $k$ ranging from $5$ to $10$. Reals take $8$ bytes each. Suppose array $A$ is stored starting at byte $0$. Find the location of: $A[3,4,5]$ $A[1,2,7]$ $A[4,3,9]$ if $A$ is stored in column-major order.
$A$ real array $A[i, j, k]$ has index $i$ ranging from $1$ to $4$, index $j$ ranging from $0$ to $4$, and index $k$ ranging from $5$ to $10$. Reals take $8$ bytes each. ...
admin
521
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3800
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 7 (Page No. 386)
An integer array $A[i, j]$ has index $i$ ranging from $1$ to $10$ and index $j$ ranging from $1$ to $20$. Integers take $4$ bytes each. Suppose array $A$ is stored starting at byte $0$. Find the location of: $A[4,5]$ $A[10,8]$ $A[3,17]$ if A is stored in column-major order.
An integer array $A[i, j]$ has index $i$ ranging from $1$ to $10$ and index $j$ ranging from $1$ to $20$. Integers take $4$ bytes each. Suppose array $A$ is stored starti...
admin
893
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3801
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 5 (Page No. 385 - 386)
Generalize formula $(6.7)$ to multidimensional arrays, and indicate what values can be stored in the symbol table and used to compute offsets. Consider the following cases: An array $A$ of two dimensions, in row-major form. The first ... $h_{j}$.The same as $(c)$ but with the array stored in column-major form.
Generalize formula $(6.7)$ to multidimensional arrays, and indicate what values can be stored in the symbol table and used to compute offsets. Consider the following case...
admin
341
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3802
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 4 (Page No. 385)
Revise the translation of Fig. $6.22$ for array references of the Fortran style, that is, $id[E_{1}, E_{2},\cdot\cdot\cdot,E_{n}]$ for an $n-$dimensional array.
Revise the translation of Fig. $6.22$ for array references of the Fortran style, that is, $id[E_{1}, E_{2},\cdot\cdot\cdot,E_{n}]$ for an $n-$dimensional array.
admin
358
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3803
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 3 (Page No. 385)
Use the translation of Fig. $6.22$ to translate the following assignments: $x=a[i]+b[j]$ $x=a[i][j]+b[i][j]$ $x=a[b[i][j]][c[[k]]$
Use the translation of Fig. $6.22$ to translate the following assignments: $x=a[i]+b[j]$$x=a[i][j]+b[i][j]$$x=a[b[i][j]][c[[k]]$
admin
675
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3804
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 2 (Page No. 384)
Add to the translation of Fig. $6.19$ rules for the following productions: $E\rightarrow E_{1}\ast E_{2}$ $E\rightarrow + E_{1}\:$(unary plus)
Add to the translation of Fig. $6.19$ rules for the following productions:$E\rightarrow E_{1}\ast E_{2}$$E\rightarrow + E_{1}\:$(unary plus)
admin
429
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3805
Ullman (Compiler Design) Edition 2 Exercise 6.4 Question 1 (Page No. 384)
Add to the translation of Fig. $6.19$ rules for the following productions: $E\rightarrow E_{1}\ast E_{2}$ $E\rightarrow + E_{1}\:$(unary plus)
Add to the translation of Fig. $6.19$ rules for the following productions:$E\rightarrow E_{1}\ast E_{2}$$E\rightarrow + E_{1}\:$(unary plus)
admin
568
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
intermediate-code
three-address-code
descriptive
+
–
0
votes
0
answers
3806
Ullman (Compiler Design) Edition 2 Exercise 6.3 Question 2 (Page No. 378)
Extend the handling of field names in Fig. $6.18$ to classes and single-inheritance class hierarchies. Give an implementation of class $Enu$ that allows linked symbol tables, so that a subclass can ... inherited fields. Inherited fields must maintain the relative addresses they were assigned in the layout for the superclass.
Extend the handling of field names in Fig. $6.18$ to classes and single-inheritance class hierarchies. Give an implementation of class $Enu$ that allows linked symbol tab...
admin
469
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
three-address-code
intermediate-code
descriptive
+
–
0
votes
0
answers
3807
Ullman (Compiler Design) Edition 2 Exercise 6.3 Question 1 (Page No. 378)
Determine the types and relative addresses for the identifiers in the following sequence of declarations: float x; record { float x; float y; } p; record { int tag; float x; float y; } q;
Determine the types and relative addresses for the identifiers in the following sequence of declarations:float x; record { float x; float y; } p; record { int tag; float ...
admin
1.2k
views
admin
asked
Sep 7, 2019
Compiler Design
ullman
compiler-design
three-address-code
intermediate-code
descriptive
+
–
0
votes
0
answers
3808
Ullman (Compiler Design) Edition 2 Exercise 5.4 Question 7 (Page No. 337)
Modify the SDD of Fig. $5.25$ to include superscripts denoted by operator sup between boxes. If box $B_{2}$ is a superscript of box $B_{1}$, then position the baseline of $B_{2}\:0.6$ times the point size of $B_{1}$ above the baseline of $B_{1}.\text{Add}$ the new production and rules to the SDT of Fig. $5.26$.
Modify the SDD of Fig. $5.25$ to include superscripts denoted by operator sup between boxes. If box $B_{2}$ is a superscript of box $B_{1}$, then position the baseline of...
admin
587
views
admin
asked
Sep 6, 2019
Compiler Design
ullman
compiler-design
syntax-directed-translation
grammar
descriptive
+
–
0
votes
0
answers
3809
Ullman (Compiler Design) Edition 2 Exercise 5.4 Question 6 (Page No. 337)
Modify the SDD of Fig. $5.25$ to include a synthesized attribute $B.le$, the length of a box. The length of the concatenation of two boxes is the sum of the lengths of each. Then add your new rules to the proper positions in the SDT of Fig. $5.26$.
Modify the SDD of Fig. $5.25$ to include a synthesized attribute $B.le$, the length of a box. The length of the concatenation of two boxes is the sum of the lengths of ea...
admin
617
views
admin
asked
Sep 6, 2019
Compiler Design
ullman
compiler-design
syntax-directed-translation
grammar
descriptive
+
–
0
votes
0
answers
3810
Ullman (Compiler Design) Edition 2 Exercise 5.4 Question 5 (Page No. 337)
Write L-attributed SDT's analogous to that of Example $5.19$ for the following productions, each of which represents a familiar flow-of-control construct, as in the programming language C. You may need to ... middle to the next statement, so it is not sufficient simply to generate code for each statement in order.
Write L-attributed SDT's analogous to that of Example $5.19$ for the following productions, each of which represents a familiar flow-of-control construct, as in the progr...
admin
471
views
admin
asked
Sep 6, 2019
Compiler Design
ullman
compiler-design
syntax-directed-translation
grammar
descriptive
+
–
Page:
« prev
1
...
122
123
124
125
126
127
128
129
130
131
132
...
590
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register