Recent questions tagged gatecse-2014-set3

69 69 votes
12 answers 12 answers
29.4k
29.4k views
Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches...
91 91 votes
11 answers 11 answers
38.5k
38.5k views
A bit-stuffing based framing protocol uses an $\text{8-bit}$ delimiter pattern of $01111110.$ If the output bit-string after stuffing is $01111100101,$ then the input bit...
44 44 votes
6 answers 6 answers
20.8k
20.8k views
In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is Network layer and RoutingData Link Layer and Bit synchronizationTransp...
65 65 votes
6 answers 6 answers
24.9k
24.9k views
A prime attribute of a relation scheme $R$ is an attribute that appearsin all candidate keys of $R$in some candidate key of $R$in a foreign key of $R$only in the primary ...
63 63 votes
6 answers 6 answers
18.0k
18.0k views
What is the optimized version of the relation algebra expression $\pi_{A1}(\pi_{A2}(\sigma_{F1}(\sigma_{F2}(r))))$, where $A1, A2$ are sets of attributes in $r$ with $A1...
28 28 votes
2 answers 2 answers
12.1k
12.1k views
A system uses $3$ page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page frames are...
9 9 votes
5 answers 5 answers
9.0k
9.0k views
In the context of modular software design, which one of the following combinations is desirable?High cohesion and high couplingHigh cohesion and low couplingLow cohesion ...
67 67 votes
4 answers 4 answers
20.3k
20.3k views
Which of the following statements are CORRECT?Static allocation of all data areas by a compiler makes it impossible to implement recursion. Automatic garbage collection i...
44 44 votes
7 answers 7 answers
15.2k
15.2k views
One of the purposes of using intermediate code in compilers is tomake parsing and semantic analysis simpler.improve error recovery and error reporting.increase the chance...
46 46 votes
6 answers 6 answers
15.4k
15.4k views
Let $\Sigma$ be a finite non-empty alphabet and let $2^{\Sigma^*}$ be the power set of $\Sigma^*$. Which one of the following is TRUE? Both $2^{\Sigma^*}$ and $\Sigma^*$ ...
76 76 votes
5 answers 5 answers
23.9k
23.9k views
The length of the shortest string NOT in the language (over $\Sigma = \{a, b\})$ of the following regular expression is _______.$$a^*b^*(ba)^*a^*$$
93 93 votes
10 answers 10 answers
44.8k
44.8k views
You have an array of $n$ elements. Suppose you implement quicksort by always choosing the central element of the array as the pivot. Then the tightest upper bound for the...
63 63 votes
5 answers 5 answers
33.4k
33.4k views
Suppose depth first search is executed on the graph below starting at some unknown vertex. Assume that a recursive call to visit a vertex is made only after first checkin...
66 66 votes
9 answers 9 answers
27.0k
27.0k views
Consider the following rooted tree with the vertex labeled $P$ as the root:The order in which the nodes are visited during an in-order traversal of the tree is$\text{SQPT...
85 85 votes
8 answers 8 answers
32.6k
32.6k views
The minimum number of arithmetic operations required to evaluate the polynomial $P(X) = X^5+4X^3+6X+5$ for a given value of $X$, using only one temporary variable is ____...
52 52 votes
4 answers 4 answers
19.4k
19.4k views
Let $A$ be the square matrix of size $n \times n$. Consider the following pseudocode. What is the expected output?C=100; for i=1 to n do for j=1 to n do { Temp = A[i][j]+...
50 50 votes
7 answers 7 answers
14.8k
14.8k views
Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency. $\text{P1:}$ Four-stage pipeline with stage latencies...
44 44 votes
4 answers 4 answers
12.2k
12.2k views
Consider the following combinational function block involving four Boolean variables $x,\:y,\:a,\:b$ where $x,\:a,\:b$ are inputs and $y$ is the output.f(x, a, b, y) { if...
30 30 votes
1 answers 1 answer
8.0k
8.0k views
Consider the following minterm expression for $F$:$$F(P,Q,R,S) = \sum 0,2,5,7,8,10,13,15$$The minterms $2$, $7$, $8$ and $13$ are 'do not care' terms. The minimal sum-of-...
50 50 votes
6 answers 6 answers
19.1k
19.1k views
If $\int \limits_0^{2 \pi} |x \: \sin x| dx=k\pi$, then the value of $k$ is equal to ______.
56 56 votes
5 5 answers
19.3k
19.3k views
If $V_1$ and $V_2$ are $4$-dimensional subspaces of a $6$-dimensional vector space $V$, then the smallest possible dimension of $V_1 \cap V_2$ is _____.
70 70 votes
6 answers 6 answers
19.9k
19.9k views
Which one of the following statements is TRUE about every $n \times n$ matrix with only real eigenvalues?If the trace of the matrix is positive and the determinant of the...
57 57 votes
3 answers 3 answers
12.8k
12.8k views
Let $G$ be a group with $15$ elements. Let $L$ be a subgroup of $G$. It is known that $L \neq\ G$ and that the size of $L$ is at least $4$. The size of $L$ is __________.
100 100 votes
6 answers 6 answers
24.2k
24.2k views
Let $X$ and $Y$ be finite sets and $f:X \to Y$ be a function. Which one of the following statements is TRUE?For any subsets $A$ and $B$ of $X, |f(A \cup B)| = |f(A)| + |f...
75 75 votes
5 answers 5 answers
18.5k
18.5k views
Consider the following statements:P: Good mobile phones are not cheapQ: Cheap mobile phones are not goodL: P implies QM: Q implies PN: P is equivalent to QWhich one of th...
34 34 votes
2 answers 2 answers
10.0k
10.0k views
Consider the equation: $(7526)_8 − (Y)_8 = (4364)_8$, where $(X)_N$ stands for $X$ to the base $N$. Find $Y$.$1634$$1737$$3142$$3162$
17 17 votes
2 answers 2 answers
4.9k
4.9k views
The ratio of male to female students in a college for five years is plotted in the following line graph. If the number of female students in $2011$ and $2012$ is equal, w...
45 45 votes
4 answers 4 answers
12.3k
12.3k views
The Gross Domestic Product $(GDP)$ in Rupees grew at $7\%$ during $2012-2013$. For international comparison, the $GDP$ is compared in US Dollars $(USD)$ after conversion ...
17 17 votes
2 answers 2 answers
3.5k
3.5k views
By the beginning of the $20^{\text{th}}$ century, several hypotheses were being proposed, suggesting a paradigm shift in our understanding of the universe. However, the c...
15 15 votes
3 answers 3 answers
3.0k
3.0k views
A dance programme is scheduled for $10.00$ a.m. Some students are participating in the programme and they need to come an hour earlier than the start of the event. These ...