CS/IT Gate Yearwise
CS/IT Gate 2025 (Set 2)
CS/IT Gate 2024 (Set 1)
CS/IT Gate 2024 (Set 2)
CS/IT Gate 2023
CS/IT Gate 2022
CS/IT Gate 2021 (Set 1)
CS/IT Gate 2021 (Set 2)
CS/IT Gate 2020
CS/IT Gate 2019
CS/IT Gate 2018
CS/IT Gate 2017 (Set 1)
CS/IT Gate 2017 (Set 2)
CS/IT Gate 2016 (Set 1)
CS/IT Gate 2016 (Set 2)
CS/IT Gate 2015 (Set 1)
CS/IT Gate 2015 (Set 2)
CS/IT Gate 2015 (Set 3)
CS/IT Gate 2014 (Set 1)
CS/IT Gate 2014 (Set 2)
CS/IT Gate 2014 (Set 3)
CS and IT GATE 2014 Set-2 Questions with Answer
Ques 40 Mathematics
The number of distinct positive integral factors of 2014 is _______.
Ques 41 Mathematics
Consider the following relation on subsets of the set S of integers between 1 and 2014. For two distinct subsets U and V of S we say U < V if the minimum element in the symmetric difference of the two sets is in U. Consider the following two statements:
S1: There is a subset of S that is larger than every other subset.
S2: There is a subset of S that is smaller than every other subset.
Which one of the following is CORRECT?
Ques 42 Numerical Analysis
In the Newton-Raphson method, an initial guess of x0 = 2 is made and the sequence x0, x1, x2,... is obtained for the function 0.75x^3 - 2x^2 - 2x + 4 = 0. Consider the statements
(I) x3 = 0.
(II) The method converges to a solution in a finite number of iterations.
Which of the following is TRUE?
Ques 43 Operating Systems
Consider the procedure below for the Producer-Consumer problem which uses semaphores:

Ques 44 Operating Systems
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 tc CPU milliseconds and then initiates a single I/O operation that lasts for tio milliseconds. It is assumed that the computer where the processes execute has sufficient number of I/O devices and the OS of the computer assigns different I/O devices to each process. Also, the scheduling overhead of the OS is negligible. The processes have the following characteristics:

1000 to 1000 is the correct answer.
Ques 45 Operating Systems
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 THRICE. Which one of the following page replacement policies experiences the same number of page faults as the optimal page replacement policy for this program?
Ques 46 Programming and Data Structures
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 _______.
Ques 47 Programming and Data Structures
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 + t2
t4 = t0 + t3
t5 = X[t4]
Which one of the following statements about the source code for the C program is CORRECT?
Ques 48 Programming and Data Structures
Consider the expression tree shown. 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 _______.

6 to 6 is the correct answer.
Ques 49 Programming and Data Structures
Consider the C function given below.

Ques 50 Reasoning
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 doubled in 2009, by what percent did the number of male students increase in 2009?

Ques 51 Reasoning
At what time between 6 a.m. and 7 a.m. will the minute hand and hour hand of a clock make an angle of 60°?
Ques 52 Theory of Computation
Given an instance of the STUDENTS relation as shown below:

19 to 19 is the correct answer.

Total Unique Visitors