Q1 · General Aptitude · MCQ · 1 mark
Choose the word that is opposite in meaning to the word coherent.
- (A)sticky
- (B)well-connected
- (C)rambling
- (D)friendly
Answer (official key): C
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.
Choose the word that is opposite in meaning to the word coherent.
Answer (official key): C
Worked solution: in your report after you take this paper.
The table below has question-wise data on the performance of students in an examination. The marks for each question are also listed. There is no negative or partial marking in the examination.
| Q No. | Marks | Answered Correctly | Answered Wrongly | Not Attempted |
|---|---|---|---|---|
| 1 | 2 | 21 | 17 | 6 |
| 2 | 3 | 15 | 27 | 2 |
| 3 | 2 | 23 | 18 | 3 |
What is the average of the marks obtained by the class in the examination?
Answer (official key): C
Worked solution: in your report after you take this paper.
While trying to collect an envelope from under the table, Mr. X fell down and was losing consciousness.
Which one of the following parts of the sentence is NOT appropriate?
Answer (official key): D
Worked solution: in your report after you take this paper.
If she _______________ how to calibrate the instrument, she _______________ done the experiment.
Answer (official key): C
Worked solution: in your report after you take this paper.
Which number does not belong in the series below?
Answer (official key): C
By the beginning of the 20th century, several hypotheses were being proposed, suggesting a paradigm shift in our understanding of the universe. However, the clinching evidence was provided by experimental measurements of the position of a star which was directly behind our sun.
Which of the following inference(s) may be drawn from the above passage?
(i) Our understanding of the universe changes based on the positions of stars.
(ii) Paradigm shifts usually occur at the beginning of centuries.
(iii) Stars are important objects in the universe.
(iv) Experimental evidence was important in confirming this paradigm shift.
Answer (official key): D
The Gross Domestic Product (GDP) in Rupees grew at 7% during 2012–2013. For international comparison, the GDP is compared in US Dollars (USD) after conversion based on the market exchange rate. During the period 2012–2013, the exchange rate for the USD increased from Rs. 50/USD to Rs. 60/USD.
India's GDP in USD during the period 2012–2013
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.

If the number of female students in 2011 and 2012 is equal, what is the ratio of male students in 2012 to male students in 2011?
Answer (official key): C
Worked solution: in your report after you take this paper.
A dance programme is scheduled for 10.00 a.m. Some students are participating in the programme and they need to come an hour earlier than the start of the event. These students should be accompanied by a parent. Other students and parents should come in time for the programme.
The instruction you think that is appropriate for this is:
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the equation:
where stands for to the base .
Find .
Answer (official key): C
Worked solution: in your report after you take this paper.
The minimum number of arithmetic operations required to evaluate the polynomial
for a given value of , using only one temporary variable is __________.
Answer (official key): 7
Worked solution: in your report after you take this paper.
Suppose depth first search is executed on the graph below starting at some unknown vertex. Assume that a recursive call to visit a vertex is made only after first checking that the vertex has not been visited earlier.

