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 jaswanth431
2
answers
1
GATE Overflow Test Series | Mock GATE | Test 2 | Question: 55
Consider a five-stage pipeline with ideal CPI. Assume that $25\%$ of the instructions executed are branch instructions out of which $75\%$ are taken branches. If the branch target is known at the end of EX stage, what will be the ... prediction and branch misprediction penalty on average is $10$ cycles? $3.34$ $3.07$ $4.00$ $4.11$
Consider a five-stage pipeline with ideal CPI. Assume that $25\%$ of the instructions executed are branch instructions out of which $75\%$ are taken branches. If the bran...
931
views
commented
Jan 17, 2022
CO and Architecture
go2025-mockgate-2
pipelining
speedup
+
–
1
answer
2
GATE Overflow Test Series | Discrete Mathematics | Test 2 | Question: 11
Professor Nalanda has $6$ distinct properties which he decided to distribute among his $4$ daughters. He hires a consultancy firm for the same which charges Rs. 100 for each of the possible distribution assuming each ... being considered distinct. How much fee will Professor have to pay the agency (in multiples of 100)?
Professor Nalanda has $6$ distinct properties which he decided to distribute among his $4$ daughters. He hires a consultancy firm for the same which charges Rs. 100 for e...
568
views
commented
Jan 16, 2022
Combinatory
go2025-dm-2
numerical-answers
combinatory
counting
moderate
+
–
1
answer
3
GATE Overflow Test Series | Discrete Mathematics | Test 2 | Question: 12
A game of cards is played among $4$ friends. After the initial split of $52$ cards, the tallest person told that he has got $4$ Aces and all the remaining $9$ cards are of the same suit. Total number of ways in which this is possible is $\_\_\_$
A game of cards is played among $4$ friends. After the initial split of $52$ cards, the tallest person told that he has got $4$ Aces and all the remaining $9$ cards are o...
384
views
commented
Jan 16, 2022
Combinatory
go2025-dm-2
numerical-answers
combinatory
counting
moderate
+
–
1
answer
4
GATE Overflow Test Series | Programming | Test 1 | Question: 15
Consider the following C structure declaration. struct abc { double myfield1; int myfield2; }myobj; Which of the following pointer declarations would not cause any undefined behaviour for the above given structure fields? char *p = (char*) & ... (int*) &myobj.myfield1; double *p = (double*) &myobj.myfield2; Both $B$ and $C$
Consider the following C structure declaration.struct abc { double myfield1; int myfield2; }myobj;Which of the following pointer declarations would not cause any undefine...
665
views
commented
Jan 13, 2022
Programming in C
go2025-programming-1
pointers
+
–
1
answer
5
GATE Overflow Test Series | Programming | Test 1 | Question: 12
Consider the following C program fragment: double a = getMyDouble(); float b, c; b = getMyFloat(); c = a + b; If the assembly instruction corresponding to the addition is "ADD R0, R1" where R0 is having the value corresponding to the variable b, the minimum required size in bytes of the register R0 is _____ bytes.
Consider the following C program fragment:double a = getMyDouble(); float b, c; b = getMyFloat(); c = a + b;If the assembly instruction corresponding to the addition is "...
546
views
commented
Jan 13, 2022
Programming in C
go2025-programming-1
numerical-answers
data-types
+
–
3
answers
6
GATE Overflow Test Series | Programming | Test 1 | Question: 1
Consider the following C code fragment ( denote further statements): int main() { int my_array[30][40][50]; init_array(&my_array); ... } Which of the following is a valid declaration for the function init_array? Mark all the correct ... array)[30][40][50]); void init_array(int *** array); void init_array(int ** array[30][40]);
Consider the following C code fragment (… denote further statements):int main() { int my_array[30][40][50]; init_array(&my_array); ... }Which of the following is a vali...
693
views
commented
Jan 13, 2022
Programming in C
go2025-programming-1
parameter-passing
pointers
multiple-selects
+
–
7
answers
7
GATE CSE 2015 Set 1 | Question: 55
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is__________________.
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is_...
29.0k
views
commented
Jan 12, 2022
Compiler Design
gatecse-2015-set1
compiler-design
intermediate-code
normal
numerical-answers
static-single-assignment
+
–
1
answer
8
GATE Overflow Test Series | Compiler Design | Test 1 | Question: 30
The program below uses three input variables $a,b$ and $c$ and two temporary variables $d$ and $e.$ d = a + b; e = c + d; d = c + a; e = d + b; return d * e; Assuming that all operations take their operands from registers, the minimum number of registers needed to execute this program without spilling is ________
The program below uses three input variables $a,b$ and $c$ and two temporary variables $d$ and $e.$d = a + b; e = c + d; d = c + a; e = d + b; return d * e;Assuming that ...
610
views
commented
Jan 11, 2022
Compiler Design
go2025-cd-1
numerical-answers
intermediate-code
target-code-generation
register-allocation
+
–
1
answer
9
GATE Overflow Test Series | Mock GATE | Test 1 | Question: 37
Consider an infinite queue that can send data at $10$ Kbps. Assume the following arrival traffic: During every odd second the queue receives an $1000$ bit packet every $50$ ms. During every even second the queue receives no data. Assume an interval ... the maximum queue size (i.e no of packets) during interval $'I'$? $10$ $11$ $12$ $13$
Consider an infinite queue that can send data at $10$ Kbps. Assume the following arrival traffic: During every odd second the queue receives an $1000$ bit packet every $5...
808
views
commented
Jan 8, 2022
Computer Networks
go2025-mockgate-1
computer-networks
+
–
2
answers
10
GATE Overflow Test Series | Mock GATE | Test 1 | Question: 33
Consider the following C program run on a system using $\text{IEEE-754}$ representation for floating-point numbers. #include<stdio.h> int main() { float a=2.4,b=2.5; if(a==2.4) { printf("2021"); } if(b==2. ... "2020"); } return 0; } What will be the output of the above program? $20212020$ $2020$ $2021$ No output
Consider the following C program run on a system using $\text{IEEE-754}$ representation for floating-point numbers.#include<stdio.h int main() { float a=2.4,b=2.5; if...
1.1k
views
commented
Jan 8, 2022
Programming in C
go2025-mockgate-1
programming-in-c
data-types
+
–
1
answer
11
GATE Overflow Test Series | Mock GATE | Test 1 | Question: 26
The number of ways $12$ students in a class can take $3$ subject tests if each test is taken by $4$ students and each student take exactly one test is _____ $34000$ $34750$ $34650$ $35000$
The number of ways $12$ students in a class can take $3$ subject tests if each test is taken by $4$ students and each student take exactly one test is _____$34000$$34750$...
725
views
commented
Jan 8, 2022
Combinatory
go2025-mockgate-1
combinatory
+
–
1
answer
12
GATE Overflow Test Series | Theory of Computation | Test 1 | Question: 1
Which of the following statements is/are TRUE regarding pumping lemma for regular languages? (Mark all the appropriate choices) Satisfying pumping lemma is a necessary condition for a language to be regular Satisfying ... be not regular Not satisfying pumping lemma is a sufficient condition for a language to be not regular
Which of the following statements is/are TRUE regarding pumping lemma for regular languages? (Mark all the appropriate choices)Satisfying pumping lemma is a necessary con...
370
views
commented
Jan 8, 2022
Theory of Computation
go2025-toc-1
pumping-lemma
multiple-selects
+
–
3
answers
13
GATE Overflow Test Series | Probability | Test 1 | Question: 27
An unbiased coin is tossed repeatedly and its outcome is recorded. What is the expected number of trials to get $\text{HT}$ consecutively?
An unbiased coin is tossed repeatedly and its outcome is recorded. What is the expected number of trials to get $\text{HT}$ consecutively?
313
views
commented
Jan 7, 2022
Probability
go2025-probability-1
numerical-answers
expectation
+
–
3
answers
14
GATE Overflow Test Series | Probability | Test 1 | Question: 13
A couple decides to keep having children until they have at least one boy and at least one girl. If the probability for a boy or a girl are the same, and they can produce children indefinitely, what is the expected number of children they will get? 3 2 4 6
A couple decides to keep having children until they have at least one boy and at least one girl. If the probability for a boy or a girl are the same, and they can produce...
329
views
commented
Jan 7, 2022
Probability
go2025-probability-1
expectation
+
–
2
answers
15
GATE Overflow Test Series | Probability | Test 1 | Question: 10
The expected value of the product when two dice are rolled is _____
The expected value of the product when two dice are rolled is _____
318
views
commented
Jan 6, 2022
Probability
go2025-probability-1
numerical-answers
+
–
5
answers
16
GATE IT 2008 | Question: 42
The two numbers given below are multiplied using the Booth's algorithm. Multiplicand : $0101$ $1010$ $1110$ $1110$ Multiplier: $0111$ $0111$ $1011$ $1101$ How many additions/Subtractions are required for the multiplication of the above two numbers? $6$ $8$ $10$ $12$
The two numbers given below are multiplied using the Booth's algorithm.Multiplicand : $0101$ $1010$ $1110$ $1110$Multiplier: ...
21.8k
views
commented
Jan 4, 2022
Digital Logic
gateit-2008
digital-logic
booths-algorithm
normal
+
–
1
answer
17
Self doubt: what are eigen values of resultant matrix when add two matrices?
if eigen values of matrix A = a,b,c if eigen values of matrix B = x,y,z then is it holds every time that eigen value of A+B = a+x, b+y, c+z ? please give some reference to you answer, thankyou.
if eigen values of matrix A = a,b,cif eigen values of matrix B = x,y,zthen is it holds every time that eigen value of A+B = a+x, b+y, c+z ?please give some reference to y...
278
views
asked
Dec 12, 2021
Linear Algebra
engineering-mathematics
eigen-value
linear-algebra
matrix
+
–
0
answers
18
Engineering mathematics questions
I feel i am weak in engineering mathematics, that's why I want to solve EM previous year questions of other branches, can someone share any pdf or any link with those questions. I will be helpful for my preparation. Thank you
I feel i am weak in engineering mathematics, that's why I want to solve EM previous year questions of other branches, can someone share any pdf or any link with those que...
175
views
asked
Dec 4, 2021
Mathematical Logic
engineering-mathematics
+
–
2
answers
19
GATE CSE 2015 Set 1 | Question: 17
In one of the pairs of protocols given below , both the protocols can use multiple $\textsf{TCP}$ connections between the same client and the server. Which one is that? $\textsf{HTTP, FTP}$ $\textsf{HTTP, TELNET}$ $\textsf{FTP, SMTP}$ $\textsf{HTTP, SMTP}$
In one of the pairs of protocols given below , both the protocols can use multiple $\textsf{TCP}$ connections between the same client and the server. Which one is that?$\...
14.0k
views
commented
Dec 2, 2021
Computer Networks
gatecse-2015-set1
computer-networks
network-protocols
normal
+
–
2
answers
20
#Selfdoubt How L-attributed semantic rules are evaluated? Whether they are evaluated simultaneously during parsing?
If the grammar has only S-attributed semantic definitions, in a top down parser we will add the semantic action at the end of production and it will we executed when we...
859
views
asked
Nov 16, 2021
Compiler Design
compiler-design
syntax-directed-translation
+
–
4
answers
21
GATE CSE 2013 | Question: 51
The procedure given below is required to find and replace certain characters inside an input character string supplied in array $A$. The characters to be replaced are supplied in array $oldc$, while their respective replacement characters are supplied in array $newc$. ... will be successful in exposing the flaw in this procedure? None $2$ only $3$ and $4$ only $4$ only
The procedure given below is required to find and replace certain characters inside an input character string supplied in array $A$. The characters to be replaced are sup...
5.3k
views
commented
Nov 4, 2021
DS
gatecse-2013
data-structures
array
normal
+
–
9
answers
22
GATE CSE 2013 | Question: 50
The procedure given below is required to find and replace certain characters inside an input character string supplied in array $A$. The characters to be replaced are supplied in array $oldc$ ... given above, how many test cases will be able to capture the flaw? Only one Only two Only three All four
The procedure given below is required to find and replace certain characters inside an input character string supplied in array $A$. The characters to be replaced are sup...
14.4k
views
answered
Nov 4, 2021
DS
gatecse-2013
data-structures
array
normal
+
–
7
answers
23
GATE CSE 2010 | Question: 54
Consider a network with $6$ routers $\textbf{R1}$ to $\textbf{R6}$ connected with links having weights as shown in the following diagram. All the routers use the distance vector based routing algorithm to update their routing tables. Each router starts with its ... stabilize, how many links in the network will never be used for carrying any data? $4$ $3$ $2$ $1$
Consider a network with $6$ routers $\textbf{R1}$ to $\textbf{R6}$ connected with links having weights as shown in the following diagram.All the routers use the distance ...
23.7k
views
commented
Nov 3, 2021
Computer Networks
gatecse-2010
computer-networks
routing
distance-vector-routing
normal
+
–
4
answers
24
GATE CSE 2005 | Question: 9
The following is the Hasse diagram of the poset $\left[\{a,b,c,d,e\},≺\right]$ The poset is : not a lattice a lattice but not a distributive lattice a distributive lattice but not a Boolean algebra a Boolean algebra
The following is the Hasse diagram of the poset $\left[\{a,b,c,d,e\},≺\right]$The poset is :not a latticea lattice but not a distributive latticea distributive lattice ...
9.3k
views
commented
Nov 1, 2021
Set Theory & Algebra
gatecse-2005
set-theory&algebra
lattice
normal
+
–
0
answers
25
Applied gate testseries: No of abelian groups of order 160 is
Can somebody explain the following question and answer?
Can somebody explain the following question and answer?
264
views
asked
Oct 31, 2021
4
answers
26
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
commented
Oct 8, 2021
Calculus
gatecse-2014-set3
calculus
limits
integration
normal
+
–
3
answers
27
GATE CSE 1994 | Question: 1.2
Let $A$ and $B$ be real symmetric matrices of size $n \times n$. Then which one of the following is true? $AA'=I$ $A=A^{-1}$ $AB=BA$ $(AB)'=BA$
Let $A$ and $B$ be real symmetric matrices of size $n \times n$. Then which one of the following is true?$AA'=I$$A=A^{-1}$$AB=BA$$(AB)'=BA$
7.8k
views
commented
Sep 23, 2021
Linear Algebra
gate1994
linear-algebra
normal
matrix
+
–
3
answers
28
GATE2019 IN: GA-2
Some students were not involved in the strike. If the above statement is true, which of the following conclusions is/are logically necessary? Some who were involved in the strike were students. No student was involved in the strike. At least one student was involved in the strike. Some who were not involved in the strike were students. $1$ and $2$ $3$ $4$ $2$ and $3$
Some students were not involved in the strike.If the above statement is true, which of the following conclusions is/are logically necessary?Some who were involved in the ...
2.9k
views
commented
Sep 22, 2021
Analytical Aptitude
gate2019-in
general-aptitude
analytical-aptitude
statements-follow
+
–
8
answers
29
GATE CSE 2014 Set 2 | Question: 47
The product of the non-zero eigenvalues of the matrix is ____ $\begin{pmatrix} 1 & 0 & 0 & 0 & 1 \\ 0 & 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 1 & 0 \\ 1 & 0 & 0 & 0 & 1 \end{pmatrix}$
The product of the non-zero eigenvalues of the matrix is ____$\begin{pmatrix} 1 & 0 & 0 & 0 & 1 \\ 0 & 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 1 & 0 \\ 1 & 0 & ...
37.3k
views
commented
Sep 20, 2021
Linear Algebra
gatecse-2014-set2
linear-algebra
eigen-value
normal
numerical-answers
+
–
4
answers
30
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.3k
views
answered
Sep 16, 2021
Probability
gatecse-2011
probability
random-variable
normal
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register