Q1 · General Aptitude · MCQ · 1 mark
What is the average of all multiples of 10 from 2 to 198?
- (A)90
- (B)100
- (C)110
- (D)120
Answer (official key): B
Worked solution: in your report after you take this paper.
Question text and figures as in the official paper, with the answer from the official key. Worked solutions for every question are in your report after you take the paper as a 3-hour test.
What is the average of all multiples of 10 from 2 to 198?
Answer (official key): B
Worked solution: in your report after you take this paper.
Choose the most appropriate phrase from the options given below to complete the following sentence.
India is a post-colonial country because
Answer (official key): A
Worked solution: in your report after you take this paper.
Match the columns.
| Column 1 | Column 2 |
|---|---|
| 1) eradicate | P) misrepresent |
| 2) distort | Q) soak completely |
| 3) saturate | R) use |
| 4) utilize | S) destroy utterly |
Answer (official key): A
Worked solution: in your report after you take this paper.
The value of
is
Answer (official key): C
Worked solution: in your report after you take this paper.
Who ___________ was coming to see us this evening?
Answer (official key): B
Worked solution: in your report after you take this paper.
At what time between 6 a.m. and 7 a.m. will the minute hand and hour hand of a clock make an angle closest to ?
Answer (official key): A
The old city of Koenigsberg, which had a German majority population before World War 2, is now called Kaliningrad. After the events of the war, Kaliningrad is now a Russian territory and has a predominantly Russian population. It is bordered by the Baltic Sea on the north and the countries of Poland to the south and west and Lithuania to the east respectively.
Which of the statements below can be inferred from this passage?
Answer (official key): B
The number of people diagnosed with dengue fever, contracted from the bite of a mosquito, in north India is twice the number diagnosed last year. Municipal authorities have concluded that measures to control the mosquito population have failed in this region.
Which one of the following statements, if true, does not contradict this conclusion?
Answer (official key): D
Worked solution: in your report after you take this paper.
If is real and
then possible values of
include
Answer (official key): D
Worked solution: in your report after you take this paper.
The ratio of male to female students in a college for five years is plotted in the following line graph.

| Year | Ratio of male to female students |
|---|---|
| 2008 | 2.5 |
| 2009 | 3.0 |
| 2010 | 2.0 |
| 2011 | 1.0 |
| 2012 | 1.5 |
If the number of female students doubled in 2009, by what percent did the number of male students increase in 2009?
(Answer in integer)
Answer (official key): 140
Worked solution: in your report after you take this paper.
In the diagram shown below, L1 is an Ethernet LAN and L2 is a Token-Ring LAN. An IP packet originates from sender and traverses to receiver . The links within each ISP and across the two ISPs are point-to-point optical links. The initial value of the TTL field is 32.