Then the maximum possible recursion depth, including the initial call, is __________.
Answer (official key): 19
Which of the following statements are CORRECT?
Answer (official key): D
Worked solution: in your report after you take this paper.
Host A, on TCP/IP v4 network A, sends an IP datagram to host B, also on TCP/IP v4 network B. Assume that no error occurred during the transmission of .
When reaches B, which of the following IP header field(s) may be different from that of the original datagram ?
(i) TTL
(ii) Checksum
(iii) Fragment Offset
Answer (official key): D
Worked solution: in your report after you take this paper.
What is the optimized version of the relational algebra expression:
where are sets of attributes in with and are Boolean expressions based on the attributes in ?
Answer (official key): A
Worked solution: in your report after you take this paper.
The length of the shortest string NOT in the language over of the following regular expression is __________.
Answer (official key): 3
Worked solution: in your report after you take this paper.
Let be a finite non-empty alphabet and let be the power set of . Which one of the following is TRUE?
Answer (official key): C
Worked solution: in your report after you take this paper.
Not in GATE 2027 syllabus: Framing (data link layer)
A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is:
01111100101
then the input bit-string is:
0111110100011111010101111111010111111111Answer (official key): B
Worked solution: in your report after you take this paper.
One of the purposes of using intermediate code in compilers is to:
Answer (official key): C
Worked solution: in your report after you take this paper.
Consider the following processors. Assume that the pipeline registers have zero latency.
Which processor has the highest peak clock frequency?
Answer (official key): C
Worked solution: in your report after you take this paper.
Let and be finite sets and let be a function. Which one of the following statements is TRUE?
Answer (official key): D
Worked solution: in your report after you take this paper.
Consider the following statements:
Let:
Which one of the following about L, M, and N is CORRECT?
Answer (official key): D
Worked solution: in your report after you take this paper.
In the following pairs of OSI protocol layer/sub-layer and its functionality, the INCORRECT pair is:
Answer (official key): B
Worked solution: in your report after you take this paper.
If and are 4-dimensional subspaces of a 6-dimensional vector space , then the smallest possible dimension of is __________.
Answer (official key): 2
Worked solution: in your report after you take this paper.
A system uses 3 page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page frames are initially empty.
What is the total number of page faults that will occur while processing the page reference string given below?
Answer (official key): 6
Worked solution: in your report after you take this paper.
A prime attribute of a relation scheme is an attribute that appears:
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the following combinational function block involving four Boolean variables , where are inputs and is the output.
f(x, y, a, b) { if (x is 1) y = a; else y = b; }
Which one of the following digital logic blocks is the most suitable for implementing this function?
Answer (official key): C
Worked solution: in your report after you take this paper.
Let be a square matrix of size . Consider the following pseudocode.
C = 100; for i = 1 to n do for j = 1 to n do { Temp = A[i][j] + C; A[i][j] = A[j][i]; A[j][i] = Temp - C; } for i = 1 to n do for j = 1 to n do output(A[i][j]);
What is the expected output?
Answer (official key): A
Worked solution: in your report after you take this paper.
Which one of the following statements is TRUE about every matrix with only real eigenvalues?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider the following rooted tree with the vertex labeled as the root.

The order in which the nodes are visited during an in-order traversal of the tree is:
Answer (official key): A
Worked solution: in your report after you take this paper.
Let be a group with 15 elements. Let be a subgroup of . It is known that and that the size of is at least 4.
The size of is __________.
Answer (official key): 5
Worked solution: in your report after you take this paper.
If
then the value of is equal to __________.
Answer (official key): 4
Worked solution: in your report after you take this paper.
You have an array of elements. Suppose you implement quicksort by always choosing the central element of the array as the pivot. Then the tightest upper bound for the worst-case performance is:
Answer (official key): A
Worked solution: in your report after you take this paper.
In the context of modular software design, which one of the following combinations is desirable?
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the following minterm expression for :
The minterms and are do-not-care terms. The minimal sum-of-products form for is:
Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the relational schema given below, where eId of the relation dependent is a foreign key referring to empId of the relation employee. Assume that every employee has at least one associated dependent in the dependent relation.
employee(empId, empName, empAge) dependent(depId, eId, depName, depAge)
Consider the following relational algebra query:
The above query evaluates to the set of empIds of employees whose age is greater than that of:
Answer (official key): D
Worked solution: in your report after you take this paper.
Which one of the following problems is undecidable?
Answer (official key): A
Worked solution: in your report after you take this paper.
An IP router implementing Classless Inter-Domain Routing (CIDR) receives a packet with address 131.23.151.76. The router's routing table has the following entries:
| Prefix | Output Interface Identifier |
|---|---|
131.16.0.0/12 | 3 |
131.28.0.0/14 | 5 |
131.19.0.0/16 | 2 |
131.22.0.0/15 | 1 |
The identifier of the output interface on which this packet will be forwarded is __________.
(Answer in integer)
Answer (official key): 1
Worked solution: in your report after you take this paper.
Let denote the minimum degree of a vertex in a graph. For all planar graphs on vertices with , which one of the following is TRUE?
Answer (official key): A
Worked solution: in your report after you take this paper.
Consider a paging hardware with a TLB. Assume that the entire page table and all the pages are in the physical memory. It takes 10 milliseconds to search the TLB and 80 milliseconds to access the physical memory. If the TLB hit ratio is 0.6, the effective memory access time, in milliseconds, is __________.
(Answer in integer)
Answer (official key): 122
Worked solution: in your report after you take this paper.
The memory access time is 1 nanosecond for a read operation with a hit in cache, 5 nanoseconds for a read operation with a miss in cache, 2 nanoseconds for a write operation with a hit in cache, and 10 nanoseconds for a write operation with a miss in cache.
Execution of a sequence of instructions involves:
The cache hit ratio is 0.9. The average memory access time, in nanoseconds, in executing the sequence of instructions is __________.
(Round off to two decimal places)
Answer (official key): 1.68
Worked solution: in your report after you take this paper.
Consider a hash table with 100 slots. Collisions are resolved using chaining. Assuming simple uniform hashing, what is the probability that the first 3 slots are unfilled after the first 3 insertions?
Answer (official key): A
Worked solution: in your report after you take this paper.
Suppose we have a balanced binary search tree holding numbers. We are given two numbers and and wish to sum up all the numbers in that lie between and .
Suppose there are such numbers in . If the tightest upper bound on the time to compute the sum is
the value of
is __________.
(Answer in integer)
Answer (official key): 110
Worked solution: in your report after you take this paper.
Consider the transactions , , and and the schedules and given below.
T1: r1(X); r1(Z); w1(X); w1(Z) T2: r2(Y); r2(Z); w2(Z) T3: r3(Y); r3(X); w3(Y)
S1: r1(X); r3(Y); r3(X); r2(Y); r2(Z); w3(Y); w2(Z); r1(Z); w1(X); w1(Z) S2: r1(X); r3(Y); r2(Y); r3(X); r1(Z); r2(Z); w3(Y); w1(X); w2(Z); w1(Z)
Which one of the following statements about the schedules is TRUE?
Answer (official key): A
Worked solution: in your report after you take this paper.
Let denote the Exclusive OR (XOR) operation. Let 1 and 0 denote the binary constants.
Consider the following Boolean expression for over two variables and :
The equivalent expression for is:
Answer (official key): D
Worked solution: in your report after you take this paper.
If is a forest with vertices and connected components, how many edges does have?
Answer (official key): C
Worked solution: in your report after you take this paper.
The synchronous sequential circuit built using JK flip-flops is shown below.

