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

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent activity by akb1115
User akb1115
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
User akb1115
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
1
answer
1
How to solve #defined ?
What is the output of the following C program? #include<stdio.h> #define SQR(x) (x*x) int main() { int a; int b=4; a=SQR(b+2); printf("%d\n",a); return 0; } 14 36 18 20
commented
Mar 2, 2018
in
Programming

81
views
programminginc
0
answers
2
where to look for my predicted score (CSE) gate 2018?
commented
Feb 18, 2018
in
GATE

401
views
score
calculator
1
answer
3
self doubt
what is the difference between estimated rank and current rank in GO RANK PREDICTOR?? I have a lot of difference between those both what should be considered ? some one please clarify
commented
Feb 15, 2018
in
Others

449
views
others
1
answer
4
MOCK TEST PROGRAMMING
Consider the following C program: The output of the program if dynamic programming is used ____
commented
Feb 1, 2018
in
Programming

198
views
badquestion
2
answers
5
selfdoubt
this year power grid is not recruiting cs?
commented
Jan 8, 2018
in
Job Queries

148
views
6
answers
6
GATE200544
What is the minimum number of ordered pairs of nonnegative numbers that should be chosen to ensure that there are two pairs $(a,b)$ and $(c,d)$ in the chosen set such that, $a \equiv c\mod 3$ and $b \equiv d \mod 5$ $4$ $6$ $16$ $24$
commented
Dec 26, 2017
in
Combinatory

4.4k
views
gate2005
settheory&algebra
normal
pigeonholeprinciple
0
answers
7
Test Series
Consider the following graph: Which of the following will represents the chromatic number of the graph? I think ans has to be 3 but given as 4
asked
Dec 24, 2017
in
Graph Theory

66
views
graphtheory
graphcoloring
1
answer
8
recurrence relation
Which recurrence relation satisfy the sequence: 2, 3, 4, . . ., for n ≥ 1. A ) T(N) = 2 T(N1)  T(N2) B)T(N) = T(N1) + T(N2) C)T(N) = N+1 D) None of these
commented
Dec 24, 2017
in
Mathematical Logic

470
views
recurrence
3
answers
9
GATE2012 CY: GA9
There are eight bags of rice looking alike, seven of which have equal weight and one is slightly heavier. The weighing balance is of unlimited capacity. Using this balance, the minimum number of weighings required to identify the heavier bag is $2$ $3$ $4$ $8$
commented
Dec 9, 2017
in
Numerical Ability

2.8k
views
gate2012cy
numericalability
logicalreasoning
2
answers
10
GATE2006IT67
A link of capacity $100$ $\text{Mbps}$ is carrying traffic from a number of sources. Each source generates an onoff traffic stream; when the source is on, the rate of traffic is $10$ $\text{Mbps}$, and when the source is off, the rate of traffic is zero. The duty cycle, which is the ratio ... $10$ $\text{and}$ $30$ $12$ $\text{and}$ $25$ $5$ $\text{and}$ $33$ $15$ $\text{and}$ $22$
commented
Dec 9, 2017
in
Computer Networks

3.3k
views
gate2006it
computernetworks
networkflow
normal
1
answer
11
Pointer arithmetic
What is the output of the following ? int main() { int arr[2][3][2]={1,2,3,4,5,6,7,8,9,10,11,12}; printf("%d%d", a[1]a[0], a[1][0]a[0][0]); return 0; }
answer selected
Dec 7, 2017
in
Programming

292
views
programminginc
pointers
1
answer
12
GATE201335
Consider the following relational schema. Students(rollno: integer, sname: string) Courses(courseno: integer, cname: string) Registration(rollno: integer, courseno: integer, percent: real) Which of the following queries are equivalent to this query in English? Find the distinct names of all students ... I, II, III and IV I, II and III only I, II and IV only II, III and IV only
commented
Nov 22, 2017
in
Databases

3.9k
views
gate2013
databases
sql
relationalcalculus
normal
1
answer
13
Flip flops
Consider the complemented circuit shown below: If the initial value of the output Q1 Q0 is 00, then the next three values of Q1 Q0 are: 10,01,01,00 10,01,11,00 10,01,00,01 10,01,10,00 Doubt: I am getting a sequence which is not matching with any of the option
commented
Nov 8, 2017
in
Digital Logic

259
views
digitallogic
flipflop
digitalcircuits
digitalcounter
sequential
0
answers
14
self doubts
A) Does digital signature provide privacy B) when questions are asked like RIP uses TCP or UDP, SMTP uses what etc etc....how do we know if it requires TCP or UDP...its smtn we should know or is there a way to find it or something C) Is Back off ... address of the receiver contains all 0's true or false F) what is hamming distance and to detect d errors the hamming distance should be?
commented
Nov 1, 2017
in
Computer Networks

