GATE 1989 Computer Science Questions

Recent questions tagged gate1989

37 votes
5 answers
31
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
31 votes
4 answers
34
19 votes
7 answers
35
32 votes
8 answers
37
28 votes
5 answers
39
Match the pairs in the following:$$\begin{array}{ll|ll}\hline \text{(A)} & \text{Virtual memory} & \text{(p)} & \text{ Temporal Locality} \\\hline \text{(B)} & \text{Sha...
19 votes
3 answers
40
Match the pairs in the following:$$\begin{array}{ll|ll}\hline \text{(A)} & \text{$O (\log n)$} & \text{(p)} & \text{Heapsort} \\\hline \text{(B)} & \text{$O (n)$} & \tex...
29 votes
3 answers
41
Match the pairs in the following questions:$$\begin{array}{ll|ll}\hline \text{(A)} & \text{Base addressing} & \text{(p)} & \text{Reentranecy} \\\hline \text{(B)} & \text...
43 votes
2 answers
44
The number of possible commutative binary operations that can be defined on a set of $n$ elements (for a given $n$) is ___________.
21 votes
6 answers
45
The transitive closure of the relation $\left\{(1, 2), (2, 3), (3, 4), (5, 4)\right\}$ on the set $\left\{1, 2, 3, 4, 5\right\}$ is ___________.
17 votes
3 answers
46
Merging states with a common core may produce __________ conflicts and does not produce ___________ conflicts in an LALR parser.