The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
GATE Overflow
Facebook Login
Google Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
All Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous
Blogs
New Blog
Exams
First time here? Checkout the
FAQ
!
x
×
Close
Use the google search bar on side panel. It searches through all previous GATE/other questions. For hardcopy of previous year questions please see
here
Recent questions tagged gate20162
GATE 2016 Computer Science Set 2 Questions
+48
votes
10
answers
1
GATE2016230
Suppose the functions $F$ and $G$ can be computed in $5$ and $3$ nanoseconds by functional units $U_{F}$ and $U_{G}$, respectively. Given two instances of $U_{F}$ and two instances of $U_{G}$, it is required to implement the computation $F(G(X_{i}))$ for $1 \leq i \leq 10$. Ignoring all other delays, the minimum time required to complete this computation is ____________ nanoseconds.
asked
Feb 12, 2016
in
CO & Architecture
by
Akash Kanase
Boss
(
42.6k
points)

5k
views
gate20162
coandarchitecture
datapath
normal
numericalanswers
+15
votes
2
answers
2
GATE2016247
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remainingtime first. Process Arrival Time Burst Time $P_1$ $0$ $10$ $P_2$ $3$ $6$ $P_3$ $7$ $1$ $P_4$ $8$ $3$ The average turn around time of these processes is ___________ milliseconds.
asked
Feb 12, 2016
in
Operating System
by
Akash Kanase
Boss
(
42.6k
points)

2.1k
views
gate20162
operatingsystem
processschedule
normal
numericalanswers
+25
votes
4
answers
3
GATE2016232
The width of the physical address on a machine is $40$ bits. The width of the tag field in a $512$ KB $8$way set associative cache is ________ bits.
asked
Feb 12, 2016
in
CO & Architecture
by
Akash Kanase
Boss
(
42.6k
points)

4.3k
views
gate20162
coandarchitecture
cachememory
normal
numericalanswers
+38
votes
4
answers
4
GATE2016241
In an adjacency list representation of an undirected simple graph $G=(V, E)$, each edge $(u, v)$ has two adjacency list entries: $[v]$ in the adjacency list of $u$, and $[u]$ in the adjacency list of $v$. These are called twins of each other. A twin pointer is a pointer from ... $\Theta\left(n^{2}\right)$ $\Theta\left(n+m\right)$ $\Theta\left(m^{2}\right)$ $\Theta\left(n^{4}\right)$
asked
Feb 12, 2016
in
Algorithms
by
Akash Kanase
Boss
(
42.6k
points)

3.8k
views
gate20162
algorithms
graphalgorithms
normal
+28
votes
3
answers
5
GATE2016227
Which one of the following wellformed formulae in predicate calculus is NOT valid ? $(\forall _{x} p(x) \implies \forall _{x} q(x)) \implies (\exists _{x} \neg p(x) \vee \forall _{x} q(x))$ $(\exists x p(x) \vee \exists x q (x)) \implies \exists x (p(x) \vee q (x))$ ... (\exists x p(x) \wedge \exists x q(x))$ $\forall x (p(x) \vee q(x)) \implies (\forall x p(x) \vee \forall x q(x))$
asked
Feb 12, 2016
in
Mathematical Logic
by
Akash Kanase
Boss
(
42.6k
points)

4k
views
gate20162
mathematicallogic
firstorderlogic
normal
+24
votes
3
answers
6
GATE2016243
Consider the following languages: $L_{1}=\left\{a^{n}b^{m}c^{n+m}:m, n\geq 1\right\}$ $L_{2}=\left\{a^{n}b^{n}c^{2n} :n\geq 1\right\}$ Which one of the following is TRUE? Both $L_{1}$ and $L_{2}$ are contextfree. $L_{1}$ is contextfree while $L_{2}$ is not contextfree. $L_{2}$ is contextfree while $L_{1}$ is not contextfree. Neither $L_{1}$ nor $L_{2}$ is contextfree.
asked
Feb 12, 2016
in
Theory of Computation
by
Akash Kanase
Boss
(
42.6k
points)

2.3k
views
gate20162
theoryofcomputation
contextfreelanguage
normal
+31
votes
1
answer
7
GATE2016252
Consider the following database table named water_schemes: Water_schemes scheme_no district_name capacity 1 Ajmer 20 1 Bikaner 10 2 Bikaner 10 3 Bikaner 20 1 Churu 10 2 Churu 20 1 Dungargarh 10 The number of tuples returned by the following SQL query ... total_avg (capacity) as select avg (capacity) from total select name from total, total_avg where total.capacity ≥ total_avg.capacity
asked
Feb 12, 2016
in
Databases
by
Akash Kanase
Boss
(
42.6k
points)