The maximum possible value of the TTL field when receives the datagram is __________.
Answer (official key): 26
Worked solution: in your report after you take this paper.
Given an instance of the STUDENTS relation as shown below:
| StudentID | StudentName | StudentEmail | StudentAge | CPI |
|---|---|---|---|---|
| 2345 | Shankar | shankar@math | X | 9.4 |
| 1287 | Swati | swati@ee | 19 | 9.5 |
| 7853 | Shankar | shankar@cse | 19 | 9.4 |
| 9876 | Swati | swati@mech | 18 | 9.3 |
| 8765 | Ganesh | ganesh@civil | 19 | 8.7 |
For (StudentName, StudentAge) to be a key for this instance, the value X should NOT be equal to __________.
Answer (official key): 19
Worked solution: in your report after you take this paper.
Consider the tree arcs of a BFS traversal from a source node in an unweighted, connected, undirected graph. The tree formed by the tree arcs is a data structure for computing
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the function func shown below:
int func(int num) { int count = 0; while (num) { count++; num >>= 1; } return (count); }
The value returned by func(435) is __________.
Answer (official key): 9
Worked solution: in your report after you take this paper.
A priority queue is implemented as a Max-Heap. Initially, it has 5 elements. The level-order traversal of the heap is:
Two new elements 1 and 7 are inserted into the heap in that order. The level-order traversal of the heap after the insertion of the elements is:
Answer (official key): A
Worked solution: in your report after you take this paper.
The maximum number of edges in a bipartite graph on 12 vertices is __________.
Answer (official key): 36
Worked solution: in your report after you take this paper.
A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 4 bytes in size. Given a bytes disk on which the file system is stored and data block size is bytes, the maximum size of a file that can be stored on this disk in units of bytes is __________.
Answer (official key): 99.55 to 99.65
Worked solution: in your report after you take this paper.
Consider the equation
with and as unknowns. The number of possible solutions is __________.
Answer (official key): 3
Worked solution: in your report after you take this paper.
The maximum number of superkeys for the relation schema
with as the key is __________.
Answer (official key): 8
Worked solution: in your report after you take this paper.
A 4-way set-associative cache memory unit with a capacity of 16 KB is built using a block size of 8 words. The word length is 32 bits. The size of the physical address space is 4 GB.
The number of bits for the TAG field is __________.
Answer (official key): 20
Worked solution: in your report after you take this paper.
If the matrix is such that it is the product of a column vector and a row vector, then the determinant of is equal to __________.
Answer (official key): 0
Worked solution: in your report after you take this paper.
Each of the nine words in the sentence
The quick brown fox jumps over the lazy dog
is written on a separate piece of paper. These nine pieces of paper are kept in a box. One of the pieces is drawn at random from the box.
The expected length of the word drawn is __________.
(Round off to one decimal place)
Answer (official key): 3.8 to 3.9
Worked solution: in your report after you take this paper.
Which one of the following is NOT performed during compilation?
Answer (official key): A
Worked solution: in your report after you take this paper.
Which one of the following is TRUE about the interior gateway routing protocols — Routing Information Protocol (RIP) and Open Shortest Path First (OSPF)?
Answer (official key): A
Worked solution: in your report after you take this paper.
Which one of the following socket API functions converts an unconnected active TCP socket into a passive socket?
connectbindlistenacceptAnswer (official key): C
Worked solution: in your report after you take this paper.
If
and
consider the following statements:
(I) is a regular language.
(II) .
Which one of the following is CORRECT?
Answer (official key): A
Worked solution: in your report after you take this paper.
Suppose n and p are unsigned int variables in a C program. We wish to set p to .
If n is large, which one of the following statements is most likely to set p correctly?
p = n * (n-1) * (n-2) / 6;p = n * (n-1) / 2 * (n-2) / 3;p = n * (n-1) / 3 * (n-2) / 2;p = n * (n-1) * (n-2) / 6.0;Answer (official key): B
Worked solution: in your report after you take this paper.
Which one of the following correctly determines the solution of the recurrence relation with ?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider the grammar defined by the following production rules, with two operators * and +:
Which one of the following is TRUE?
+ is left associative, while * is right associative+ is right associative, while * is left associative+ and * are right associative+ and * are left associativeAnswer (official key): B
Let denote that language is mapping reducible, also known as many-to-one reducible, to language . Which one of the following is FALSE?
Answer (official key): D
Worked solution: in your report after you take this paper.
The dual of a Boolean function
written as , is the same expression as that of with and swapped. is said to be self-dual if
The number of self-dual functions with Boolean variables is
Answer (official key): D
Worked solution: in your report after you take this paper.
Which one of the following is TRUE?
Answer (official key): C
Worked solution: in your report after you take this paper.
A non-zero polynomial of degree 3 has roots at , , and . Which one of the following must be TRUE?
Answer (official key): A
Worked solution: in your report after you take this paper.
Let
A circuit is built by giving the output of an -bit binary counter as input to an -to- bit decoder. This circuit is equivalent to a
Answer (official key): C
Worked solution: in your report after you take this paper.
The security system at an IT office is composed of 10 computers of which exactly four are working. To check whether the system is functional, the officials inspect four of the computers picked at random without replacement. The system is deemed functional if at least three of the four computers inspected are working. Let the probability that the system is deemed functional be denoted by .
Then
__________.
Answer (official key): 11.85 to 11.95
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from an HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading, including the embedded image?
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider a join in relational algebra between relations and using the nested loop method. There are 3 buffers each of size equal to disk block size, out of which one buffer is reserved for intermediate results. Assuming
the join will have fewer number of disk block accesses if
Answer (official key): A
Worked solution: in your report after you take this paper.
The number of distinct positive integral factors of 2014 is __________.
Answer (official key): 8
Worked solution: in your report after you take this paper.
Which one of the following Boolean expressions is NOT a tautology?
Answer (official key): B
Worked solution: in your report after you take this paper.
Let
Let
Which one of the following is TRUE?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider the following schedule of transactions , , , :
| Step | ||||
|---|---|---|---|---|
| 1 | Reads(X) | |||
| 2 | Writes(X) | |||
| 3 | Commit | |||
| 4 | Writes(X) | |||
| 5 | Commit | |||
| 6 | Writes(Y) | |||
| 7 | Reads(Z) | |||
| 8 | Commit | |||
| 9 | Reads(X) | |||
| 10 | Reads(Y) | |||
| 11 | Commit |
Which one of the following statements is CORRECT?
Answer (official key): C
Worked solution: in your report after you take this paper.
The value of a float type variable is represented using the single-precision 32-bit floating point format of IEEE-754 standard that uses 1 bit for sign, 8 bits for biased exponent and 23 bits for mantissa. A float type variable X is assigned the decimal value of .
The representation of X in hexadecimal notation is
C1640000H416C0000H41640000HC16C0000HAnswer (official key): A
Worked solution: in your report after you take this paper.
An IP machine Q has a path to another IP machine H via three IP routers R1, R2, and R3.
Q -- R1 -- R2 -- R3 -- H
H acts as an HTTP server, and Q connects to H via HTTP and downloads a file. Session layer encryption is used, with DES as the shared key encryption protocol. Consider the following four pieces of information:
[I1] The URL of the file downloaded by Q
[I2] The TCP port numbers at Q and H
[I3] The IP addresses of Q and H
[I4] The link layer addresses of Q and H
Which of I1, I2, I3, and I4 can an intruder learn through sniffing at R2 alone?
Answer (official key): C
Worked solution: in your report after you take this paper.
Suppose a stack implementation supports an instruction REVERSE, which reverses the order of elements on the stack, in addition to the PUSH and POP instructions.
Which one of the following statements is TRUE with respect to this modified stack?
ENQUEUE takes a single instruction and DEQUEUE takes a sequence of two instructions.ENQUEUE takes a sequence of three instructions and DEQUEUE takes a single instruction.ENQUEUE and DEQUEUE take a single instruction each.Answer (official key): C
Worked solution: in your report after you take this paper.
Consider the following function:
double f(double x) { if (abs(x*x - 3) < 0.01) return x; else return f(x/2 + 1.5/x); }
Give a value , to 2 decimals, such that f(q) will return .
Answer (official key): 1.72 to 1.74
Worked solution: in your report after you take this paper.
The number of distinct minimum spanning trees for the weighted graph below is __________.

