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 2024 SET-1 Questions with Answer
Ques 1 Aptitude
If ‘→’ denotes increasing order of intensity, then the meaning of the words
[dry → arid → parched] is analogous to [diet → fast → ________ ].
Which one of the given options is appropriate to fill the blank?
Ques 2 Aptitude
If two distinct non-zero real variables 𝑥 and 𝑦 are such that (𝑥 + 𝑦) is proportional to (𝑥 − 𝑦) then the value of (𝑥/𝑦)
Ques 3 Aptitude
Consider the following sample of numbers:
9, 18, 11, 14, 15, 17, 10, 69, 11, 13
The median of the sample is
Ques 4 Aptitude
The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio 5:3:13. Of the total amount, the percentage of money in ₹5 coins is
Ques 5 Aptitude
For positive non-zero real variables 𝑝 and 𝑞, if
log (𝑝2 + 𝑞2) = log 𝑝 + log 𝑞 + 2 log 3 ,
then, the value of (𝑝4+𝑞4)/(𝑝2𝑞2) is
Ques 6 Aptitude
In the given text, the blanks are numbered (i)−(iv). Select the best match for all the blanks.
Steve was advised to keep his head ___(i)___ before heading __(ii)___ to bat;
for, while he had a head ___(iii)___ batting, he could only do so with a cool head ___(iv)___ his shoulders.
Ques 7 Aptitude
A rectangular paper sheet of dimensions 54 cm × 4 cm is taken. The two longer edges of the sheet are joined together to create a cylindrical tube. A cube whose surface area is equal to the area of the sheet is also taken. Then, the ratio of the volume of the cylindrical tube to the volume of the cube is
Ques 8 Aptitude
The pie chart presents the percentage contribution of different macronutrients to a
typical 2,000 kcal diet of a person.


Ques 9 Aptitude
A rectangular paper of 20 cm × 8 cm is folded 3 times. Each fold is made along the line of symmetry, which is perpendicular to its long edge. The perimeter of the final folded sheet (in cm) is
Ques 10 Aptitude
The least number of squares to be added in the figure to make AB a line of symmetry is

Ques 11 C Programming
Consider the following C program:

Ques 12 C Programming
Consider the following C program:

Ques 13 Computer Network
A user starts browsing a webpage hosted at a remote server. The browser opens a
single TCP connection to fetch the entire webpage from the server. The webpage
consists of a top-level index page with multiple embedded image objects. Assume
that all caches (e.g., DNS cache, browser cache) are all initially empty. The
following packets leave the user’s computer in some order.
(i) HTTP GET request for the index page
(ii) DNS request to resolve the web server’s name to its IP address
(iii) HTTP GET request for an image object
(iv) TCP SYN to open a connection to the web server
Which one of the following is the CORRECT chronological order (earliest in time
to latest) of the packets leaving the computer ?

Total Unique Visitors