The circuit is initialized with . The state sequence for this circuit for the next 3 clock cycles is:
Answer (official key): C
Worked solution: in your report after you take this paper.
An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times, in milliseconds.
| Process | Arrival Time | Burst Time |
|---|---|---|
| P1 | 0 | 12 |
| P2 | 2 | 4 |
| P3 | 3 | 6 |
| P4 | 8 | 5 |
The average waiting time, in milliseconds, of the processes is __________.
(Round off to one decimal place)
Answer (official key): 5.5
Worked solution: in your report after you take this paper.
Consider the C function given below. Assume that the array listA contains elements, sorted in ascending order.
int ProcessArray(int *listA, int x, int n) { int i, j, k; i = 0; j = n - 1; do { k = (i + j) / 2; if (x <= listA[k]) j = k - 1; if (listA[k] <= x) i = k + 1; } while (i <= j); if (listA[k] == x) return k; else return -1; }
Which one of the following statements about the function ProcessArray is CORRECT?
x is not in listA.listA.-1 even when x is present in listA.Answer (official key): B
Worked solution: in your report after you take this paper.
Consider the following languages over the alphabet :
Here, is the reverse of the string . Which of these languages are deterministic context-free languages?
Answer (official key): C
Worked solution: in your report after you take this paper.
An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are:
Answer (official key): A
Worked solution: in your report after you take this paper.
Let be a sample space and two mutually exclusive events and be such that
If denotes the probability of the event, the maximum value of
is __________.
(Round off to two decimal places)
Answer (official key): 0.25
Worked solution: in your report after you take this paper.
The CORRECT formula for the sentence, “not all rainy days are cold” is:
Answer (official key): D
Worked solution: in your report after you take this paper.
Consider the basic block given below.
a = b + c c = a + d d = b + c e = d - b a = e + b
The minimum number of nodes and edges present in the DAG representation of the above basic block respectively are:
Answer (official key): A
Worked solution: in your report after you take this paper.
An instruction pipeline has five stages, namely instruction fetch (IF), instruction decode and register fetch (ID/RF), instruction execution (EX), memory access (MEM), and register writeback (WB), with stage latencies 1 ns, 2.2 ns, 2 ns, 1 ns, and 0.75 ns, respectively.
To gain in terms of frequency, the designers have decided to split the ID/RF stage into three stages (ID, RF1, RF2), each of latency ns. Also, the EX stage is split into two stages (EX1, EX2), each of latency 1 ns. The new design has a total of eight pipeline stages.
A program has 20% branch instructions which execute in the EX stage and produce the next instruction pointer at the end of the EX stage in the old design and at the end of the EX2 stage in the new design. The IF stage stalls after fetching a branch instruction until the next instruction pointer is computed. All instructions other than the branch instruction have an average CPI of one in both designs.
The execution times of this program on the old and the new design are and nanoseconds, respectively. The value of is __________.
(Round off to two decimal places)
Answer (official key): 1.5 to 1.6
Worked solution: in your report after you take this paper.
The value of the integral given below is:
Answer (official key): A
Worked solution: in your report after you take this paper.
There are two elements in a group such that every element in the group can be written as a product of some number of 's and 's in some order. It is known that
where is the identity element. The maximum number of elements in such a group is __________.
(Answer in integer)
Answer (official key): 4
Worked solution: in your report after you take this paper.
Every host in an IPv4 network has a 1-second resolution real-time clock with battery backup. Each host needs to generate up to 1000 unique identifiers per second. Assume that each host has a globally unique IPv4 address.
Design a 50-bit globally unique ID for this purpose. After what period, in seconds, will the identifiers generated by a host wrap around?
(Answer in integer)
Answer (official key): 256
Worked solution: in your report after you take this paper.
Consider the decision problem 2CNFSAT defined as follows:
For example,
is a Boolean formula and it is in 2CNFSAT.
The decision problem 2CNFSAT is:
Answer (official key): B
Consider the following relational schema:
employee(empId, empName, empDept) customer(custId, custName, salesRepId, rating)
salesRepId is a foreign key referring to empId of the employee relation. Assume that each employee makes a sale to at least one customer. What does the following query return?
SELECT empName FROM employee E WHERE NOT EXISTS ( SELECT custId FROM customer C WHERE C.salesRepId = E.empId AND C.rating <> 'GOOD' );
GOOD rating.GOOD rating.GOOD rating.GOOD rating.Answer (official key): D
Worked solution: in your report after you take this paper.
With respect to the numerical evaluation of the definite integral
where and are given, which of the following statements is/are TRUE?
I. The value of obtained using the trapezoidal rule is always greater than or equal to the exact value of the definite integral.
II. The value of obtained using Simpson's rule is always equal to the exact value of the definite integral.
Answer (official key): C
Worked solution: in your report after you take this paper.
Suppose you want to move from 0 to 100 on the number line. In each step, you either move right by a unit distance or you take a shortcut. A shortcut is simply a pre-specified pair of integers with . Given a shortcut , if you are at position on the number line, you may directly move to .
Suppose denotes the smallest number of steps needed to move from to 100. Suppose further that there is at most one shortcut involving any number, and in particular from 9 there is a shortcut to 15. Let and be such that
Then the value of the product is __________.
(Answer in integer)
Answer (official key): 150
Consider the pseudocode given below. The function DoSomething() takes as argument a pointer to the root of an arbitrary tree represented by the leftMostChild-rightSibling representation. Each node of the tree is of type treeNode.
typedef struct treeNode* treeptr; struct treeNode { treeptr leftMostChild, rightSibling; }; int DoSomething(treeptr tree) { int value = 0; if (tree != NULL) { if (tree->leftMostChild == NULL) value = 1; else value = DoSomething(tree->leftMostChild); value = value + DoSomething(tree->rightSibling); } return value; }
When the pointer to the root of a tree is passed as the argument to DoSomething, the value returned by the function corresponds to the:
Answer (official key): D
Worked solution: in your report after you take this paper.
Consider the set of all functions
such that
for all .
Consider the following statements:
P. For each such function, it must be the case that for every , .
Q. For each such function, it must be the case that for some , .
R. Each such function must be onto.
Which one of the following is CORRECT?
Answer (official key): B
Worked solution: in your report after you take this paper.
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks never arise is __________.
(Answer in integer)
Answer (official key): 7
Worked solution: in your report after you take this paper.