Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
GATE 1999 Computer Science questions and solutions
Recent questions tagged gate1999
25
25 votes
7
answers
7 answers
7.3k
7.3k views
GATE CSE 1999 | Question: 20-b
Consider the following solution to the producer-consumer problem using a buffer of size 1. Assume that the initial value of count is 0. Also assume that the testing of co...
go_editor
7.3k
views
asked
Feb 28, 2018
Operating System
gate1999
operating-system
process-synchronization
normal
descriptive
+
–
7
7 votes
3
3 answers
3.7k
3.7k views
GATE CSE 1999 | Question: 22-b
Consider the set of relationsEMP (Employee-no. Dept-no, Employee-name, Salary)DEPT (Dept-no. Dept-name, Location)Write an SQL query to:Calculate, for each department numb...
go_editor
3.7k
views
asked
Feb 8, 2018
Databases
gate1999
databases
sql
descriptive
easy
+
–
39
39 votes
3
answers
3 answers
6.6k
6.6k views
GATE CSE 1999 | Question: 11b
Write a constant time algorithm to insert a node with data $D$ just before the node with address $p$ of a singly linked list.
Arjun
6.6k
views
asked
Dec 17, 2016
Data Structures
gate1999
data-structures
linked-list
descriptive
+
–
27
27 votes
6
answers
6 answers
6.7k
6.7k views
GATE CSE 1999 | Question: 3
Mr. X claims the following: If a relation R is both symmetric and transitive, then R is reflexive. For this, Mr. X offers the following proof:“From xRy, using symme...
Kathleen
6.7k
views
asked
Sep 23, 2014
Set Theory & Algebra
gate1999
set-theory&algebra
relations
normal
descriptive
+
–
27
27 votes
5
answers
5 answers
17.7k
17.7k views
GATE CSE 1999 | Question: 22-a
Consider the set of relationsEMP (Employee-no. Dept-no, Employee-name, Salary)DEPT (Dept-no. Dept-name, Location)Write an SQL query to:Find all employees names who work i...
Kathleen
17.7k
views
asked
Sep 23, 2014
Databases
gate1999
databases
sql
easy
descriptive
+
–
49
49 votes
2
answers
2 answers
13.3k
13.3k views
GATE CSE 1999 | Question: 21
Consider a B-tree with degree $m$, that is, the number of children, $c$, of any internal node (except the root) is such that $m \leq c \leq 2m-1$. Derive the maximum and ...
Kathleen
13.3k
views
asked
Sep 23, 2014
Databases
gate1999
databases
b-tree
normal
descriptive
+
–
24
24 votes
6
answers
6 answers
9.2k
9.2k views
GATE CSE 1999 | Question: 20-a
A certain processor provides a 'test and set' instruction that is used as follows:TSET register, flagThis instruction atomically copies flag to register and sets flag to ...
Kathleen
9.2k
views
asked
Sep 23, 2014
Operating System
gate1999
operating-system
process-synchronization
normal
descriptive
+
–
62
62 votes
6
answers
6 answers
34.0k
34.0k views
GATE CSE 1999 | Question: 19
A certain computer system has the segmented paging architecture for virtual memory. The memory is byte addressable. Both virtual and physical address spaces contain $2^{1...
Kathleen
34.0k
views
asked
Sep 23, 2014
Operating System
gate1999
operating-system
virtual-memory
normal
descriptive
+
–
0
0 votes
0
0 answers
1.3k
1.3k views
GATE CSE 1999 | Question: 18
Design a 2K $\times$ 8 (2048 locations, each 8 bit wide) memory system mapped at addresses (1000)$_{16}$ to (17FF)$_{16}$ for the 8085 processor using four 1K $\times$ 4 ...
Kathleen
1.3k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
8085-microprocessor
out-of-gatecse-syllabus
+
–
44
44 votes
5
answers
5 answers
11.9k
11.9k views
GATE CSE 1999 | Question: 17
Consider the following program fragment in the assembly language of a certain hypothetical processor. The processor has three general purpose registers $R1, R2$ and $R3$....
Kathleen
11.9k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
machine-instruction
normal
descriptive
+
–
0
0 votes
0
0 answers
806
806 views
GATE CSE 1999 | Question: 16
Kathleen
806
views
asked
Sep 23, 2014
Others
gate1999
out-of-gatecse-syllabus
pascal
+
–
19
19 votes
1
answers
1 answer
8.3k
8.3k views
GATE CSE 1999 | Question: 15
What will be the output of the following program assuming that parameter passing iscall by valuecall by referencecall by copy restoreprocedure P{x, y, z}; begin y:y+1; z:...
Kathleen
8.3k
views
asked
Sep 23, 2014
Compiler Design
gate1999
parameter-passing
normal
runtime-environment
descriptive
+
–
20
20 votes
5
answers
5 answers
5.1k
5.1k views
GATE CSE 1999 | Question: 14
Show that the formula $\left[(\sim p \vee q) \Rightarrow (q \Rightarrow p)\right]$ is not a tautology.Let $A$ be a tautology and $B$ any other formula. Prove that $(A \ve...
Kathleen
5.1k
views
asked
Sep 23, 2014
Mathematical Logic
gate1999
mathematical-logic
normal
propositional-logic
proof
descriptive
+
–
67
67 votes
6
answers
6 answers
21.3k
21.3k views
GATE CSE 1999 | Question: 13
An instruction pipeline consists of $4$ stages – Fetch $(F)$, Decode field $(D)$, Execute $(E)$ and Result Write $(W)$. The $5$ instructions in a certain instruction sequ...
Kathleen
21.3k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
pipelining
normal
numerical-answers
+
–
32
32 votes
3
answers
3 answers
9.4k
9.4k views
GATE CSE 1999 | Question: 12
In binary tree, a full node is defined to be a node with $2$ children. Use induction on the height of the binary tree to prove that the number of full nodes plus one is e...
Kathleen
9.4k
views
asked
Sep 23, 2014
Data Structures
gate1999
data-structures
binary-heap
normal
descriptive
+
–
50
50 votes
3
answers
3 answers
10.7k
10.7k views
GATE CSE 1999 | Question: 11a
Consider the following algorithms. Assume, procedure $A$ and procedure $B$ take $O (1)$ and $O(1/n)$ unit of time respectively. Derive the time complexity of the algorith...
Kathleen
10.7k
views
asked
Sep 23, 2014
Algorithms
gate1999
algorithms
time-complexity
normal
descriptive
+
–
10
10 votes
1
1 answer
3.1k
3.1k views
GATE CSE 1999 | Question: 10
Suppose we have a function HALTS which when applied to any arbitrary function $f$ and its arguments will say TRUE if function $f$ terminates for those arguments and FALSE...
Kathleen
3.1k
views
asked
Sep 23, 2014
Theory of Computation
gate1999
theory-of-computation
descriptive
decidability
+
–
2
2 votes
0
0 answers
2.3k
2.3k views
GATE CSE 1999 | Question: 9
Let synthesized attribute val give the value of the binary number generated by S in the following grammar. For example, on input 101.101, S.val = 5.625.$S \rightarrow L.L...
Kathleen
2.3k
views
asked
Sep 23, 2014
Compiler Design
gate1999
compiler-design
grammar
normal
+
–
36
36 votes
3
answers
3 answers
11.9k
11.9k views
GATE CSE 1999 | Question: 8
Let $A$ be an $n \times n$ matrix such that the elements in each row and each column are arranged in ascending order. Draw a decision tree, which finds $1$st, $2$nd and $...
Kathleen
11.9k
views
asked
Sep 23, 2014
Algorithms
gate1999
algorithms
sorting
normal
descriptive
+
–
46
46 votes
2
answers
2 answers
11.1k
11.1k views
GATE CSE 1999 | Question: 7
Show that the language $$L = \left\{ xcx \mid x \in \left\{0,1\right\}^* \text{ and }c\text{ is a terminal symbol}\right\}$$ is not context free. $c$ is not $0$ or $1$.
Kathleen
11.1k
views
asked
Sep 23, 2014
Theory of Computation
gate1999
theory-of-computation
context-free-language
normal
proof
+
–
35
35 votes
5
answers
5 answers
7.8k
7.8k views
GATE CSE 1999 | Question: 6
Given that $A$ is regular and $(A \cup B)$ is regular, does it follow that $B$ is necessarily regular? Justify your answer.Given two finite automata $M1, M2$, outline an ...
Kathleen
7.8k
views
asked
Sep 23, 2014
Theory of Computation
gate1999
theory-of-computation
normal
regular-language
descriptive
+
–
44
44 votes
5
answers
5 answers
11.6k
11.6k views
GATE CSE 1999 | Question: 5
Let $G$ be a connected, undirected graph. A cut in $G$ is a set of edges whose removal results in $G$ being broken into two or more components, which are not connected wi...
Kathleen
11.6k
views
asked
Sep 23, 2014
Graph Theory
gate1999
graph-theory
graph-connectivity
normal
descriptive
proof
+
–
17
17 votes
3
answers
3 answers
7.0k
7.0k views
GATE CSE 1999 | Question: 4
Let $G$ be a finite group and $H$ be a subgroup of $G$. For $a \in G$, define $aH=\left\{ah \mid h \in H\right\}$.Show that $|aH| = |bH|.$Show that for every pair of elem...
Kathleen
7.0k
views
asked
Sep 23, 2014
Set Theory & Algebra
gate1999
set-theory&algebra
group-theory
descriptive
proof
+
–
54
54 votes
5
answers
5 answers
29.2k
29.2k views
GATE CSE 1999 | Question: 2.25
Which of the following is/are correct?An SQL query automatically eliminates duplicatesAn SQL query will not work if there are no indexes on the relationsSQL permits attri...
Kathleen
29.2k
views
asked
Sep 23, 2014
Databases
gate1999
databases
sql
easy
+
–
58
58 votes
3
answers
3 answers
17.7k
17.7k views
GATE CSE 1999 | Question: 2.24
Consider the following $C$ function definitionint Trial (int a, int b, int c) { if ((a>=b) && (c<b)) return b; else if (a>=b) return Trial(a, c, b); else return Trial(b, ...
Kathleen
17.7k
views
asked
Sep 23, 2014
Algorithms
gate1999
algorithms
identify-function
normal
+
–
82
82 votes
5
answers
5 answers
26.4k
26.4k views
GATE CSE 1999 | Question: 2.23
A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this proces...
Kathleen
26.4k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
addressing-modes
normal
multiple-selects
+
–
53
53 votes
7
answers
7 answers
19.5k
19.5k views
GATE CSE 1999 | Question: 2.22
The main difference(s) between a CISC and a RISC processor is/are that a RISC processor typicallyhas fewer instructionshas fewer addressing modeshas more registersis easi...
Kathleen
19.5k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
normal
cisc-risc-architecture
multiple-selects
+
–
74
74 votes
8
answers
8 answers
27.5k
27.5k views
GATE CSE 1999 | Question: 2.21
If $T_1 = O(1)$, give the correct matching for the following pairs:$$\begin{array}{|ll|ll|}\hline & \text{(M) $T_n = T_{n-1} + n$} & \text{(U) $T_n = O(n)$} \\\hline & ...
Kathleen
27.5k
views
asked
Sep 23, 2014
Algorithms
gate1999
algorithms
recurrence-relation
asymptotic-notations
normal
match-the-following
+
–
22
22 votes
2
answers
2 answers
10.7k
10.7k views
GATE CSE 1999 | Question: 2.19
Arrange the following configuration for CPU in decreasing order of operating speeds:Hard wired control, Vertical microprogramming, Horizontal microprogramming.Hard wired ...
Kathleen
10.7k
views
asked
Sep 23, 2014
CO & Architecture
gate1999
co-and-architecture
microprogramming
normal
+
–
34
34 votes
6
answers
6 answers
16.6k
16.6k views
GATE CSE 1999 | Question: 2-18, ISRO2008-46
Raid configurations of the disks are used to provideFault-tolerance High speedHigh data density(A) & (B)
Kathleen
16.6k
views
asked
Sep 23, 2014
Operating System
gate1999
operating-system
disk
easy
isro2008
+
–
Page:
1
2
3
next »