Gate Document
Gate Document
TarGATE16
www.gateforum.com
(D) Imbrue
2.
There is a probability that he was charged with being ______; that many who boasted
themselves of _____ and soberness, and wisdom, regarded him as acting like a madman.
(A) pronounced, precision
(B) rococo, demented
(C) deranged, prudence
(D) prudish, covert
3.
The length of a rectangular plot is 20 metres more than its breadth. If the cost of fencing the
plot @ 26.50 per metre is Rs. 5300, what is the length of the plot in metres?
4.
Choose the word which is most nearly the SAME in meaning as the word given in bold as
used in the passage.
CATACLYSMIC
(A) salubrious
5.
(B) acrobatic
(C) alarming
(D) catastrophic
Each question gives a sentence with a part of the sentence underlined that may contain an
error. Four alternative substitutes are given for the underlined portion. Identify the choice that
replaces the underlined part to form a logically and grammatically correct statement and mark
its number as your answer.
As these changes in the rock are greatest at the surface and diminish downward, we infer that
they have been caused by agents that were working downward in the surface.
(A) we infer that they have been caused by agents that were working downward in the
surface.
(B) we are inferring that they have caused by agents working downward from the surface.
(C) we infer so they have been caused by agents working downward on the surface.
(D) we infer that they have been caused by agents working downward from the surface.
Q. No. 6 10 Carry Two Mark Each
6.
Two pipes A and B can fill a tank in 1 hour 12 minutes and 1 hour 30 minutes respectively.
Pipe C can empty the tank in 1 hour. Initially pipes A and B are opened and after 14 minutes
C is also opened. In how much time will the tank be full?
(A)1 hr
(B)80 min
(C) 84min
(D)1 hr 32 min
7.
4X68Y0 is divisible by both 3 & 11. The non zero digits in the place of x & y are
(A) 5 & 7
(B) 7 & 5
(C) 4 & 5
(D) 5 & 4
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
8.
www.gateforum.com
(A) 30, 30
60
60
12
3
60
20
30
5
(B) 60, 60
(C) 30, 60
9.
The distance between two stations A and B is 600 km. One train leaves station A towards
station B at the average speed of 54 kmph. After an hour another train left station B towards
station A at the average speed of 66 km per hour. The distance from station A where the two
trains meet is?
10.
Choose the option that best captures the essence of the given text.
The birth of the embellishing art must be sought in that stage of animal development when
instinct began to discover that certain attributes or adornments increased attractiveness. When
art in its human sense came into existence ideas of embellishment soon extended from the
person, with, which they had been associated, to all things with which man had to deal. The
processes of the growth of the aesthetic idea are long and obscure.
(A) Embellished art is an outcome of instinct and intellect which provoked man to think that
certain ornaments increased attractiveness. Ideas of embellishment extended from
person to the things he dealt with.
(B) With the help of instinct, humans invented embellished art which increased
attractiveness. Ideas of embellishment ranged from person to the things he dealt with.
The growth of aesthetic ideas takes a long time.
(C) Though the process of growth of aesthetic ideas takes a long time, humans discovered
their instinct and gave birth to the embellished art that could increase attractiveness in
the person to the things he dealt with.
(D) Humans made embellished art on discovery of their instinct and this art captured the
attractiveness of person and the things he dealt with. Due to this, the process of growth
of aesthetic ideas takes a long time.
Computer Science:Q. No. 1 25 Carry One Mark Each
1.
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
www.gateforum.com
(b) The page fault rate for the LRU algorithm on S is the same as the page fault rate for the
LRU algorithm on SR
(c) Global page replacement generally results in greater system throughput than local page
replacement algorithm.
(A) a-T,b-F,c-T
(B) a-T,b-T,c-T
(C) a-F,b-F,c-F
(D) a-T,b-F,c-F
2.
3.
4.
a.
Use of chaining
2.
Page table
b.
3.
Segmentation
c.
4.
Hashed paging
d.
5.
External fragmentation
e.
5.
(B) ( P Q ) R
(C) ( P Q )
(D) ( P Q ) R
A subset of a poset is called an antichain, if every two elements of this subset are
incomparable.
How many antichains are there in the poset with the following Hasse diagram?
e
6.
Suppose Host A is sending Host B a large file over a TCP connection. Then which of the
following statements is/are true?
S1: The number of unacknowledged bytes that A sends cannot exceed the size of the receiver
buffer.
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
www.gateforum.com
S2: If the sequence number for a segment of this connection is m, then the sequence number
of the subsequent segment will be necessarily (m+1).
(A) S1 only
(B) S2 only
(C) Both S1 & S2
(D) Neither S1 nor S2
7.
A router outside the organization received a packet 224.240.7.91. Consider following steps
taken by router.
1. The router looks in its routing table to find out how to route the packet to the destination.
2. The router looks at the first byte of the address to find the class.
3. The default mask for the class is ANDED (logical AND operation) and address is found.
Which of the following shows correct required step for finding the route?
(A) 3 - 1
(B) Only 1
(C) 2 3 - 1
(D) 1 2 - 3
8.
Consider the address 141.14.196.46 and subnet mask 255.255.192.0. Find the subnet id?
9.
(A) 141.14.192.0
(B) 141.14.1.46
(C) 25.255.192.0
Consider a set associative cache with fixed block size. With increase in set associativity of
cache, the cache metadata/tags size will _________
(A) Decrease
(B) Increase
(C) Remains Constant
(D) None of these
10.
Memory is word-addressable and block size is of 8 words. Determine the size of tag field, if
direct mapping is used for transforming data from main memory to cache memory.(in bits)
11.
12.
Rajiv takes two context free languages L1 and L 2 and performs the following operation on
both the languages.
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
www.gateforum.com
Determine the minimum number of states contained in the DFA (Deterministic Finite
Automata) accepting all strings that start with 0 and has odd length or start with 1 and has
even length over the alphabet ={0,1} .
14.
A shift-reduce parser carries out the actions specified within braces immediately after
reducing with the corresponding rule of grammar.
(B) aabcc
(C) aabca
(D) ccbaa
E E OR E
E E AND E
E NOT E
E (E)
E TRUE
E FALSE
E ID
The above grammar is
16.
(A) Ambiguous
(B) Non-ambiguous
(C) LL (1)
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
www.gateforum.com
void f ( Queue Q ){
int i;
if (! Empty ( Q ) ) {
i = ______ A _____;
f (Q);
_____ B _____;
}
}
What operations must be performed at A and B so that Queue will be reversed?
A = insert ( i,Q )
A = insert ( i,Q )
A = delete ( Q )
A = delete ( Q )
(B)
(C)
(D)
(A)
B = insert ( i,Q )
B = delete ( Q )
B = insert ( i,Q )
B = delete ( Q )
17.
18.
If f(x) is differentiable and g(x) > 0 such that f(1)=2, g(1)=2, f(2)=8 and f (x) = 2g(x) for
each x in [1,2] then the value of g(2) is ____
19.
20.
Suppose that cardinalities of relations A and B are m and n respectively, then the maximum
cardinality of the resultant relation A B is (A divides B)
m
m
(A) m
(B) m-n
(C)
(D)
n
n
21.
Which of the following is conflict equivalent serial schedule for the precedence graph given
below involving three transactions T1, T2 and T3?
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
22.
T1
T3
T4
T2
www.gateforum.com
(1) T1,T4,T3,T2
(2) T1,T4,T2,T3
(3) T2,T1,T3,T4
(4) T2,T1,T4,T3
23.
24.
(C) 0, 0, 1
(D) 0, 0, 0
List II
( a ) (12121)3
P. ( 5252 )8
( b ) ( 4310 )5
Q. ( 2B )12
( c ) ( 50 )7
R. ( 304 )7
( d ) ( AAA )12
25.
(B) 1, 1, 0
S. ( 210111)3
(A) a P, b Q, c S, d R
(B) a Q, b S, c R, d P
(C) a S, b R, c Q, d P
(D) a R, b S, c Q, d P
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
www.gateforum.com
Perform a shift reduce parser of the input aaa + a * + according to the grammar?
A AA + AA * a
Show the stack and remaining input at each stage using the form ($ stack, input $). Then,
identify the pair that is NOT a stage of the shift-reduce parser.
(A)
( $ AAA*, + $ )
(B)
( $ AA +, $ )
(C)
( $ AAa +,a* +$ )
(D)
( $ AAA +, a * +$ )
27.
Consider 100Mbps, 100baseT Ethernet. In order to have efficiency of 0.50, what should be
the maximum distance between hub and router, if frame size is 64 bytes and propagation
speed is 60% of speed of light?(in m)
28.
Consider an 802.3 LAN with 500 stations connected to five 500 meter segments. The data
rate is 10 Mbps and the slot time is 51.2sec. If all stations transmit with equal probability,
what is the channel utilization using a frame size of 512 bytes? Assume number of contention
slots are 1.716.(in percent)
29.
In case of Dijkstras algorithm (one of the implementations of link state algorithm), if n is the
number of nodes (excluding the source) how many number of nodes one need to search in
worst case through all the iterations?
(A) n 2
30.
(B)
n ( n + 1)
2
(D) n 2 log n
(C) n 3
X [ R1 ]
R2
M em [ X + R 1 ] R 2
Add
R 3R 4
R5
R3 + R4 R5
SUB
R5R 2
R6
R5 R2 R6
If operand forwarding technique is used, how many clock cycles it will take to complete the
above sequence of instructions?
31.
{ww
x w, x in ( r + s )
ii.
{wxw
w , x in ( a + b )
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
TarGATE16
iii.
iv.
{a b c
n
n n
www.gateforum.com
n >= 1000}
33.
Which of the following is/are can be the linear order of Topological sort
i) A,B, C, D, E, F
ii) F, A, B, C, E, D
iii) F, A, B, C, D, E
(A) Only i
34.
35.
(B) Only i, ii
(D) 1 2 3 4 5
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
t ( n ) = 2t
36.
TarGATE16
www.gateforum.com
( n ) + log n
(B) ( log n )
(D)
log n
Let G be a simple undirected complete and weighted graph with vertex set V={0,1,2,99}.
Weight of the edge (u, v) is u v where 0 u, v 99 and u v . Weight of the corresponding
maximum weighted spanning tree is
37.
38.
39.
The solution function y = f ( x ) for the D.E sinxdy = ( cosx y ) ydx passes through , 2 .
4
is _______
The magnitude of y at x =
4
1
A + 3I, where A =
12
(A)
152 221
,
3
2
(B)
142 321
,
3
2
(C)
152 121
,
3
2
(D)
142 121
,
3
2
8 4
2 2 are _____
Dosomething ( x, n )
{
m = n, temp = 1, z = x;
while ( m > 0 ) do
{
while ( ( m mod z ) = 0 ) do
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
10
TarGATE16
www.gateforum.com
m
m = ;
2
z = z2 ;
}
m = m 1, temp = temp z;
}
return temp;
}
The complexity of above algorithm is
(A) ( log n )
(B) ( n log n )
(C) ( n 2 )
(D) ( n )
40.
Let you are given an array of nine elements in increasing order. If you want to implement
binary search on the given array of elements then the number of comparisons per successful
search on an average will be_______.
41.
(i ) ( p q ) p
( ii ) p ( p q )
( iv ) ( p ( p q ) ) p
42.
( iii ) ~ p ( p q )
( v) ~ (p q) p
f1 : R R defined by f1 ( x ) = x 2 + x, x R
f 2 : Z Z defined by f 2 ( y ) = 2 y , y Z
R : set of real numbers
Z : set of int egers
Then which of the following is true?
(A) f1 is neither injective nor surjective
f2 is injective but not surjective
(B) f1 is injective but not surjective
f2 is injective but not surjective
(C) f1 and f2 are both injective as well as surjective
(D) f1 is not injective but surjective
f2 is injective but not surjective
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
11
43.
TarGATE16
www.gateforum.com
44.
States
q0
( q1 , B, R )
q1
( q1 ,a, R )
( q1 , b, R )
( q 2 , B, L )
( q3 B,L )
q2
q3
( q3 ,a, L )
( q3 , b, L )
**
q4
What is the value of * & * * in transition table?
* and * * are respectively
45.
(A)
( q 4 , B, R ) , ( q 0 B, R )
(B)
( q1 , B, R ) , ( q 0 ,B, R )
(C)
( q 4 , B, R ) , ( q1B,R )
(D)
( q1 , B, R ) , ( q 2 , B, R )
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
12
TarGATE16
www.gateforum.com
(A) The number of as, bs, and cs will be equal but the order of occurrence is
not fixed
Which of the following time stamp ordering protocols allow(s) the following schedules?
T : W1 ( A ) ; W3 ( A ) ;R 2 ( A ) ; W4 ( A ) :
Time stamps : T1 : 5, T2 :10, T3 :15; T4 : 20
(A) Thomas write rule
47.
On a system using demand paged memory, it takes 120ns to satisfy a memory request if the
page is in memory. If the page is not in memory, the request takes (on average) 5ms. What
would the page fault rate(in %) if the effective access time is 1000s ? Assume the system is
working on a single process and the CPU is idle during page swaps.
48.
Assume that 50% of all engineering students are good in mathematics. The probability that in
a sample of 18 engineering students, at most 8 are good in mathematics is
(A) 0.12
49.
50.
(B) 0.56
(C) 0.23
(D) 0.04
Suppose the elements 42, 23, 37, 71, 34, 51, 9 are inserted into an empty binary max heap in
the same order. What is the level order traversal of the constructed max heap?
(A) 71, 42, 51, 23, 34,37, 9
(D) None
Calculate the number of page faults, considering FIFO replacement algorithm for the
following page reference string, with 4 frames
1 2 3 4 1 3 5 2 1 5 4 3 2 3
51.
A memory system of 200K bytes size is organized using contiguous dynamic management.
P,Q,R and S are process running with the following allocation and deallocation requests
(a) P requests 32KB
(b) Q requests 38KB
(c) R requests 26KB
(d) P completes and releases
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
13
TarGATE16
www.gateforum.com
52.
Consider the IEEE-754 single precision standard, in which sign takes 1 bit, mantissa 23 bits
and exponent is of 8 bits. Biasing value is 127 and normalization is of 1.M form, where M
represents the mantissa.
What is the largest number represented by IEEE-754 single precision standard?
(B) (2-2-52) 21023
(C) 12-126
(D) None of these
(A) (2-2-23) 2127
53.
Consider the following hexadecimal representation of a base 2, 32 bits floating point number:
[ BEC00000]H
Where first bit represents the sign bit, next 8-bits represent the exponent and last 23-bits
represent mantissa. Mantissa is in normalized 1.fraction form and biasing is 127.
Write the decimal equivalent of the given floating point number.
(A) 1.5
(B) 0.5
(C) 0.675
(D) 0.375
54.
Suppose that the file is ordered by the key field SSN (length of 4 bytes) and want to construct
the primary index on SSN. Assume block size (B) is of 512 bytes, block pointer (P) is of 6
Bytes, record pointer is of 7 bytes. The file contains
30,000 employee records and each record size (R) is of 50 bytes.
Calculate the number of levels needed if we make it into a multi level index.
(A) 2 levels
(B) 4 levels
(C) 1 level
(D) 3 levels
55.
The order of a non-leaf node in a B+ tree is maximum number of block pointer it can hold it
the block size is 1024 byte, data record pointer is 16 byte, the key field is 10 byte long &
block pointer is 8 byte long, what is the maximum number of keys a non-leaf node can hold?
ICPIntensive Classroom Program eGATE-Live Internet Based Classes DLP TarGATE-All India Test Series
All rights reserved by Gateforum Educational Services Pvt. Ltd. No part of this booklet may be reproduced or utilized in any form
without the written permission.
14