Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged gate1998
13
votes
4
answers
1
GATE CSE 1998 | Question: 10b
Let $R$ be a binary relation on $A = \{a, b, c, d, e, f, g, h\}$ represented by the following two component digraph. Find the smallest integers $m$ and $n$ such that $m < n$ and $R^m = R^n$.
Let $R$ be a binary relation on $A = \{a, b, c, d, e, f, g, h\}$ represented by the following two component digraph. Find the smallest integers $m$ and $n$ such that $m <...
Arjun
4.5k
views
Arjun
asked
Aug 12, 2018
Set Theory & Algebra
gate1998
descriptive
set-theory&algebra
relations
+
–
21
votes
3
answers
2
GATE CSE 1998 | Question: 6a
Solve the following recurrence relation $x_n = 2x_{n-1}-1, n>1$ $x_1=2$
Solve the following recurrence relation$x_n = 2x_{n-1}-1, n>1$$x_1=2$
Arjun
6.0k
views
Arjun
asked
May 3, 2016
Algorithms
gate1998
algorithms
recurrence-relation
descriptive
+
–
6
votes
5
answers
3
GATE CSE 1998 | Question: 25b
Consider a disk with $c$ cylinders, $t$ tracks per cylinder, $s$ sectors per track and a sector length $s_l$. A logical file $d_l$ with fixed record length $r_l$ is stored continuously on this disk starting at location $(c_L, t_L, s_L)$, where ... the formula to calculate the disk address (i.e. cylinder, track and sector) of a logical record n assuming that $r_l=s_l$.
Consider a disk with $c$ cylinders, $t$ tracks per cylinder, $s$ sectors per track and a sector length $s_l$. A logical file $d_l$ with fixed record length $r_l$ is stor...
Arjun
3.1k
views
Arjun
asked
Mar 6, 2016
Operating System
gate1998
operating-system
disk
descriptive
+
–
44
votes
9
answers
4
GATE CSE 1998 | Question: 19b
Compute the post fix equivalent of the following expression $3^*\log(x+1)-\frac{a}{2}$
Compute the post fix equivalent of the following expression $3^*\log(x+1)-\frac{a}{2}$
Arjun
16.0k
views
Arjun
asked
Aug 29, 2015
DS
gate1998
stack
infix-prefix
descriptive
+
–
48
votes
6
answers
5
GATE CSE 1998 | Question: 7-b
In a computer system where the best-fit' algorithm is used for allocating jobs' to memory partitions', the following situation was encountered:$\begin{array}{|l|l|} \hline \textbf{Partitions size in $KB$} & \textbf{$ ... $} \\\hline \end{array}$When will the $20K$ job complete?
In a computer system where the ‘best-fit’ algorithm is used for allocating ‘jobs’ to ‘memory partitions’, the following situation was encountered:$$\begin{arr...
Arjun
13.4k
views
Arjun
asked
Jul 10, 2015
Operating System
gate1998
operating-system
process-scheduling
normal
+
–
29
votes
5
answers
6
GATE CSE 1998 | Question: 3b
Give a regular expression for the set of binary strings where every $0$ is immediately followed by exactly $k$ $1$'s and preceded by at least $k$ $1$’s ($k$ is a fixed integer)
Give a regular expression for the set of binary strings where every $0$ is immediately followed by exactly $k$ $1$'s and preceded by at least $k$ $1$’s ($k$ is a fixed...
Arjun
9.1k
views
Arjun
asked
Oct 17, 2014
Theory of Computation
gate1998
theory-of-computation
regular-expression
easy
descriptive
+
–
31
votes
10
answers
7
GATE CSE 1998 | Question: 27
Consider the following relational database schemes: COURSES (Cno, Name) PRE_REQ(Cno, Pre_Cno) COMPLETED (Student_no, Cno) COURSES gives the number and name of all the available courses. PRE_REQ gives the information about which courses are pre- ... relational algebra: List all the courses for which a student with Student_no 2310 has completed all the pre-requisites.
Consider the following relational database schemes:COURSES (Cno, Name)PRE_REQ(Cno, Pre_Cno)COMPLETED (Student_no, Cno)COURSES gives the number and name of all the availab...
Kathleen
8.4k
views
Kathleen
asked
Sep 26, 2014
Databases
gate1998
databases
relational-algebra
normal
descriptive
+
–
53
votes
5
answers
8
GATE CSE 1998 | Question: 26
Consider the following database relations containing the attributes Book_id Subject_Category_of_book Name_of_Author Nationality_of_Author With Book_id as the primary key. What is the highest normal form satisfied by this relation? Suppose the attributes Book_title and ... to {Name_of_Author, Book_title}, what will be the highest normal form satisfied by the relation?
Consider the following database relations containing the attributesBook_idSubject_Category_of_bookName_of_AuthorNationality_of_AuthorWith Book_id as the primary key.What ...
Kathleen
20.4k
views
Kathleen
asked
Sep 26, 2014
Databases
gate1998
databases
database-normalization
normal
descriptive
+
–
26
votes
3
answers
9
GATE CSE 1998 | Question: 25-a
Free disk space can be used to keep track of using a free list or a bit map. Disk addresses require $d$ bits. For a disk with $B$ blocks, $F$ of which are free, state the condition under which the free list uses less space than the bit map.
Free disk space can be used to keep track of using a free list or a bit map. Disk addresses require $d$ bits. For a disk with $B$ blocks, $F$ of which are free, state the...
Kathleen
5.4k
views
Kathleen
asked
Sep 26, 2014
Operating System
gate1998
operating-system
disk
descriptive
+
–
45
votes
4
answers
10
GATE CSE 1998 | Question: 24
Four jobs are waiting to be run. Their expected run times are $6, 3, 5$ and $x.$ In what order should they be run to minimize the average response time? Write a concurrent program using $\text{par begin-par end}$ to represent the precedence graph shown below.
Four jobs are waiting to be run. Their expected run times are $6, 3, 5$ and $x.$ In what order should they be run to minimize the average response time?Write a concurrent...
Kathleen
12.3k
views
Kathleen
asked
Sep 26, 2014
Operating System
gate1998
operating-system
process-scheduling
descriptive
+
–
18
votes
1
answer
11
GATE CSE 1998 | Question: 23
Let the attribute ‘$val$’ give the value of a binary number generated by $S$ in the following grammar: $S \rightarrow L.L \mid L$ $L \rightarrow LB \mid B$ $B \rightarrow 0 \mid 1$ For example, an input $101.101$ gives $S.val = 5.625$ Construct a syntax directed translation scheme using only synthesized attributes, to determine $S.val$.
Let the attribute ‘$val$’ give the value of a binary number generated by $S$ in the following grammar:$S \rightarrow L.L \mid L$$L \rightarrow LB \mid B$$B \rightarro...
Kathleen
12.2k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
syntax-directed-translation
normal
descriptive
+
–
22
votes
2
answers
12
GATE CSE 1998 | Question: 22
An identifier in a programming language consists of up to six letters and digits of which the first character must be a letter. Derive a regular expression for the identifier. Build an $LL(1)$ parsing table for the language defined by the $LL(1)$ ... $X \rightarrow d \text{ semi } X \mid sY$ $Y \rightarrow \text{ semi } s Y \mid \epsilon$
An identifier in a programming language consists of up to six letters and digits of which the first character must be a letter. Derive a regular expression for the identi...
Kathleen
3.9k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
parsing
descriptive
+
–
21
votes
1
answer
13
GATE CSE 1998 | Question: 21
Derive a recurrence relation for the size of the smallest AVL tree with height $h$. What is the size of the smallest AVL tree with height $8$?
Derive a recurrence relation for the size of the smallest AVL tree with height $h$.What is the size of the smallest AVL tree with height $8$?
Kathleen
4.3k
views
Kathleen
asked
Sep 26, 2014
DS
gate1998
data-structures
tree
descriptive
numerical-answers
+
–
20
votes
1
answer
14
GATE CSE 1998 | Question: 20
Draw the binary tree with node labels $\text{a, b, c, d, e, f and g}$ for which the inorder and postorder traversals result in the following sequences: Inorder: $\text{a f b c d g e}$ Postorder: $\text{a f c g e d b}$
Draw the binary tree with node labels $\text{a, b, c, d, e, f and g}$ for which the inorder and postorder traversals result in the following sequences:Inorder: $\text{a f...
Kathleen
4.8k
views
Kathleen
asked
Sep 26, 2014
DS
gate1998
data-structures
binary-tree
descriptive
+
–
26
votes
5
answers
15
GATE CSE 1998 | Question: 19a
Let $p$ be a pointer as shown in the figure in a single linked list. What do the following assignment statements achieve? q:= p -> next p -> next:= q -> next q -> next:=(q -> next) -> next (p -> next) -> next:= q
Let $p$ be a pointer as shown in the figure in a single linked list. What do the following assignment state...
Kathleen
8.0k
views
Kathleen
asked
Sep 26, 2014
DS
gate1998
data-structures
linked-list
normal
descriptive
+
–
33
votes
5
answers
16
GATE CSE 1998 | Question: 18
For a set-associative Cache organization, the parameters are as follows: ... $1 \leq m \leq l$. Give the value of the hit ratio for $l = 1$.
For a set-associative Cache organization, the parameters are as follows:$$\begin{array}{|c|l|} \hline \text {$t _c$} & \text{Cache Access Time }\\\hline \text{$t _m$} &...
Kathleen
13.1k
views
Kathleen
asked
Sep 26, 2014
CO and Architecture
gate1998
co-and-architecture
cache-memory
descriptive
+
–
3
votes
2
answers
17
GATE CSE 1998 | Question: 17
Calculate the total time required to read 35 sectors on a 2-sided floppy disk. Assume that each track has 8 sectors and the track-to-track step time is 8 milliseconds. The first sector to be read is sector 3 on track 10. Assume that the diskette ... sectored and the controller has a 1-sector buffer. The diskette spins at 300 RPM and initially, the head is on track 10.
Calculate the total time required to read 35 sectors on a 2-sided floppy disk. Assume that each track has 8 sectors and the track-to-track step time is 8 milliseconds. Th...
Kathleen
3.0k
views
Kathleen
asked
Sep 26, 2014
Operating System
gate1998
operating-system
disk
normal
numerical-answers
out-of-syllabus-now
+
–
23
votes
3
answers
18
GATE CSE 1998 | Question: 16
Design a synchronous counter to go through the following states:$1, 4, 2, 3, 1, 4, 2, 3, 1, 4 \dots $
Design a synchronous counter to go through the following states:$$1, 4, 2, 3, 1, 4, 2, 3, 1, 4 \dots $$
Kathleen
5.2k
views
Kathleen
asked
Sep 26, 2014
Digital Logic
gate1998
digital-logic
normal
descriptive
synchronous-asynchronous-circuits
+
–
0
votes
0
answers
19
GATE CSE 1998 | Question: 15
Kathleen
494
views
Kathleen
asked
Sep 26, 2014
CO and Architecture
gate1998
co-and-architecture
8085-microprocessor
descriptive
out-of-syllabus-now
+
–
12
votes
4
answers
20
GATE CSE 1998 | Question: 14
Let $G_1 = (N, T, P, S_1)$ be a CFG where, $N=\{S_1, A, B\},T=\{a, b\}$ and $P$ ... $5$ production rules. Is $L_2$ inherently ambiguous?
Let $G_1 = (N, T, P, S_1)$ be a CFG where, $N=\{S_1, A, B\},T=\{a, b\}$ and $P$ is given by$$\begin{array}{l|l}S_1 \rightarrow a S_1 b &S_1 \rightarrow a B b \\S_1 \right...
Kathleen
4.5k
views
Kathleen
asked
Sep 26, 2014
Compiler Design
gate1998
compiler-design
grammar
descriptive
+
–
30
votes
1
answer
21
GATE CSE 1998 | Question: 13
Let $M=(\{q_0, q_1\}, \{0, 1\}, \{z_0, X\}, \delta, q_0, z_0, \phi)$ be a Pushdown automation where $\delta$ is given by $\delta(q_0, 1, z_0) = \{(q_0, Xz_0)\}$ $\delta(q_0, \epsilon, z_0) = \{(q_0, \epsilon)\}$ ... $\delta(q_0, 0, z_0) = \{(q_0, z_0)\}$ What is the language accepted by this PDA by empty stack? Describe informally the working of the PDA
Let $M=(\{q_0, q_1\}, \{0, 1\}, \{z_0, X\}, \delta, q_0, z_0, \phi)$ be a Pushdown automation where $\delta$ is given by$\delta(q_0, 1, z_0) = \{(q_0, Xz_0)\}$$\delta(q_0...
Kathleen
6.3k
views
Kathleen
asked
Sep 26, 2014
Theory of Computation
gate1998
theory-of-computation
pushdown-automata
descriptive
+
–
32
votes
3
answers
22
GATE CSE 1998 | Question: 12
Let $(A, *)$ be a semigroup, Furthermore, for every $a$ and $b$ in $A$, if $a \neq b$, then $a*b \neq b*a$. Show that for every $a$ in $A$, $a*a=a$ Show that for every $a$, $b$ in $A$, $a*b*a=a$ Show that for every $a,b,c$ in $A$, $a*b*c=a*c$
Let $(A, *)$ be a semigroup, Furthermore, for every $a$ and $b$ in $A$, if $a \neq b$, then $a*b \neq b*a$.Show that for every $a$ in $A$, $a*a=a$Show that for every $a$,...
Kathleen
7.4k
views
Kathleen
asked
Sep 26, 2014
Set Theory & Algebra
gate1998
set-theory&algebra
group-theory
descriptive
+
–
30
votes
4
answers
23
GATE CSE 1998 | Question: 11
Suppose $A = \{a, b, c, d\}$ and $\Pi_1$ is the following partition of A $\Pi_1 = \left\{\left\{a, b, c\right\}\left\{d\right\}\right\}$ List the ordered pairs of the equivalence relations induced by $\Pi_1$. Draw the graph of the above ... $\left\langle\left\{\Pi_1, \Pi_2, \Pi_3, \Pi_4\right\}, \text{ refines } \right\rangle$.
Suppose $A = \{a, b, c, d\}$ and $\Pi_1$ is the following partition of A$\Pi_1 = \left\{\left\{a, b, c\right\}\left\{d\right\}\right\}$List the ordered pairs of the equiv...
Kathleen
11.8k
views
Kathleen
asked
Sep 26, 2014
Set Theory & Algebra
gate1998
set-theory&algebra
normal
partial-order
descriptive
+
–
20
votes
6
answers
24
GATE CSE 1998 | Question: 10a
Prove by induction that the expression for the number of diagonals in a polygon of $n$ sides is $\frac{n(n-3)}{2}$
Prove by induction that the expression for the number of diagonals in a polygon of $n$ sides is $\frac{n(n-3)}{2}$
Kathleen
3.9k
views
Kathleen
asked
Sep 26, 2014
Set Theory & Algebra
gate1998
set-theory&algebra
descriptive
relations
+
–
5
votes
1
answer
25
GATE CSE 1998 | Question: 9
Derive the expressions for the number of operations required to solve a system of linear equations in $n$ unknowns using the Gaussian Elimination Method. Assume that one operation refers to a multiplication followed by an addition.
Derive the expressions for the number of operations required to solve a system of linear equations in $n$ unknowns using the Gaussian Elimination Method. Assume that one ...
Kathleen
3.4k
views
Kathleen
asked
Sep 26, 2014
Linear Algebra
gate1998
linear-algebra
system-of-equations
descriptive
+
–
13
votes
1
answer
26
GATE CSE 1998 | Question: 8
Find the points of local maxima and minima, if any, of the following function defined in $0\leq x\leq 6$. $x^3-6x^2+9x+15$ Integrate $\int_{-\pi}^{\pi} x \cos x dx$
Find the points of local maxima and minima, if any, of the following function defined in $0\leq x\leq 6$. $$x^3-6x^2+9x+15$$Integrate $$\int_{-\pi}^{\pi} x \cos x dx$$
Kathleen
3.9k
views
Kathleen
asked
Sep 26, 2014
Calculus
gate1998
calculus
maxima-minima
integration
normal
descriptive
+
–
25
votes
4
answers
27
GATE CSE 1998 | Question: 7-a
Suppose we have a database consisting of the following three relations. $\text{FREQUENTS (student, parlor)}$ giving the parlors each student visits. $\text{SERVES (parlor, ice-cream)}$ ... the following in SQL: Print the students that frequent at least one parlor that serves some ice-cream that they like.
Suppose we have a database consisting of the following three relations.$\text{FREQUENTS (student, parlor)}$ giving the parlors each student visits.$\text{SERVES (parlor, ...
Kathleen
6.2k
views
Kathleen
asked
Sep 26, 2014
Databases
gate1998
databases
sql
descriptive
+
–
26
votes
2
answers
28
GATE CSE 1998 | Question: 6b
Consider the grammar S $\rightarrow Aa \mid b$ A $\rightarrow Ac \mid Sd \mid \epsilon$ Construct an equivalent grammar with no left recursion and with minimum number of production rules.
Consider the grammarS $\rightarrow Aa \mid b$A $\rightarrow Ac \mid Sd \mid \epsilon$Construct an equivalent grammar with no left recursion and with minimum number of pr...
Kathleen
7.1k
views
Kathleen
asked
Sep 25, 2014
Compiler Design
gate1998
compiler-design
grammar
descriptive
+
–
23
votes
2
answers
29
GATE CSE 1998 | Question: 5
The implication gate, shown below has two inputs ($x \text{ and }y)$; the output is 1 except when $x =1 \text{ and } y=0\text{, realize }f=\bar{x}y+x\bar{y}$ using only four implication gates. Show that the implication gate is functionally complete.
The implication gate, shown below has two inputs ($x \text{ and }y)$; the output is 1 except when $x =1 \text{ and } y=0\text{, realize }f=\bar{x}y+x\bar{y}$ using only f...
Kathleen
3.9k
views
Kathleen
asked
Sep 25, 2014
Digital Logic
gate1998
digital-logic
functional-completeness
descriptive
+
–
36
votes
2
answers
30
GATE CSE 1998 | Question: 4
Design a deterministic finite state automaton (using minimum number of states) that recognizes the following language: $L=\{w \in \{0, 1\}^* \mid w$ interpreted as binary number (ignoring the leading zeros) is divisible by five $\}.$
Design a deterministic finite state automaton (using minimum number of states) that recognizes the following language:$L=\{w \in \{0, 1\}^* \mid w$ interpreted as binar...
Kathleen
11.9k
views
Kathleen
asked
Sep 25, 2014
Theory of Computation
gate1998
theory-of-computation
finite-automata
normal
minimal-state-automata
descriptive
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register