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
Answers 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
+3
votes
1
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
+16
votes
2
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$
answered
Oct 24, 2017
in
Computer Networks

3.3k
views
gate2006it
computernetworks
networkflow
normal
+2
votes
3
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
+12
votes
4
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}$
answered
Oct 22, 2017
in
Probability

405
views
gate2012xe
probability
numericalability
+1
vote
5
correct formula for not all sunny days are hot
answered
Oct 20, 2017
in
Mathematical Logic

112
views
0
votes
6
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
votes
7
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

271
views
computernetworks
0
votes
8
Self Doubt TOC Enumeration Method
If language L is countable infinite set then, L is Recursive as we can define enumeration method for the countable set. or It can Regular ??
answered
Jul 18, 2017
in
Theory of Computation

176
views
theoryofcomputation
recursiveandrecursivelyenumerablelanguages
+2
votes
9
Rices theorem
I mean how it is a trivial property, we can write Tyes ( TM having even states) and Tno ( TM having odd states) for it.Can Turing machine can never have odd number of states?
answered
Jul 18, 2017
in
Theory of Computation

95
views
decidability
ricetheorem
0
votes
10
Minimum Number of tables for given ERDiagram
answered
Mar 29, 2017
in
Databases

1k
views
erdiagram
databases
+2
votes
11
Minimal String
Consider the following regular expression (RE) RE = (aa + ab)+ (a + b)+ (a + b)* How many minimal strings exist for the above RE? I think answer should be 1 i.e ἑ but answer given is 4.
answered
Mar 21, 2017
in
Programming

302
views
theoryofcomputation
0
votes
12
GATE2014339
Suppose we have a balanced binary search tree $T$ holding $n$ numbers. We are given two numbers $L$ and $H$ and wish to sum up all the numbers in $T$ that lie between $L$ and $H$. Suppose there are $m$ such numbers in $T$. If the tightest upper bound on the time to compute the sum is $O(n^a\log^bn+m^c\log^dn)$, the value of $a+10b+100c+1000d$ is ______.
answered
Jan 29, 2017
in
DS

9.8k
views
gate20143
datastructure
binarysearchtree
numericalanswers
normal
+4
votes
13
CA q 19
A weather forecasting computation requires 250 billion floating point operations. The problem is processed in a super computer that can perform 100 mega flops. How long will it take to do these calculations?(in mins) a. 21.32 b. 31.42 c. 41.67 d. 38.67
answered
Oct 9, 2016
in
CO and Architecture

708
views
coandarchitecture
0
votes
14
Dcfl or not
L={w0w $\mid$ w$\in$(0+a+b)*}
answered
Jan 28, 2016
in
Theory of Computation

265
views
identifyclasslanguage
–1
vote
15
Finding minimum states in FA.
If it is asked for minimum states required in FA for some language, we can have both NFA and DFA, and NFA has lesser number of states but many books write that consider DFA as default. What to take into consideration in such case?NFA or DFA?
answered
Jan 28, 2016
in
Theory of Computation

215
views
theoryofcomputation
minimalstateautomata
finiteautomata
0
votes
16
type of language
let L=(a,b,c)*  the length of x is square then L is  a)Regular b)recursive but not context free c)context free but not regular d)none of these.
answered
Jan 28, 2016
in
Theory of Computation

113
views
identifyclasslanguage
+1
vote
17
Automata1.1
Let $L_1$ and $L_2$ be languages over $\Sigma$ and assume that $L_1 \cap L_2 = \phi$. if $L_1$ is finite language and $L_1 \cup L_2$ is regular then $L_2$ is ____ ? a. Regular language and finite b. Regular language and infinite c. Need not be regular d. None of these.
answered
Jan 25, 2016
in
Theory of Computation

97
views
identifyclasslanguage
0
votes
18
The following machine is designed with PDA acceptence by final state to accept odd length palindromes
answered
Jan 24, 2016
in
Theory of Computation

458
views
theoryofcomputation
0
votes
19
Number of child
Can Anyone Explain clearly process { fork(); fork(); fork(); } what are the number of childs?
answered
Jan 24, 2016
in
Operating System

97
views
50,644
questions
56,503
answers
195,553
comments
101,035
users