Answer (official key): 6
Consider the C function given below.
int f(int j) { static int i = 50; int k; if (i == j) { printf("something"); k = f(i); return 0; } else return 0; }
Which one of the following is TRUE?
j.something for all values of j.j = 50.j = 50.Answer (official key): D
Worked solution: in your report after you take this paper.
Let be the encoding of a Turing machine as a string over . Let
Then is
Answer (official key): B
Worked solution: in your report after you take this paper.
A computer has twenty physical page frames which contain pages numbered 101 through 120. Now a program accesses the pages numbered 1, 2, ..., 100 in that order, and repeats the access sequence three times.
Which one of the following page replacement policies experiences the same number of page faults as the optimal page replacement policy for this program?
Answer (official key): D
Worked solution: in your report after you take this paper.
The probability that a given positive integer lying between 1 and 100, both inclusive, is NOT divisible by 2, 3 or 5 is __________.
Answer (official key): 0.259 to 0.261
Worked solution: in your report after you take this paper.
Consider the procedure below for the Producer-Consumer problem which uses semaphores:
semaphore n = 0; semaphore s = 1; void producer() { while(true) { produce(); semWait(s); addToBuffer(); semSignal(s); semSignal(n); } } void consumer() { while(true) { semWait(s); semWait(n); removeFromBuffer(); semSignal(s); consume(); } }
Which one of the following is TRUE?
s when the buffer is empty.n must be 1 and not 0 for deadlock-free operation.Answer (official key): C
Worked solution: in your report after you take this paper.
Consider the store and forward packet switched network shown below.