136
views
0
answers
15
#Collisions
commented
Oct 31, 2017
in
Computer Networks

76
views
computernetworks
macprotocol
csmacd
0
answers
16
CSMA/CD
A simple network consist of two nodes X and Z which are 800 m apart. Each node has a single frame of F = 1500 bits (including all header and preambles) to send to each other. Both nodes attempt to transmit at t = 0'. In case that a node executes the exponential Backoff ... = 1 and Z draws k = 2. The time taken by X's packet (from t = 0) to be completely delivered to Z is ________ μs.
commented
Oct 31, 2017
in
Computer Networks

229
views
computernetworks
csmacd
ethernet
0
answers
17
Cryptography
Can a single secret key can be used by the sender to sign documents for multiple receiver ? I think we can because purpose of digital signature is to make sure that on the way data is not corrupted and also it is coming from the source expected by us.
commented
Oct 30, 2017
in
Computer Networks

187
views
networksecurity
computernetworks
1
answer
18
MadeEasy Subject Test: Computer Networks  Congestion Control
Assume a scenario where the size of congestion window of a TCP connection be 40 KB when a timeout occurs. The maximum segment size (MSS) be 2 KB. Let the propagation delay be 200 msec. The time taken by the TCP connection to get back to 40 KB congestion window is _________ msec.
commented
Oct 30, 2017
in
Computer Networks

328
views
madeeasytestseries
computernetworks
congestioncontrol
tcp
2
answers
19
made easy
Assume scenario where the size of CW of TCP connection is 40 KB when time out occurs ,MSS= 2KB ,Propagation delay = 200 msec , the time taken by TCP connection to get back 40KB CW is …msec CW = congestion window
commented
Oct 30, 2017
in
Computer Networks

101
views
2
answers
20
EM: Limits
Please solve the following question:
commented
Oct 30, 2017
in
Calculus

194
views
calculus
limits
engineeringmathematics
0
answers
21
Counting
How many ways 20 distinct numbers can be arranged in location/index 1 to 20 such that,three particular numbers(say 3,10,20) will always be present in the first half.(3,10,20 location/index will be always <11) ?
commented
Oct 29, 2017
in
Combinatory

79
views
discretemathematics
permutationandcombination
counting
1
answer
22
Linked List
Consider the following program struct node { int value; Node *next; } boolean fun(Node *head) { Node *a,*b; a=head; if(a==NULL) return TRUE; b=a>next; while(b!=NULL && b!=a) { b=b>next; if(b==NULL) return TRUE; b=b>next; a=a>next; } return(b==NULL); } Is the following code return this? a)
commented
Oct 29, 2017
in
DS

127
views
linkedlists
datastructure
2
answers
23
CN:Transport Layer: Data Transfer
What should be the value of Y, when P has no data to send to Q?
commented
Oct 29, 2017
in
Computer Networks

195
views
computernetworks
transportlayer
2
answers
24
Fragmentation
A TCP message consisting of 2800 bytes is passed to IP for delivery across two networks. The first network can carry a maximum payload of 1500 bytes per frame and the second network can carry a maximum payload of 500 bytes per frame, excluding network overhead. ... IP overhead in the second network for this transmission? Doubt: Answer is given as 120 Bytes but I am getting 140 Bytes
commented
Oct 29, 2017
in
Computer Networks

379
views
fragmentation
computernetworks
0
answers
25
Multiplexer select lines confusion
Here how do we know which variable of select lines is MSB and LSB ? Do we go in MSB>LSB ordering and take A as MSB and B as LSB or do we go by number taking B as MSB (as it is S1) and A as LSB (as it is S0) ?
commented
Oct 29, 2017
in
Digital Logic

513
views
digitallogic
1
answer
26
Computer Network  Optimum Packet Size
I think my answer is right ...Please Explain
commented
Oct 29, 2017
in
Computer Networks

404
views
ippacket
computernetworks
7
answers
27
GATE2005IT85b
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing ... $(t + 100)$ is : $>100$ but finite $\infty$ $3$ $>3$ and $\leq 100$
commented
Oct 28, 2017
in
Computer Networks

4.7k
views
gate2005it
computernetworks
routing
normal
1
answer
28
cpu scheduling
commented
Oct 27, 2017
in
Operating System

107
views
operatingsystem
cpuscheduling
1
answer
29
output of program
#include <stdio.h> int main() { //int a; char c='a'; switch(c){ case 'a' && 1:printf("gate"); case 'b' && 1:printf("cse"); break; default: printf("2018"); } return 0; } what is the output for the program?
answered
Oct 27, 2017
in
Programming