2.5k
views
gate20162
databases
sql
normal
numericalanswers
+21
votes
4
answers
8
GATE2016226
A binary relation $R$ on $\mathbb{N} \times \mathbb{N}$ is defined as follows: $(a, b) R(c, d)$ if $a \leq c$ or $b \leq d$. Consider the following propositions: $P:$ $R$ is reflexive. $Q:$ $R$ is transitive. Which one of the following statements is TRUE? Both $P$ and $Q$ are true. $P$ is true and $Q$ is false. $P$ is false and $Q$ is true. Both $P$ and $Q$ are false.
asked
Feb 12, 2016
in
Set Theory & Algebra
by
Akash Kanase
Boss
(
42.6k
points)

3k
views
gate20162
settheory&algebra
relations
normal
+21
votes
4
answers
9
GATE2016237
Consider the following program: int f (int * p, int n) { if (n <= 1) return 0; else return max (f (p+1, n1), p[0]  p[1]); } int main () { int a[] = {3, 5, 2, 6, 4}; print f(" %d", f(a, 5)); } Note: $max (x, y)$ returns the maximum of $x$ and $y$. The value printed by this program is ________.
asked
Feb 12, 2016
in
Programming
by
Akash Kanase
Boss
(
42.6k
points)

2.9k
views
gate20162
programminginc
normal
numericalanswers
+28
votes
3
answers
10
GATE2016231
Consider a processor with $64$ registers and an instruction set of size twelve. Each instruction has five distinct fields, namely, opcode, two source register identifiers, one destination register identifier, and twelvebit immediate value. Each instruction must be ... If a program has $100$ instructions, the amount of memory (in bytes) consumed by the program text is _________.
asked
Feb 12, 2016
in
CO & Architecture
by
Akash Kanase
Boss
(
42.6k
points)

4.3k
views
gate20162
instructionformat
machineinstructions
coandarchitecture
normal
numericalanswers
+19
votes
4
answers
11
GATE2016248
Consider the following twoprocess synchronization solution. PROCESS 0 Process 1 Entry: loop while (turn == 1); Entry: loop while (turn == 0); (critical section) (critical section) Exit: turn = 1; Exit turn = ... synchronization solution. This solution violates mutual exclusion requirement. This solution violates progress requirement. This solution violates bounded wait requirement.
asked
Feb 12, 2016
in
Operating System
by
Akash Kanase
Boss
(
42.6k
points)

3.6k
views
gate20162
operatingsystem
processsynchronization
normal
+22
votes
2
answers
12
GATE2016246
A student wrote two contextfree grammars G1 and G2 for generating a single Clike array declaration. The dimension of the array is at least one. For example, int a[10] [3]; The grammars use D as the start symbol, and use six terminal symbols ... rightarrow$ [num] Which of the grammars correctly generate the declaration mentioned above? Both G1 and G2 Only G1 Only G2 Neither G1 nor G2
asked
Feb 12, 2016
in
Compiler Design
by
Akash Kanase
Boss
(
42.6k
points)

1.8k
views
gate20162
compilerdesign
grammar
normal
+29
votes
4
answers
13
GATE2016236
Consider the following Neworder strategy for traversing a binary tree: Visit the root; Visit the right subtree using Neworder; Visit the left subtree using Neworder; The Neworder traversal of the expression tree corresponding to the reverse polish expression 3 4 * 5  2 ^ 6 7 * 1 +  is given by: $+  1 \ 6 ... \  \ 5 \ * \ 4 \ 3 $ $1 \ 7 \ 6 * + \ 2 \ 5 \ 4 \ 3 \ * \  \wedge $
asked
Feb 12, 2016
in
DS
by
Akash Kanase
Boss
(
42.6k
points)