Assume that the bandwidth of each link is bytes/sec. A user on host A sends a file of size bytes to host B through routers R1 and R2 in three different ways.
Each packet contains 100 bytes of header information along with the user data. Consider only transmission time and ignore processing, queuing and propagation delays. Also assume that there are no errors during transmission.
Let , and be the times taken to transmit the file in the first, second and third case respectively. Which one of the following is CORRECT?
Answer (official key): D
Worked solution: in your report after you take this paper.
SQL allows duplicate tuples in relations, and correspondingly defines the multiplicity of tuples in the result of joins. Which one of the following queries always gives the same answer as the nested query shown below?
select * from R where a in (select S.a from S)
select R.* from R, S where R.a=S.aselect distinct R.* from R, S where R.a=S.aselect R.* from R, (select distinct a from S) as S1 where R.a=S1.aselect R.* from R, S where R.a=S.a and is unique RAnswer (official key): C
Worked solution: in your report after you take this paper.
Consider two strings
and
Let be the length of the longest common subsequence, not necessarily contiguous, between and , and let be the number of such longest common subsequences between and .
Then
__________.
Answer (official key): 34
Worked solution: in your report after you take this paper.
In designing a computer's cache system, the cache block, or cache line, size is an important parameter. Which one of the following statements is correct in this context?
Answer (official key): D
Worked solution: in your report after you take this paper.
For a C program accessing X[i][j][k], the following intermediate code is generated by a compiler. Assume that the size of an integer is 32 bits and the size of a character is 8 bits.
t0 = i * 1024 t1 = j * 32 t2 = k * 4 t3 = t1 + t0 t4 = t3 + t2 t5 = X[t4]
Which one of the following statements about the source code for the C program is CORRECT?
X is declared as int X[32][32][8]X is declared as int X[4][1024][32]X is declared as char X[4][32][8]X is declared as char X[32][16][2]Answer (official key): A
Worked solution: in your report after you take this paper.
Three processes A, B and C each execute a loop of 100 iterations. In each iteration of the loop, a process performs a single computation that requires CPU milliseconds and then initiates a single I/O operation that lasts for milliseconds. It is assumed that the computer where the processes execute has sufficient number of I/O devices and the OS assigns different I/O devices to each process. Scheduling overhead is negligible.
| Process | ||
|---|---|---|
| A | 100 ms | 500 ms |
| B | 350 ms | 500 ms |
| C | 200 ms | 500 ms |
The processes A, B, and C are started at times 0, 5 and 10 milliseconds respectively, in a pure time sharing system using round robin scheduling with time slice 50 milliseconds.
The time in milliseconds at which process C would complete its first I/O operation is __________.
Answer (official key): 1000
Worked solution: in your report after you take this paper.
In the Newton-Raphson method, an initial guess of is made and the sequence is obtained for the function
Consider the statements:
(I) .
(II) The method converges to a solution in a finite number of iterations.
Which of the following is TRUE?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider the following relation on subsets of the set of integers between 1 and 2014. For two distinct subsets and of , we say if the minimum element in the symmetric difference of the two sets is in .
Consider the following two statements:
S1: There is a subset of that is larger than every other subset.
S2: There is a subset of that is smaller than every other subset.
Which one of the following is CORRECT?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider the expression tree shown below. Each leaf represents a numerical value, which can either be 0 or 1.

Over all possible choices of the values at the leaves, the maximum possible value of the expression represented by the tree is __________.
Answer (official key): 6
Worked solution: in your report after you take this paper.
Suppose are sorted sequences having lengths 20, 24, 30, 35, and 50 respectively. They are to be merged into a single sequence by merging together two sequences at a time.
The number of comparisons that will be needed in the worst case by the optimal algorithm for doing this is __________.
Answer (official key): 358
Worked solution: in your report after you take this paper.
The product of the non-zero eigenvalues of the matrix
is __________.
Answer (official key): 6
Worked solution: in your report after you take this paper.
Consider a main memory system that consists of 8 memory modules attached to the system bus, which is one word wide. When a write request is made, the bus is occupied for 100 nanoseconds by the data, address, and control signals. During the same 100 ns, and for 500 ns thereafter, the addressed memory module executes one cycle accepting and storing the data. The internal operation of different memory modules may overlap in time, but only one request can be on the bus at any time.
The maximum number of stores, of one word each, that can be initiated in 1 millisecond is __________.
Answer (official key): 10000
Worked solution: in your report after you take this paper.
If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?
Answer (official key): D
Worked solution: in your report after you take this paper.
A cycle on vertices is isomorphic to its complement. The value of is __________.
Answer (official key): 5
Worked solution: in your report after you take this paper.