56
views
1
answer
30
Consider bandwidth of line is 100 Mbps and sequence number of field consists 32 bits on a TCP machine. #techtud
answered
Oct 24, 2017
in
Computer Networks

231
views
computernetworks
tcp
4
answers
31
GATE2014225
In the diagram shown below, $L1$ is an Ethernet LAN and $L2$ is a TokenRing LAN. An $IP$ packet originates from sender $S$ and traverses to $R$, as shown. The links within each $\text{ISP}$ and across the two $\text{ISP}$s, are all pointtopoint ... of the $\text{TTL}$ field is $32$. The maximum possible value of the $\text{TTL}$ field when $R$ receives the datagram is _______.
commented
Oct 24, 2017
in
Computer Networks

5.9k
views
gate20142
computernetworks
numericalanswers
lantechnologies
ethernet
tokenring
normal
2
answers
32
GATE2007IT64
A broadcast channel has $10$ nodes and total capacity of $10$ Mbps. It uses polling for medium access. Once a node finishes transmission, there is a polling delay of $80$ μs to poll the next node. Whenever a node is polled, it is allowed to transmit a maximum of $1000$ bytes. The maximum throughput of the broadcast channel is: $1$ Mbps $100/11$ Mbps $10$ Mbps $100$ Mbps
comment reshown
Oct 23, 2017
in
Computer Networks

2.7k
views
gate2007it
computernetworks
communication
normal
5
answers
33
GATE200948
Let $G(x)$ be the generator polynomial used for CRC checking. What is the condition that should be satisfied by $G(x)$ to detect odd number of bits in error? $G(x)$ contains more than two terms $G(x)$ does not divide $1+x^k$, for any $k$ not exceeding the frame length $1+x$ is a factor of $G(x)$ $G(x)$ has an odd number of terms.
comment edited
Oct 23, 2017
in
Computer Networks

7.5k
views
gate2009
computernetworks
errordetection
normal
0
answers
34
subnetmask
For class B network, all even bit positions are selected for subnet mask bits. What is the possible subnet mask? (A) 255.25.170.170 (B) 255.255.85.85 (C) 255.255.255.240 (D) None
commented
Oct 22, 2017
in
Computer Networks

276
views
computernetworks
subnetting
0
answers
35
P and C
Right triangle PQR is to be constructed in the xyplane so that the right angle is at P and line PR is parallel to the xaxis. The x and y coordinates of P, Q and R are to be integers that satisfy the inequalities :– $4\leq x \leq 5$ and $6\leq y \leq 16$ . How many different triangles could be constructed with these properties ? (a) 110 (b) 1,100 (c) 9,900 (d) 10,000
commented
Oct 22, 2017
in
Mathematical Logic

92
views
counting
3
answers
36
Mathematics: GATE2012XE
Ten chocolates are distributed randomly among three children standing in a row. The probability that the first child receives exactly three chocolates is $\frac{5 \times 2^{11}}{3^9}$ $\frac{5 \times 2^{10}}{3^9}$ $\frac{1}{3^9}$ $\frac{1}{3}$
commented
Oct 22, 2017
in
Probability

403
views
gate2012xe
probability
numericalability
1
answer
37
correct formula for not all sunny days are hot
answered
Oct 20, 2017
in
Mathematical Logic

112
views
2
answers
38
mtu
Suppose that host A is connected to a router R 1, R 1 is connected to another router, R 2, and R 2 is connected to host B. Suppose that a TCP message that contains 900 bytes of data and 20 bytes of TCP header is passed to the IP code at host A for ... 512 bytes, including an 8byte frame header, and link R2B can support a maximum frame size of 512 bytes including a 12byte frame header.
answered
Oct 19, 2017
in
Computer Networks

2k
views
2
answers
39
Tanenbaum Q34 (Network Layer)
Suppose that host A is connected to a router R 1, R 1 is connected to another router, R2, and R2 is connected to host B. Suppose that a TCP message that contains 900 bytes of data and 20 bytes of TCP header is passed to the IP code at ... including an 8byte frame header, and link R2B can support a maximum frame size of 512 bytes including a 12byte frame header.
answered
Oct 19, 2017
in
Computer Networks

270
views
computernetworks
2
answers
40
Performance c
Consider the system have L1 data cache with 50 percent of hit rate and take 2 cycles when hit in L1 cache, L2 cache with 70% of hit rate and take 15 cycles when hit in L2 cache and main memory with 100% of the hit rate and 200 cycles when hit in main memory to access ... by 15% then the improvement in L1 miss time is ____________(upto 2 decimals) 1. 2.14 2. 2.78 3. 1.48 4. 1.14
answer selected
Oct 16, 2017
in
CO and Architecture

334
views
coandarchitecture
cachememory
hitratio
badquestion
50,648
questions
56,459
answers
195,337
comments
100,190
users