3.1k
views
gate20162
datastructure
binarytree
normal
+43
votes
4
answers
14
GATE2016244
Consider the following languages. $L_{1} = \left\{\left\langle M \right\rangle \mid M \text{ takes at least 2016 steps on some input} \right\}$, $L_{2} = \left\{\left\langle M \right\rangle \mid M \text { takes at least 2016 steps on all inputs} \right\}$ and $L_{ ... L_{3}$ are not recursive $L_{1}, L_{2}$ are recursive and $L_{3}$ is not recursive $L_{1}, L_{2}, L_{3}$ are recursive
asked
Feb 12, 2016
in
Theory of Computation
by
Akash Kanase
Boss
(
42.6k
points)

7.1k
views
gate20162
theoryofcomputation
turingmachine
+37
votes
4
answers
15
GATE2016228
Consider a set $U$ of $23$ different compounds in a chemistry lab. There is a subset $S$ of $U$ of $9$ compounds, each of which reacts with exactly $3$ compounds of $U$. Consider the following statements: Each compound in U \ S reacts with an odd number of ... S reacts with an even number of compounds. Which one of the above statements is ALWAYS TRUE? Only I Only II Only III None.
asked
Feb 12, 2016
in
Set Theory & Algebra
by
Akash Kanase
Boss
(
42.6k
points)

3.3k
views
gate20162
settheory&algebra
difficult
sets
+23
votes
2
answers
16
GATE2016245
Which one of the following grammars is free from left recursion? $S \rightarrow AB$ $A \rightarrow Aa  b$ $B \rightarrow c$ $S \rightarrow Ab  Bb  c$ $A \rightarrow Bd  \epsilon$ $B \rightarrow e$ $S \rightarrow Aa  B$ $A \rightarrow Bb  Sc  \epsilon$ $ B \rightarrow d$ $S \rightarrow Aa  Bb  c$ $A \rightarrow Bd  \epsilon$ $B \rightarrow Ae  \epsilon$
asked
Feb 12, 2016
in
Compiler Design
by
Akash Kanase
Boss
(
42.6k
points)

1.7k
views
gate20162
compilerdesign
grammar
easy
+20
votes
2
answers
17
GATE2016254
For the $IEEE$ $802.11$ MAC protocol for wireless communication, which of the following statements is/are TRUE? (I) At least three nonoverlapping channels are available for transmissions. (II) The RTSCTS mechanism is used for collision detection. (III) Unicast frames are ACKed. All I, II, and III I and III only II and III only II only
asked
Feb 12, 2016
in
Computer Networks
by
Akash Kanase
Boss
(
42.6k
points)

3.4k
views
gate20162
computernetworks
wifi
normal
+25
votes
9
answers
18
GATE2016250
A file system uses an inmemory cache to cache disk blocks. The miss rate of the cache is shown in the figure. The latency to read a block from the cache is $1$ ms and to read a block from the disk is $10$ ms. Assume that the cost of checking ... sizes are in multiples of $10$ MB. The smallest cache size required to ensure an average read latency of less than $6$ ms is _________ MB.
asked
Feb 12, 2016
in
CO & Architecture
by
Akash Kanase
Boss
(
42.6k
points)

3.3k
views
gate20162
coandarchitecture
cachememory
normal
numericalanswers
+35
votes
1
answer
19
GATE2016242
Consider the following two statements: If all states of an NFA are accepting states then the language accepted by the NFA is $\sum_{}^{*}$. There exists a regular language $A$ such that for all languages $B$, $A \cap B$ is regular. Which one of the following is CORRECT? Only I is true Only II is true Both I and II are true Both I and II are false
asked
Feb 12, 2016
in
Theory of Computation
by
Akash Kanase
Boss
(
42.6k
points)

4.4k
views
gate20162
theoryofcomputation
finiteautomata
normal
+24
votes
3
answers
20
GATE2016251
Consider the following database schedule with two transactions $T_{1}$ and $T_{2}$. $S= r_{2}\left(X\right); r_{1}\left(X\right); r_{2} \left(Y\right); w_{1} \left(X\right); r_{1} \left(Y\right); w_{2} \left(X\right); a_{1}; ... about the above schedule is TRUE? $S$ is nonrecoverable. $S$ is recoverable, but has a cascading abort. $S$ does not have a cascading abort. $S$ is strict.
asked
Feb 12, 2016
in
Databases
by
Akash Kanase
Boss
(
42.6k
points)

3.6k
views
gate20162
databases
transactions
normal
+17
votes
2
answers
21
GATE2016253
A network has a data transmission bandwidth of $20 \times 10^{6}$ bits per second. It uses CSMA/CD in the MAC layer. The maximum signal propagation time from one node to another node is $40$ microseconds. The minimum size of a frame in the network is __________ bytes.
asked
Feb 12, 2016
in
Computer Networks
by
Akash Kanase
Boss
(
42.6k
points)

2.1k
views
gate20162
computernetworks
csmacd
numericalanswers
normal
+19
votes
5
answers
22
GATE2016229
The value of the expression $13^{99}\pmod{17}$ in the range $0$ to $16$, is ________.
asked
Feb 12, 2016
in
Combinatory
by
Akash Kanase
Boss
(
42.6k
points)

4.6k
views
gate20162
modulararithmetic
normal
numericalanswers
+26
votes
4
answers
23
GATE2016238
Let $A_{1}, A_{2}, A_{3}$ and $A_{4}$ be four matrices of dimensions $10 \times 5, 5 \times 20, 20 \times 10$ and $10 \times 5$, respectively. The minimum number of scalar multiplications required to find the product $A_{1}A_{2}A_{3}A_{4}$ using the basic matrix multiplication method is _________.
asked
Feb 12, 2016
in
Algorithms
by
Akash Kanase
Boss
(
42.6k
points)

3.4k
views
gate20162
dynamicprogramming
algorithms
normal
numericalanswers
+66
votes
12
answers
24
GATE2016240
The number of ways in which the numbers $1, 2, 3, 4, 5, 6, 7$ can be inserted in an empty binary search tree, such that the resulting tree has height $6$, is _________. Note: The height of a tree with a single node is $0$.
asked
Feb 12, 2016
in
DS
by
Akash Kanase
Boss
(
42.6k
points)

7.9k
views
gate20162
datastructure
binarysearchtree
normal
numericalanswers
+40
votes
4
answers
25
GATE2016234
A complete binary minheap is made by including each integer in $[1, 1023]$ exactly once. The depth of a node in the heap is the length of the path from the root of the heap to that node. Thus, the root is at depth $0$. The maximum depth at which integer $9$ can appear is _________.
asked
Feb 12, 2016
in
DS
by
Akash Kanase
Boss
(
42.6k
points)

4k
views
gate20162
datastructure
heap
normal
numericalanswers
+26
votes
1
answer
26
GATE2016239
The given diagram shows the flowchart for a recursive function $A(n)$. Assume that all statements, except for the recursive calls, have $O(1)$ time complexity. If the worst case time complexity of this function is $O(n^{\alpha})$, then the least possible value (accurate up to two decimal positions) of $\alpha$ is ________. Flow chart for Recursive Function $A(n)$.
asked
Feb 12, 2016
in
Algorithms
by
Akash Kanase
Boss
(
42.6k
points)

3.4k
views
gate20162
algorithms
timecomplexity
recurrence
normal
numericalanswers
+33
votes
5
answers
27
GATE2016233
Consider a $3 \ \text{GHz}$ (gigahertz) processor with a three stage pipeline and stage latencies $\large\tau_1,\tau_2$ and $\large\tau_3$ such that $\large\tau_1 =\dfrac{3 \tau_2}{4}=2\tau_3$. If the longest pipeline stage is split into two pipeline stages of equal latency , the new frequency is __________ $\text{GHz}$, ignoring delays in the pipeline registers.
asked
Feb 12, 2016
in
CO & Architecture
by
Akash Kanase
Boss
(
42.6k
points)

4.2k
views
gate20162
coandarchitecture
pipelining
normal
numericalanswers
+24
votes
7
answers
28
GATE2016235
The following function computes $X^{Y}$ for positive integers $X$ and $Y$. int exp (int X, int Y) { int res =1, a = X, b = Y; while (b != 0) { if (b % 2 == 0) {a = a * a; b = b/2; } else {res = res * a; b = b  1; } } return res; } Which one of the following conditions is TRUE ... loop? $X^{Y} = a^{b}$ $(res * a)^{Y} = (res * X)^{b}$ $X^{Y} = res * a^{b}$ $X^{Y} = (res * a)^{b}$
asked
Feb 12, 2016
in
Programming
by
Akash Kanase
Boss
(
42.6k
points)

2.1k
views
gate20162
programming
loopinvariants
normal
+23
votes
4
answers
29
GATE2016255
Consider a $128 \times 10^3$ bits/second satellite communication link with one way propagation delay of $150$ milliseconds. Selective retransmission (repeat) protocol is used on this link to send data with a frame size of $1$ kilobyte. Neglect the ... of acknowledgement. The minimum number of bits required for the sequence number field to achieve $100 \%$ utilization is ________.
asked
Feb 12, 2016
in
Computer Networks
by
Akash Kanase
Boss
(
42.6k
points)

4.7k
views
gate20162
computernetworks
slidingwindow
normal
numericalanswers
+24
votes
8
answers
30
GATE2016249
Consider a nonnegative counting semaphore $S$. The operation $P(S)$ decrements $S$, and $V(S)$ increments $S$. During an execution, $20$ $P(S)$ operations and $12$ $V(S)$ operations are issued in some order. The largest initial value of $S$ for which at least one $P(S)$ operation will remain blocked is _______
asked
Feb 12, 2016
in
Operating System
by
Akash Kanase
Boss
(
42.6k
points)

3.3k
views
gate20162
operatingsystem
semaphore
normal
numericalanswers
Page:
1
2
3
next »
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Donation (Kerala Flood)
Schedule for GATE 2019
GATE 2019 official website
Correct way of preparation
Right process to start solving MCQs in Comp.Sc.
Follow @csegate
Gatecse
Recent questions tagged gate20162
Recent Blog Comments
Sir I have ordered GO PDF on 16 Aug 2018 still ...
gate overflow books are awesome; every one should ...
Books are there but don't think any will leave ...
Sir i have placed the order Details are PAYMENT ...
Sir i am placing order for gate overflew book ...
38,115
questions
45,622
answers
132,338
comments
49,310
users