Recent questions tagged gatecse-2010

97 97 votes
10 answers 10 answers
40.3k
40.3k views
A computer system has an $L1$ cache, an $L2$ cache, and a main memory unit connected as shown below. The block size in $L1$ cache is $4$ words. The block size in $L2$ cac...
48 48 votes
5 answers 5 answers
24.3k
24.3k views
Consider a complete undirected graph with vertex set $\{0, 1, 2, 3, 4\}$. Entry $W_{ij}$ in the matrix $W$ below is the weight of the edge $\{i, j\}$$$W=\begin{pmatrix} 0...
121 121 votes
13 answers 13 answers
45.7k
45.7k views
A hash table of length $10$ uses open addressing with hash function $h(k) = k \: \mod \: 10$, and linear probing. After inserting $6$ values into an empty hash table, the...
55 55 votes
9 answers 9 answers
20.7k
20.7k views
Consider a network with $6$ routers $R1$ to $R6$ connected with links having weights as shown in the following diagram.Suppose the weights of all unused links are changed...
76 76 votes
12 answers 12 answers
29.2k
29.2k views
Given digits $ 2, 2, 3, 3, 3, 4, 4, 4, 4$ how many distinct $4$ digit numbers greater than $3000$ can be formed?$50$$51$$52$$54$
27 27 votes
3 answers 3 answers
12.4k
12.4k views
$5$ skilled workers can build a wall in $20$ days; $8$ semi-skilled workers can build a wall in $25$ days; $10$ unskilled workers can build a wall in $30$ days. If a team...
19 19 votes
3 answers 3 answers
7.6k
7.6k views
Modern warfare has changed from large scale clashes of armies to suppression of civilian populations. Chemical agents that do their work silently appear to be suited to s...
59 59 votes
5 answers 5 answers
22.9k
22.9k views
Hari(H), Gita(G), Irfan(I) and Saira(S) are siblings (i.e., brothers and sisters). All were born on $1^{\text{st}}$ January. The age difference between any two successive...
42 42 votes
5 answers 5 answers
19.0k
19.0k views
If $137 + 276 = 435$ how much is $731+672?$$534$$1403$$1623$$1513$
15 15 votes
3 answers 3 answers
9.3k
9.3k views
The question below consists of a pair of related words followed by four pairs of words. Select the pair that best expresses the relation in the original pair.Unemployed :...
20 20 votes
5 answers 5 answers
10.6k
10.6k views
$25$ persons are in a room. $15$ of them play hockey, $17$ of them play football and $10$ of them play both hockey and football. Then the number of persons playing neithe...
10 10 votes
2 answers 2 answers
7.5k
7.5k views
Choose the most appropriate word from the options given below to complete the following sentence:If we manage to __________ our natural resources, we would leave a better...
16 16 votes
2 answers 2 answers
6.7k
6.7k views
Which of the following options is the closest in meaning to the word given below:Circuitouscyclicindirectconfusingcrooked
25 25 votes
2 answers 2 answers
10.7k
10.7k views
Choose the most appropriate word from the options given below to complete the following sentence:His rather casual remarks on politics ________ his lack of seriousness ab...
90 90 votes
8 answers 8 answers
35.6k
35.6k views
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 ...
31 31 votes
3 answers 3 answers
10.4k
10.4k views
A hash table of length $10$ uses open addressing with hash function $h(k) = k \mod 10$, and linear probing. After inserting $6$ values into an empty hash table, the table...
62 62 votes
12 answers 12 answers
36.6k
36.6k views
Consider a complete undirected graph with vertex set $\{0, 1, 2, 3, 4\}$. Entry $W_{ij}$ in the matrix $W$ below is the weight of the edge $\{i, j\}$$$W=\begin{pmatrix} 0...
102 102 votes
10 answers 10 answers
68.1k
68.1k views
A computer system has an $L1$ cache, an $L2$ cache, and a main memory unit connected as shown below. The block size in $L1$ cache is $4$ words. The block size in $L2$ cac...
57 57 votes
8 answers 8 answers
22.8k
22.8k views
Suppose computers $A$ and $B$ have $IP$ addresses $10.105.1.113$ and $10.105.1.91$ respectively and they both use same netmask $N$. Which of the values of $N$ given below...
220 220 votes
9 answers 9 answers
43.9k
43.9k views
A system has $n$ resources $R_0, \dots,R_{n-1}$, and $k$ processes $P_0, \dots, P_{k-1}$. The implementation of the resource request logic of each process $P_i$ is as fol...
93 93 votes
7 answers 7 answers
46.1k
46.1k views
The following program consists of $3$ concurrent processes and $3$ binary semaphores. The semaphores are initialized as $S0=1, S1=0$ and $S2=0.$$$\begin{array}{|l|l|}\hli...
12 12 votes
6 answers 6 answers
9.4k
9.4k views
The following program is to be tested for statement coverage:begin if (a==b) {S1; exit;} else if (c==d) {S2;} else {S3; exit;} S4; endThe test cases T1, T2, T3 and T4 giv...
74 74 votes
11 answers 11 answers
26.0k
26.0k views
The following functional dependencies hold for relations $R(A, B, C)$ and $S(B, D, E).$ $ B \to A$$A \to C$The relation $R$ contains $200$ tuples and the relation $S$ con...
48 48 votes
4 answers 4 answers
16.5k
16.5k views
Consider the following schedule for transactions $T1, T2$ and $T3:$$$\begin{array}{|c|c|c|}\hline \textbf{T1} & \textbf{T2} & \textbf{T3} \\\hline \text{Read(X)} & \text...
88 88 votes
10 answers 10 answers
39.0k
39.0k views
Let $w$ be any string of length $n$ in $\{0,1\}^*$. Let $L$ be the set of all substrings of $w$. What is the minimum number of states in non-deterministic finite automati...
53 53 votes
2 answers 2 answers
18.0k
18.0k views
Consider the languages$L1=\{0^i1^j\ \mid i \neq j\}, $$L2=\{0^i1^j\mid i=j\},$$L3=\{0^i1^j \mid i=2j+1\},$$L4=\{0^i1^j \mid i\neq2j\}$Only $L2$ is context free.Only $L2$ ...
92 92 votes
12 answers 12 answers
38.7k
38.7k views
Let $L=\{ w \in \:(0+1)^* \mid w\text{ has even number of }1s \}$. i.e., $L$ is the set of all the bit strings with even numbers of $1$s. Which one of the regular express...
48 48 votes
2 answers 2 answers
22.6k
22.6k views
The grammar $ S \to aSa \mid bS \mid c$ is LL(1) but not LR(1)LR(1) but not LL(1)Both LL(1) and LR(1)Neither LL(1) nor LR(1)
88 88 votes
8 answers 8 answers
37.6k
37.6k views
The program below uses six temporary variables $a, b, c, d, e, f$.a = 1 b = 10 c = 20 d = a + b e = c + d f = c + e b = c + e e = b + f d = 5 + e return d + fAssuming tha...
63 63 votes
4 answers 4 answers
18.1k
18.1k views
The following C function takes a singly-linked list as input argument. It modifies the list by moving the last element to the front of the list and returns the modified l...