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
Recent activity by Anshul999
2
answers
1
GATE CSE 2020 | Question: 33
Consider the productions $A \rightarrow PQ$ and $A \rightarrow XY$. Each of the five non-terminals $A, P, Q, X,$ and $Y$ has two attributes: $s$ is a synthesized attribute, and $i$ ... Only Rule $1$ is $L$-attributed. Only Rule $2$ is $L$-attributed. Neither Rule $1$ nor Rule $2$ is $L$-attributed.
Consider the productions $A \rightarrow PQ$ and $A \rightarrow XY$. Each of the five non-terminals $A, P, Q, X,$ and $Y$ has two attributes: $s$ is a synthesized attribu...
9.3k
views
commented
Feb 12, 2020
Compiler Design
gatecse-2020
compiler-design
syntax-directed-translation
2-marks
+
–
4
answers
2
GATE CSE 2020 | Question: 49
Consider a graph $G = (V,E)$, where $V = \{v_1,v_2, \dots ,v_{100}\}$, $E = \{(v_i,v_j) \mid 1\leq i < j \leq 100\}$, and weight of the edge $(v_i,v_j)$ is $\mid i – j \mid$. The weight of minimum spanning tree of $G$ is _________
Consider a graph $G = (V,E)$, where $V = \{v_1,v_2, \dots ,v_{100}\}$, $E = \{(v_i,v_j) \mid 1\leq i < j \leq 100\}$, and weight of the edge $(v_i,v_j)$ is $\mid i – j ...
9.8k
views
answered
Feb 12, 2020
Algorithms
gatecse-2020
numerical-answers
algorithms
graph-algorithms
2-marks
+
–
4
answers
3
GATE CSE 2020 | Question: 48
Consider the following C functions. int tob (int b, int* arr) { int i; for (i = 0; b>0; i++) { if (b%2) arr [i] = 1; else arr[i] = 0; b = b/2; } return (i); } int pp(int a, int b) { int arr[20]; int i, tot = 1, ex, len; ex = a; len = tob(b ... ; i<len ; i++) { if (arr[i] ==1) tot = tot * ex; ex= ex*ex; } return (tot) ; } The value returned by $pp(3,4)$ is _______.
Consider the following C functions.int tob (int b, int* arr) { int i; for (i = 0; b>0; i++) { if (b%2) arr [i] = 1; else arr[i] = 0; b = b/2; } ret...
11.4k
views
answered
Feb 12, 2020
Algorithms
gatecse-2020
numerical-answers
identify-function
2-marks
+
–
3
answers
4
GATE CSE 2020 | Question: 27
Let $A$ and $B$ be two $n \times n$ matrices over real numbers. Let rank($M$) and $\text{det}(M)$ denote the rank and determinant of a matrix $M$, respectively. Consider the following statements. $\text{rank}(AB) = \text{rank }(A) \text{rank }(B)$ ... Which of the above statements are TRUE? I and II only I and IV only II and III only III and IV only
Let $A$ and $B$ be two $n \times n$ matrices over real numbers. Let rank($M$) and $\text{det}(M)$ denote the rank and determinant of a matrix $M$, respectively. Consider...
10.2k
views
answered
Feb 12, 2020
Linear Algebra
gatecse-2020
linear-algebra
matrix
2-marks
+
–
3
answers
5
GATE CSE 2020 | Question: 25
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send $\textsf{HTTP}$ requests in non-persistent mode. The web ... small images.The minimum number of $\textsf{TCP}$ connections required to display the web page completely in your browser is__________.
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to s...
15.3k
views
answered
Feb 12, 2020
Computer Networks
gatecse-2020
numerical-answers
computer-networks
application-layer-protocols
1-mark
+
–
4
answers
6
GATE CSE 2020 | Question: GA-3
Select the word that fits the analogy: Cook : Cook :: Fly : _______ Flyer Flying Flew Flighter
Select the word that fits the analogy:Cook : Cook :: Fly : _______FlyerFlyingFlewFlighter
7.9k
views
answered
Feb 12, 2020
Verbal Aptitude
gatecse-2020
verbal-aptitude
word-pairs
1-mark
+
–
6
answers
7
GATE CSE 2020 | Question: GA-2
His knowledge of the subject was excellent but his classroom performance was_______. extremely poor good desirable praiseworthy
His knowledge of the subject was excellent but his classroom performance was_______.extremely poorgooddesirablepraiseworthy
5.9k
views
answered
Feb 12, 2020
Verbal Aptitude
gatecse-2020
verbal-aptitude
english-grammar
meaning
1-mark
+
–
10
answers
8
GATE CSE 2013 | Question: 29
Consider a hard disk with $16$ recording surfaces $(0-15)$ having $16384$ cylinders $(0-16383)$ and each cylinder contains $64$ sectors $(0-63)$. Data storage capacity in each sector is $512$ bytes. Data are organized cylinder-wise and the addressing ... cylinder number of the last sector of the file, if it is stored in a contiguous manner? $1281$ $1282$ $1283$ $1284$
Consider a hard disk with $16$ recording surfaces $(0-15)$ having $16384$ cylinders $(0-16383)$ and each cylinder contains $64$ sectors $(0-63)$. Data storage capacity in...
30.3k
views
commented
Jan 23, 2020
Operating System
gatecse-2013
operating-system
disk
normal
+
–
4
answers
9
GATE CSE 1988 | Question: 2xii
Consider the following program skeleton and below figure which shows activation records of procedures involved in the calling sequence. $p \rightarrow s \rightarrow q \rightarrow r \rightarrow q.$Write the access links of the activation records to enable correct access and ... procedure r; begin q end r; begin r end q; procedure s; begin q end s; begin s end p;
Consider the following program skeleton and below figure which shows activation records of procedures involved in the calling sequence. $$p \rightarrow s \rightarrow q \r...
6.2k
views
commented
Oct 30, 2019
Compiler Design
gate1988
normal
descriptive
runtime-environment
compiler-design
+
–
3
answers
10
GATE CSE 2017 Set 1 | Question: 52
Consider the expression $(a-1) * (((b+c)/3)+d)$. Let $X$ be the minimum number of registers required by an optimal code generation (without any register spill) algorithm for a load/store architecture, in which only load and store ... memory operands and arithmetic instructions can have only register or immediate operands. The value of $X$ is _____________ .
Consider the expression $(a-1) * (((b+c)/3)+d)$. Let $X$ be the minimum number of registers required by an optimal code generation (without any register spill) algorithm ...
19.4k
views
commented
Oct 30, 2019
Compiler Design
gatecse-2017-set1
compiler-design
register-allocation
normal
numerical-answers
+
–
2
answers
11
ISI2015-MMA-7
Suppose $X$ is distributed as Poisson with mean $λ.$ Then $E(1/(X + 1))$ is $\frac{e^{\lambda }-1}{\lambda }$ $\frac{e^{\lambda }-1}{\lambda +1}$ $\frac{1-e^{-\lambda }}{\lambda}$ $\frac{1-e^{-\lambda }}{\lambda + 1}$
Suppose $X$ is distributed as Poisson with mean $λ.$ Then $E(1/(X + 1))$ is$\frac{e^{\lambda }-1}{\lambda }$$\frac{e^{\lambda }-1}{\lambda +1}$$\frac{1-e^{-\lambda }}{\l...
2.9k
views
commented
Oct 21, 2019
Probability
isi2015
engineering-mathematics
poisson-distribution
+
–
5
answers
12
TIFR CSE 2012 | Part A | Question: 2
If $Mr.M$ is guilty, then no witness is lying unless he is afraid. There is a witness who is afraid. Which of the following statements is true? (Hint: Formulate the problem using the following predicates $G - Mr.M$ is guilty $W(x) - x$ ... guilty. From these facts one cannot conclude that $Mr.M$ is guilty. There is a witness who is lying. No witness is lying.
If $Mr.M$ is guilty, then no witness is lying unless he is afraid. There is a witness who is afraid. Which of the following statements is true?(Hint: Formulate the proble...
4.4k
views
commented
Sep 6, 2019
Mathematical Logic
tifr2012
mathematical-logic
first-order-logic
+
–
2
answers
13
TIFR CSE 2011 | Part B | Question: 21
Let $S=\left \{ x_{1},....,x_{n} \right \}$ be a set of $n$ numbers. Consider the problem of storing the elements of $S$ in an array $A\left [ 1...n \right ]$ ... time. This problem can be solved in $O \left ( n^{2} \right )$ time but not in $O(n\log n)$ time. None of the above.
Let $S=\left \{ x_{1},....,x_{n} \right \}$ be a set of $n$ numbers. Consider the problem of storing the elements of $S$ in an array $A\left [ 1...n \right ]$ such that t...
2.1k
views
commented
Jun 23, 2019
Algorithms
tifr2011
algorithms
sorting
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register