GATE CS General Aptitude PYQ with Solutions

Also searched as: GATE GA PYQ · GATE Aptitude PYQ · GATE Verbal Ability PYQ · GATE Quantitative Aptitude PYQ

All 100 General Aptitude questions from every GATE Computer Science (CS/CSE) paper from 2021 to 2026, both sets where there were two, with the official answer key and a step-by-step solution. General Aptitude carries about 15 marks per paper on average. Questions are grouped chapter-wise, newest paper first.

General Aptitude — average marks per paper
202620252024202320222021
151515151515

General Aptitude: Quantitative Aptitude — GATE CS PYQ (39)

  1. GATE CS 2026 Set 1 · Q3General Aptitudemcq1 mark
    Consider a knock-out women’s badminton singles tournament where there are no ties. The loser in each game is eliminated from the tournament. Every player plays until she is defeated or remains the last undefeated player. The last undefeated player is declared the winner of the tournament. If there are 64 players in the beginning of the tournament, how many games should be played in total to declare the winner of the tournament?
    • A.
      127
    • B.
      64
    • C.
      63
      ✓
    • D.
      32

    Answer: C

    Solution

    Answer: (C) 63 Each game eliminates exactly one player. To go from 64 players to 1 winner, 63 players must be eliminated, so 63 games are needed. Round by round: 32 + 16 + 8 + 4 + 2 + 1 = 63.
    Open GATE CS 2026 Set 1 Q3 · discuss this question →
  2. GATE CS 2026 Set 1 · Q4General Aptitudemcq1 mark
    A student needs to enroll for a minimum of 60 credits. A student cannot enroll for more than 70 credits. The credits are divided amongst project and three distinct sets of courses namely, core courses, specialization courses, and elective courses. It is compulsory for a student to enroll for exactly 15 credits of core courses and exactly 20 credits of project. In addition, a student has to enroll for a minimum of 10 credits of specialization courses. The maximum credits of elective courses that a student can enroll for is ______
    • A.
      10
    • B.
      15
    • C.
      20
    • D.
      25
      ✓

    Answer: D

    Solution

    Answer: (D) 25 To maximise electives, take the overall maximum and the minimum everywhere else:
    Open GATE CS 2026 Set 1 Q4 · discuss this question →
  3. GATE CS 2026 Set 1 · Q8General Aptitudemcq2 marks
    For positive real numbers and , the function is defined as: . The max function is defined as:
    The graph below shows the plot of a function versus . can be expressed as _____.
    GATE CS 2026 Set 1 Question 8 figure
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) is a "hinge": 0 up to , then a line of slope 1. Read the graph off as slopes: slope 0 before 10, slope +1 from 10 to 20, then slope 0 again. Switching the slope on at 10 gives , and switching it off at 20 gives . Check: ✓, ✓, ✓. (B) would make the graph slope down after 20, (C) would go negative between 10 and 20, and (D) would start rising at 15.
    Open GATE CS 2026 Set 1 Q8 · discuss this question →
  4. GATE CS 2026 Set 1 · Q10General Aptitudemcq2 marks
    An unbiased six-faced dice whose faces are marked with numbers 1, 2, 3, 4, 5, and 6 is rolled twice in succession and the number on the top face is recorded each time. The probability that the number appearing in the second roll is an integer multiple of the number appearing in the first roll is __________
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Answer: (C) 7/18
    First roll | Second roll is a multiple | Count
    -----------+---------------------------+------
    1          | 1,2,3,4,5,6               | 6
    2          | 2,4,6                     | 3
    3          | 3,6                       | 2
    4          | 4                         | 1
    5          | 5                         | 1
    6          | 6                         | 1
    Favourable outcomes = 14 out of 36, so .
    Open GATE CS 2026 Set 1 Q10 · discuss this question →
  5. GATE CS 2026 Set 2 · Q3General Aptitudemcq1 mark
    A day can only be cloudy or sunny. The probability of a day being cloudy is 0.5, independent of the condition on other days. What is the probability that in any given four days, there will be three cloudy days and one sunny day?
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) This is a binomial situation with , .
    Open GATE CS 2026 Set 2 Q3 · discuss this question →
  6. GATE CS 2026 Set 2 · Q4General Aptitudemcq1 mark
    The values of Stock A and Stock B on a particular day are Rs. 50 and Rs. 80, respectively. An investor invests Rs. 100 in Stock A and Rs. 80 in Stock B. He sells all the stocks the next day when the value of Stock A is Rs. 55 and Stock B is Rs. 70. The profit made by the investor is Rs. ________
    • A.
      0
      ✓
    • B.
      5
    • C.
      10
    • D.
      20

    Answer: A

    Solution

    Answer: (A) Stock A: Rs.100 buys shares; next day worth → gain Rs.10. Stock B: Rs.80 buys share; next day worth → loss Rs.10. Net profit .
    Open GATE CS 2026 Set 2 Q4 · discuss this question →
  7. GATE CS 2026 Set 2 · Q10General Aptitudemcq2 marks
    An unbiased six-faced dice whose faces are marked with numbers 1, 2, 3, 4, 5, and 6 is rolled twice in succession and the number on the top face is recorded each time. The probability that the sum of the two recorded numbers is a prime number is ________
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Answer: (C) Out of equally likely outcomes, the sums that are prime are with counts respectively:
    Open GATE CS 2026 Set 2 Q10 · discuss this question →
  8. GATE CS 2025 Set 1 · Q3General Aptitudemcq1 mark
    The average marks obtained by a class in an examination were calculated as . However, while checking the marks entered, the teacher found that the marks of one student were entered incorrectly as instead of . After correcting the marks, the average becomes . How many students does the class have?
    • A.
      25
    • B.
      28
    • C.
      30
      ✓
    • D.
      32

    Answer: C

    Solution

    Answer: (C) 30 The total increases by after correction. This raised the average by . If is the number of students, the extra marks are spread over students:
    Open GATE CS 2025 Set 1 Q3 · discuss this question →
  9. GATE CS 2025 Set 1 · Q7General Aptitudemcq2 marks
    In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and line QR. What is the ratio of the area of the triangle PST to the area of the trapezium SQRT? Note: The figure shown is representative.
    GATE CS 2025 Set 1 Question 7 figure
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) Let the distance from to be . The distance between and is , so lies at height below . Since , triangle triangle with ratio of heights . Areas scale as the square:
    The trapezium . Therefore
    Open GATE CS 2025 Set 1 Q7 · discuss this question →
  10. GATE CS 2025 Set 1 · Q8General Aptitudemcq2 marks
    A fair six-faced dice, with the faces labelled '1', '2', '3', '4', '5', and '6', is rolled thrice. What is the probability of rolling '6' exactly once?
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) This is a binomial trial with , success rolling a 6, , .
    Open GATE CS 2025 Set 1 Q8 · discuss this question →
  11. GATE CS 2025 Set 1 · Q10General Aptitudemcq2 marks
    A shop has 4 distinct flavors of ice-cream. One can purchase any number of scoops of any flavor. The order in which the scoops are purchased is inconsequential. If one wants to purchase 3 scoops of ice-cream, in how many ways can one make that purchase?
    • A.
      4
    • B.
      20
      ✓
    • C.
      24
    • D.
      48

    Answer: B

    Solution

    Answer: (B) 20 Choosing 3 scoops from 4 flavors with repetition allowed, order irrelevant, is a combination with repetition (stars and bars):
    Open GATE CS 2025 Set 1 Q10 · discuss this question →
  12. GATE CS 2025 Set 2 · Q3General Aptitudemcq1 mark
    If for all real values of , which one of the following statements is true?
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) must hold for every . The functions and are linearly independent, so the only way the equality holds for all is and . (Equivalently, for all ; the left side varies with unless , which forces .)
    Open GATE CS 2025 Set 2 Q3 · discuss this question →
  13. GATE CS 2025 Set 2 · Q9General Aptitudemcq2 marks
    In the given figure, PQRS is a square of side 2 cm and PLMN is a rectangle. The corner L of the rectangle is on the side QR. Side MN of the rectangle passes through the corner S of the square. What is the area (in cm) of the rectangle PLMN? Note: The figure shown is representative.
    GATE CS 2025 Set 2 Question 9 figure
    • A.
    • B.
      2
    • C.
      8
    • D.
      4
      ✓

    Answer: D

    Solution

    Answer: (D) 4 Place . Let on side . The rectangle has one side with length . Its opposite side is parallel to and passes through , so the rectangle's width equals the distance from to line . Line : . Distance from :
    Area — independent of where sits. So the area is .
    Open GATE CS 2025 Set 2 Q9 · discuss this question →
  14. GATE CS 2024 Set 1 · Q2General Aptitudemcq1 mark
    If two distinct non-zero real variables and are such that is proportional to , then the value of
    • A.
      depends on
    • B.
      depends only on and not on
    • C.
      depends only on and not on
    • D.
      is a constant
      ✓

    Answer: D

    Solution

    Answer: (D) is a constant for a constant . Dividing by : . Solving for gives , a constant independent of the particular .
    Open GATE CS 2024 Set 1 Q2 · discuss this question →
  15. GATE CS 2024 Set 1 · Q3General Aptitudemcq1 mark
    Consider the following sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13. The median of the sample is
    • A.
      13.5
      ✓
    • B.
      14
    • C.
      11
    • D.
      18.7

    Answer: A

    Solution

    Answer: (A) 13.5 Sort: 9, 10, 11, 11, 13, 14, 15, 17, 18, 69. With 10 values (even), the median is the average of the 5th and 6th: .
    Open GATE CS 2024 Set 1 Q3 · discuss this question →
  16. GATE CS 2024 Set 1 · Q4General Aptitudemcq1 mark
    The number of coins of Rs.1, Rs.5, and Rs.10 denominations that a person has are in the ratio 5:3:13. Of the total amount, the percentage of money in Rs.5 coins is
    • A.
      21%
    • B.
    • C.
      10%
      ✓
    • D.
      30%

    Answer: C

    Solution

    Answer: (C) 10% Take counts . Money: Rs.1 coins , Rs.5 coins , Rs.10 coins . Total . Share of Rs.5 coins .
    Open GATE CS 2024 Set 1 Q4 · discuss this question →
  17. GATE CS 2024 Set 1 · Q5General Aptitudemcq1 mark
    For positive non-zero real variables and , if , then the value of is
    • A.
      79
      ✓
    • B.
      81
    • C.
      9
    • D.
      83

    Answer: A

    Solution

    Answer: (A) 79 RHS , so . Then
    Open GATE CS 2024 Set 1 Q5 · discuss this question →
  18. GATE CS 2024 Set 1 · Q7General Aptitudemcq2 marks
    A rectangular paper sheet of dimensions 54 cm x 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
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) Sheet area . Cube: , so cube volume . Joining the two long (54 cm) edges makes the 54-cm edge the seam (height ), and the 4-cm width becomes the circumference: . Cylinder volume . Ratio
    Open GATE CS 2024 Set 1 Q7 · discuss this question →
  19. GATE CS 2024 Set 1 · Q8General Aptitudemcq2 marks
    A pie chart gives the percentage contribution of macronutrients to a 2,000 kcal diet: Carbohydrates 35%, Proteins 20%, Unsaturated fat 20%, Saturated fat 20%, Trans fat 5%. Energy density (kcal/g): Carbohydrates 4, Proteins 4, Unsaturated/Saturated/Trans fat 9. The total fat (all three types), in grams, this person consumes is
    • A.
      44.4
    • B.
      77.8
    • C.
      100
      ✓
    • D.
      3,600

    Answer: C

    Solution

    Answer: (C) 100 Fat share of kcal. Each gram of fat gives kcal, so grams g.
    Open GATE CS 2024 Set 1 Q8 · discuss this question →
  20. GATE CS 2024 Set 2 · Q2General Aptitudemcq1 mark
    Two wizards mix four elements (water, air, fire, earth) in all possible orders, working independently. After trying all orders, the spell fails. How many attempts does each wizard make independently?
    • A.
      24
      ✓
    • B.
      48
    • C.
      16
    • D.
      12

    Answer: A

    Solution

    Answer: (A) 24 The number of orders (permutations) of 4 distinct elements is . Each wizard independently tries all 24 orders.
    Open GATE CS 2024 Set 2 Q2 · discuss this question →
  21. GATE CS 2024 Set 2 · Q3General Aptitudemcq1 mark
    Of 10,000 students, 1,500 like neither core nor other branches. Students liking core branches of those liking other branches. 500 like both. The number who like their core branches is
    • A.
      1,800
      ✓
    • B.
      3,500
    • C.
      1,600
    • D.
      1,500

    Answer: A

    Solution

    Answer: (A) 1,800 Students liking core or other . Let core , other , with and both . . Substitute :
    Open GATE CS 2024 Set 2 Q3 · discuss this question →
  22. GATE CS 2024 Set 2 · Q4General Aptitudemcq1 mark
    For positive non-zero , if , then is
    • A.
      1
    • B.
      1/2
    • C.
      2
      ✓
    • D.
      4

    Answer: C

    Solution

    Answer: (C) 2 RHS , so — the arithmetic mean equals the geometric mean, which happens only when . Then .
    Open GATE CS 2024 Set 2 Q4 · discuss this question →
  23. GATE CS 2024 Set 2 · Q5General Aptitudemcq1 mark
    In the sequence 6, 9, 14, x, 30, 41, a possible value of is
    • A.
      25
    • B.
      21
      ✓
    • C.
      18
    • D.
      20

    Answer: B

    Solution

    Answer: (B) 21 The successive differences are consecutive odd numbers: , , then . So , and indeed , .
    Open GATE CS 2024 Set 2 Q5 · discuss this question →
  24. GATE CS 2024 Set 2 · Q7General Aptitudemcq2 marks
    A person sold two different items at the same price, making 10% profit on one and 10% loss on the other. Overall, the person made
    • A.
      1% profit
    • B.
      2% profit
    • C.
      1% loss
      ✓
    • D.
      2% loss

    Answer: C

    Solution

    Answer: (C) 1% loss Selling two items at the same price with equal and always gives a net loss of . For : loss .
    Open GATE CS 2024 Set 2 Q7 · discuss this question →
  25. GATE CS 2024 Set 2 · Q8General Aptitudemcq2 marks
    Pie charts give shares of power generation. 2007: Coal 35, Gas 25, Wind 5, Hydro 30, Solar 5 (%). 2023: Coal 20, Gas 15, Wind 10, Hydro 35, Solar 20 (%). Renewables = Hydro+Solar+Wind. Total generation unchanged. The percentage increase in the renewable share is
    • A.
      25%
    • B.
      50%
    • C.
      77.5%
    • D.
      62.5%
      ✓

    Answer: D

    Solution

    Answer: (D) 62.5% Renewable share: 2007 ; 2023 . Percentage increase
    Open GATE CS 2024 Set 2 Q8 · discuss this question →
  26. GATE CS 2023 · Q3General Aptitudemcq1 mark
    A series of natural numbers obeys for all . If and , what is ?
    • A.
      4
      ✓
    • B.
      5
    • C.
      8
    • D.
      9

    Answer: A

    Solution

    Answer: (A) 4 Work backwards with :
    F5 = 60-37 = 23
    F4 = 37-23 = 14
    F3 = 23-14 = 9
    F2 = 14-9  = 5
    F1 = 9-5   = 4
    Open GATE CS 2023 Q3 · discuss this question →
  27. GATE CS 2023 · Q7General Aptitudemcq2 marks
    Let and for . Statements: (i) For some , . (ii) There exists such that for all . Which is TRUE?
    • A.
      only (i) is correct
    • B.
      only (ii) is correct
    • C.
      both (i) and (ii) are correct
      ✓
    • D.
      neither (i) nor (ii) is correct

    Answer: C

    Solution

    Answer: (C) both (i) and (ii) are correct For small , exceeds (e.g. : ) -> (i) true. They cross at ; beyond that the quadratic dominates the linear, so for all -> (ii) true.
    Open GATE CS 2023 Q7 · discuss this question →
  28. GATE CS 2023 · Q9General Aptitudemcq2 marks
    and are functions of and respectively, and for all real and . Which one is necessarily TRUE for all and ?
    • A.
      and
    • B.
      constant
      ✓
    • C.
      constant and constant (possibly different)
    • D.

    Answer: B

    Solution

    Answer: (B) constant If for all independent and , vary with fixed: cannot change, so is a constant; likewise is a constant, and the two constants are equal. Hence both equal the same constant.
    Open GATE CS 2023 Q9 · discuss this question →
  29. GATE CS 2022 · Q2General Aptitudemcq1 mark
    A function on is for , for , for . The area under the curve on is
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Answer: (C) Area sum of rectangle areas:
    Open GATE CS 2022 Q2 · discuss this question →
  30. GATE CS 2022 · Q3General Aptitudemcq1 mark
    Let be a root of . The value of is
    • A.
      51
    • B.
      -51
    • C.
      126
    • D.
      -126
      ✓

    Answer: D

    Solution

    Answer: (D) -126 From , . Pair the factors: and . Let . Then the product . With : and , so the product
    Open GATE CS 2022 Q3 · discuss this question →
  31. GATE CS 2022 · Q8General Aptitudemcq2 marks
    A box has 3 green and 2 orange balls. If a green ball is drawn, it is NOT replaced; if an orange ball is drawn, it is replaced with another orange ball. After the first draw, what is the probability of getting an orange ball in the next draw?
    • A.
    • B.
    • C.
    • D.
      ✓

    Answer: D

    Solution

    Answer: (D) - First draw green (): box becomes 2 green, 2 orange, so . - First draw orange (): orange is replaced by orange, box stays 3 green, 2 orange, so . Total
    Open GATE CS 2022 Q8 · discuss this question →
  32. GATE CS 2021 Set 1 · Q1General Aptitudemcq1 mark
    The ratio of boys to girls in a class is 7 to 3. Among the options below, an acceptable value for the total number of students in the class is:
    • A.
      21
    • B.
      37
    • C.
      50
      ✓
    • D.
      73

    Answer: C

    Solution

    Boys : girls , so the total is a multiple of . Among the options only is a multiple of .
    Open GATE CS 2021 Set 1 Q1 · discuss this question →
  33. GATE CS 2021 Set 1 · Q6General Aptitudemcq2 marks
    We have 2 rectangular sheets of paper, M and N, of dimensions 6 cm 1 cm each. Sheet M is rolled to form an open cylinder by bringing the short edges of the sheet together. Sheet N is cut into equal square patches and assembled to form the largest possible closed cube. Assuming the ends of the cylinder are closed, the ratio of the volume of the cylinder to that of the cube is ______
    • A.
    • B.
    • C.
      ✓
    • D.

    Answer: C

    Solution

    Rolling M (bringing the 1 cm short edges together) gives circumference and height , so . Sheet N has area 6, giving six faces, i.e. a unit cube with . Ratio .
    Open GATE CS 2021 Set 1 Q6 · discuss this question →
  34. GATE CS 2021 Set 1 · Q7General Aptitudemcq2 marks
    Details of prices of two items P and Q are presented in the table below. The ratio of cost of item P to cost of item Q is 3:4. Discount is calculated as the difference between the marked price and the selling price. The profit percentage is calculated as the ratio of the difference between selling price and cost, to the cost, i.e. .
    Items   Cost (Rs)   Profit %   Marked Price (Rs)
      P       5,400       ---           5,860
      Q        ---         25          10,000
    The discount on item Q, as a percentage of its marked price, is ______
    • A.
      25
    • B.
      12.5
    • C.
      10
      ✓
    • D.
      5

    Answer: C

    Solution

    Cost of P = 5400, and cost P : cost Q = 3 : 4, so cost of Q . Profit 25% gives selling price of Q . Discount , which is of the marked price.
    Open GATE CS 2021 Set 1 Q7 · discuss this question →
  35. GATE CS 2021 Set 1 · Q8General Aptitudemcq2 marks
    There are five bags each containing identical sets of ten distinct chocolates. One chocolate is picked from each bag. The probability that at least two chocolates are identical is ______
    • A.
      0.3024
    • B.
      0.4235
    • C.
      0.6976
      ✓
    • D.
      0.8125

    Answer: C

    Solution

    P(all five distinct) . Hence P(at least two identical) .
    Open GATE CS 2021 Set 1 Q8 · discuss this question →
  36. GATE CS 2021 Set 2 · Q3General Aptitudemcq1 mark
    The longest diagonal of a cube makes an angle with an edge of the cube that meets it at a vertex. The value of is ______.
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    For a unit cube, an edge vector is and the body diagonal is of length . .
    Open GATE CS 2021 Set 2 Q3 · discuss this question →
  37. GATE CS 2021 Set 2 · Q4General Aptitudemcq1 mark
    Consider the following equation.
    The value of is ______.
    • A.
      2
    • B.
      4
      ✓
    • C.
      6
    • D.
      8

    Answer: B

    Solution

    Using with : .
    Open GATE CS 2021 Set 2 Q4 · discuss this question →
  38. GATE CS 2021 Set 2 · Q8General Aptitudemcq2 marks
    The number of students in three classes is in the ratio . If 18 students are added to each class, the ratio changes to . The total number of students in all the three classes in the beginning was:
    • A.
      22
    • B.
      66
    • C.
      88
      ✓
    • D.
      110

    Answer: C

    Solution

    Let the counts be . From : . Total .
    Open GATE CS 2021 Set 2 Q8 · discuss this question →
  39. GATE CS 2021 Set 2 · Q9General Aptitudemcq2 marks
    The number of units of a product sold in three different years and the respective net profits are presented in the figure. The cost/unit in Year 3 was Rs 1, which was half the cost/unit in Year 2. The cost/unit in Year 3 was one-third of the cost/unit in Year 1. Taxes were paid on the selling price at 10%, 13% and 15% respectively for the three years. Net profit is calculated as the difference between the selling price and the sum of cost and taxes paid in that year. The ratio of the selling price in Year 2 to the selling price in Year 3 is ______.
    GATE CS 2021 Set 2 Question 9 figure
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Selling price = cost + taxes + net profit, with tax a fixed fraction of selling price. Computing SP for Year 2 and Year 3 from the chart values (units, net profit) and the given per-unit costs and tax rates gives the ratio .
    Open GATE CS 2021 Set 2 Q9 · discuss this question →

General Aptitude: Verbal Ability — GATE CS PYQ (23)

  1. GATE CS 2026 Set 1 · Q1General Aptitudemcq1 mark
    The antonym of the word protagonist is ________.
    • A.
      agnostic
    • B.
      antagonist
      ✓
    • C.
      arsonist
    • D.
      anarchist

    Answer: B

    Solution

    Answer: (B) antagonist A protagonist is the leading character or a champion of a cause. Its opposite is the antagonist, the one who opposes the protagonist. The other words are unrelated: an agnostic doubts that God's existence can be known, an arsonist sets fires on purpose, and an anarchist rejects all government.
    Open GATE CS 2026 Set 1 Q1 · discuss this question →
  2. GATE CS 2026 Set 1 · Q6General Aptitudemcq2 marks
    Combinatorics deals with problems involving counting. For example, “How many distinct arrangements of N distinct objects in M spaces on a circle are possible?” is a typical problem in combinatorics. This kind of counting is sometimes used in the modeling of several physical phenomena. Often, in such models, the different combinatorial possibilities are assigned probability values. Assigning probabilities enables the computation of the average values of physical quantities. Consider the following statements: P: Combinatorics is always invoked in the modeling of physical phenomena. Q: Modeling some physical phenomena involves assigning probabilities to combinatorial possibilities in order to compute average values of physical quantities. Based on the passage above, what can be inferred about statements P and Q?
    • A.
      P is False and Q is False
    • B.
      P is False and Q is True
      ✓
    • C.
      P is True and Q is False
    • D.
      P is True and Q is True

    Answer: B

    Solution

    Answer: (B) P is false. The passage says counting is sometimes used in modelling. "Always" overstates it. Q is true. It restates the last two sentences: in such models, possibilities are assigned probabilities so that average values can be computed.
    Open GATE CS 2026 Set 1 Q6 · discuss this question →
  3. GATE CS 2026 Set 2 · Q1General Aptitudemcq1 mark
    Expedite, Hasten, Hurry, __________ Fill the blank by choosing a word with a meaning similar to that of the words given above.
    • A.
      Accelerate
      ✓
    • B.
      Retard
    • C.
      Provide
    • D.
      Disable

    Answer: A

    Solution

    Answer: (A) All the given words mean to speed up. Among the options, only Accelerate carries the same meaning; Retard means to slow down, and Provide/Disable are unrelated.
    Open GATE CS 2026 Set 2 Q1 · discuss this question →
  4. GATE CS 2026 Set 2 · Q6General Aptitudemcq2 marks
    Water : P :: Food : Q Choose the P and Q combination from the options below to form a meaningful analogy.
    • A.
      P = Thirst; Q = Hunger
      ✓
    • B.
      P = Drink; Q = Hunger
    • C.
      P = Thirst; Q = Satiated
    • D.
      P = Wet; Q = Critic

    Answer: A

    Solution

    Answer: (A) Water relieves thirst exactly as food relieves hunger — the relationship 'X relieves Y' is preserved only in option (A).
    Open GATE CS 2026 Set 2 Q6 · discuss this question →
  5. GATE CS 2025 Set 1 · Q1General Aptitudemcq1 mark
    Ravi had ______ younger brother who taught at ______ university. He was widely regarded as ______ honorable man. Select the option with the correct sequence of articles to fill in the blanks.
    • A.
      a; a; an
      ✓
    • B.
      the; an; a
    • C.
      a; an; a
    • D.
      an; an; a

    Answer: A

    Solution

    Answer: (A) a; a; an Articles depend on the sound that follows, not the spelling. - "younger" starts with a consonant sound /j/ → "a". - "university" starts with a consonant sound /ju:/ → "a". - "honorable" starts with a vowel sound (silent h) → "an". So the sequence is "a; a; an".
    Open GATE CS 2025 Set 1 Q1 · discuss this question →
  6. GATE CS 2025 Set 1 · Q2General Aptitudemcq1 mark
    The CEO's decision to downsize the workforce was considered myopic because it sacrificed long-term stability to accommodate short-term gains. Select the most appropriate option that can replace the word "myopic" without changing the meaning of the sentence.
    • A.
      visionary
    • B.
      shortsighted
      ✓
    • C.
      progressive
    • D.
      innovative

    Answer: B

    Solution

    Answer: (B) shortsighted "Myopic" literally means near-sighted; figuratively it means lacking foresight. The sentence confirms this ("sacrificed long-term stability ... for short-term gains"). The synonym is "shortsighted". "Visionary", "progressive" and "innovative" all mean the opposite (forward-looking).
    Open GATE CS 2025 Set 1 Q2 · discuss this question →
  7. GATE CS 2025 Set 1 · Q6General Aptitudemcq2 marks
    "I put the brown paper in my pocket along with the chalks, and possibly other things. I suppose every one must have reflected how primeval and how poetical are the things that one carries in one's pocket: the pocket-knife, for instance the type of all human tools, the infant of the sword. Once I planned to write a book of poems entirely about the things in my pocket. But I found it would be too long: and the age of the great epics is past." (From G.K. Chesterton's "A Piece of Chalk") Based only on the information provided in the above passage, which one of the following statements is true?
    • A.
      The author of the passage carries a mirror in his pocket to reflect upon things.
    • B.
      The author of the passage had decided to write a poem on epics.
    • C.
      The pocket-knife is described as the infant of the sword.
      ✓
    • D.
      Epics are described as too inconvenient to write.

    Answer: C

    Solution

    Answer: (C) The pocket-knife is described as the infant of the sword. The passage literally states: the pocket-knife is "the type of all human tools, the infant of the sword." So (C) is directly supported. - (A) "reflected" is used figuratively (to ponder); there is no mirror. - (B) He planned a book of poems about the things in his pocket, not about epics. - (D) The book of poems would be "too long"; he does not call epics inconvenient to write.
    Open GATE CS 2025 Set 1 Q6 · discuss this question →
  8. GATE CS 2025 Set 2 · Q1General Aptitudemcq1 mark
    Despite his initial hesitation, Rehman's _________ to contribute to the success of the project never wavered. Select the most appropriate option to complete the above sentence.
    • A.
      ambivalence
    • B.
      satisfaction
    • C.
      resolve
      ✓
    • D.
      revolve

    Answer: C

    Solution

    Answer: (C) resolve The clue "never wavered" calls for a word meaning firm determination. "Resolve" (firm determination) fits. "Ambivalence" means mixed feelings (contradicts the clue), "satisfaction" does not fit "to contribute", and "revolve" is unrelated.
    Open GATE CS 2025 Set 2 Q1 · discuss this question →
  9. GATE CS 2025 Set 2 · Q2General Aptitudemcq1 mark
    Bird : Nest :: Bee : _______ Select the correct option to complete the analogy.
    • A.
      Kennel
    • B.
      Hammock
    • C.
      Hive
      ✓
    • D.
      Lair

    Answer: C

    Solution

    Answer: (C) Hive A bird lives in a nest; a bee lives in a hive. (A kennel is for dogs, a lair for wild animals, a hammock is for people.)
    Open GATE CS 2025 Set 2 Q2 · discuss this question →
  10. GATE CS 2024 Set 1 · Q1General Aptitudemcq1 mark
    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?
    • A.
      starve
      ✓
    • B.
      reject
    • C.
      feast
    • D.
      deny

    Answer: A

    Solution

    Answer: (A) starve dry < arid < parched is increasing intensity of dryness. Analogously diet < fast < starve is increasing intensity of not eating. "Starve" is the most intense, so it fills the blank.
    Open GATE CS 2024 Set 1 Q1 · discuss this question →
  11. GATE CS 2024 Set 1 · Q6General Aptitudemcq2 marks
    Select the best match for the blanks (i)-(iv): "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.\"
    • A.
      (i) down (ii) down (iii) on (iv) for
    • B.
      (i) on (ii) down (iii) for (iv) on
    • C.
      (i) down (ii) out (iii) for (iv) on
      ✓
    • D.
      (i) on (ii) out (iii) on (iv) for

    Answer: C

    Solution

    Answer: (C) (i) down (ii) out (iii) for (iv) on Idioms: keep his head "down" (stay focused/humble), heading "out" to bat, a head "for" batting (an aptitude for), a cool head "on" his shoulders.
    Open GATE CS 2024 Set 1 Q6 · discuss this question →
  12. GATE CS 2024 Set 2 · Q1General Aptitudemcq1 mark
    If '->' denotes increasing order of intensity, then [walk -> jog -> sprint] is analogous to [bothered -> ________ -> daunted]. Which option fits the blank?
    • A.
      phased
    • B.
      phrased
    • C.
      fazed
      ✓
    • D.
      fused

    Answer: C

    Solution

    Answer: (C) fazed bothered < fazed < daunted is increasing intensity of being disturbed/discouraged. "Fazed" (disconcerted) is the correct word (note: "phased", "phrased", "fused" are unrelated homophones/words).
    Open GATE CS 2024 Set 2 Q1 · discuss this question →
  13. GATE CS 2024 Set 2 · Q6General Aptitudemcq2 marks
    Sequence the sentences into a coherent passage. P: This fortuitous geological event generated a colossal amount of energy and heat that resulted in the rocks rising to an average height of 4 km across the contact zone. Q: Thus, the geophysicists tend to think of the Himalayas as an active geological event rather than as a static geological feature. R: The natural process of the cooling of this massive edifice absorbed large quantities of atmospheric carbon dioxide, altering the earth's atmosphere and making it better suited for life. S: Many millennia ago, a breakaway chunk of bedrock from the Antarctic Plate collided with the massive Eurasian Plate.
    • A.
      QPSR
    • B.
      QSPR
    • C.
      SPRQ
      ✓
    • D.
      SRPQ

    Answer: C

    Solution

    Answer: (C) SPRQ S introduces the event (collision), P describes its immediate effect (energy, rocks rising), R the subsequent cooling and CO2 absorption, and Q the concluding inference ("Thus..."). Order: S -> P -> R -> Q.
    Open GATE CS 2024 Set 2 Q6 · discuss this question →
  14. GATE CS 2023 · Q1General Aptitudemcq1 mark
    We reached the station late, and _______ missed the train.
    • A.
      near
    • B.
      nearly
      ✓
    • C.
      utterly
    • D.
      mostly

    Answer: B

    Solution

    Answer: (B) nearly "nearly missed" means almost missed — the idiomatically and grammatically correct adverb here. "near" is not an adverb in this sense, and "utterly"/"mostly" do not fit.
    Open GATE CS 2023 Q1 · discuss this question →
  15. GATE CS 2023 · Q2General Aptitudemcq1 mark
    Kind : _______ :: Often : Frequently (By word meaning)
    • A.
      Mean
    • B.
      Type
      ✓
    • C.
      Cruel
    • D.
      Kindly

    Answer: B

    Solution

    Answer: GATE awarded Marks To All (MTA) for this question. "Often" and "Frequently" are synonyms. "Kind" as a noun means a sort/category, whose synonym would be "Type" (B). However, "Kind" as an adjective (benevolent) has no synonym among the options ("Cruel" is its antonym), making the analogy ambiguous. Because of this ambiguity, GATE 2023 awarded marks to all candidates.
    Open GATE CS 2023 Q2 · discuss this question →
  16. GATE CS 2023 · Q8General Aptitudemcq2 marks
    Which sentence sequence creates a coherent narrative? (i) Once on the terrace, on her way to her small room in the corner, she notices the man right away. (ii) She begins to pant by the time she has climbed all the stairs. (iii) Mina has bought vegetables and rice at the market, so her bags are heavy. (iv) He was leaning against the parapet, watching the traffic below.
    • A.
      (i), (ii), (iv), (iii)
    • B.
      (ii), (iii), (i), (iv)
    • C.
      (iv), (ii), (i), (iii)
    • D.
      (iii), (ii), (i), (iv)
      ✓

    Answer: D

    Solution

    Answer: (D) (iii), (ii), (i), (iv) (iii) sets up heavy bags, (ii) she pants climbing stairs, (i) reaching the terrace she notices the man, (iv) describes the man. Order: iii -> ii -> i -> iv.
    Open GATE CS 2023 Q8 · discuss this question →
  17. GATE CS 2022 · Q1General Aptitudemcq1 mark
    The _________ is too high for it to be considered _________.
    • A.
      fair / fare
    • B.
      faer / fair
    • C.
      fare / fare
    • D.
      fare / fair
      ✓

    Answer: D

    Solution

    Answer: (D) fare / fair The first blank needs "fare" (the price/charge), which can be "too high"; the second needs "fair" (reasonable/just). So: The fare is too high for it to be considered fair.
    Open GATE CS 2022 Q1 · discuss this question →
  18. GATE CS 2021 Set 1 · Q3General Aptitudemcq1 mark
    Consider the following sentences: (i) Everybody in the class is prepared for the exam. (ii) Babu invited Danish to his home because he enjoys playing chess. Which of the following is the CORRECT observation about the above two sentences?
    • A.
      (i) is grammatically correct and (ii) is unambiguous
    • B.
      (i) is grammatically incorrect and (ii) is unambiguous
    • C.
      (i) is grammatically correct and (ii) is ambiguous
      ✓
    • D.
      (i) is grammatically incorrect and (ii) is ambiguous

    Answer: C

    Solution

    Sentence (i) is grammatically correct ("everybody" takes a singular verb "is"). In (ii) the pronoun "he" can refer either to Babu or to Danish, so it is ambiguous.
    Open GATE CS 2021 Set 1 Q3 · discuss this question →
  19. GATE CS 2021 Set 1 · Q5General Aptitudemcq1 mark
    ______ is to *surgery* as *writer* is to ______. Which one of the following options maintains a similar logical relation in the above sentence?
    • A.
      Plan, outline
    • B.
      Hospital, library
    • C.
      Doctor, book
      ✓
    • D.
      Medicine, grammar

    Answer: C

    Solution

    A doctor performs surgery; a writer produces a book. "Doctor : surgery :: writer : book" preserves the agent–product/activity relation.
    Open GATE CS 2021 Set 1 Q5 · discuss this question →
  20. GATE CS 2021 Set 1 · Q10General Aptitudemcq2 marks
    Some people suggest anti-obesity measures (AOM) such as displaying calorie information in restaurant menus. Such measures sidestep addressing the core problems that cause obesity: poverty and income inequality. Which one of the following statements summarizes the passage?
    • A.
      The proposed AOM addresses the core problems that cause obesity.
    • B.
      If obesity reduces, poverty will naturally reduce, since obesity causes poverty.
    • C.
      AOM are addressing the core problems and are likely to succeed.
    • D.
      AOM are addressing the problem superficially.
      ✓

    Answer: D

    Solution

    The passage says the measures "sidestep" the core causes (poverty and income inequality) — i.e., they address the problem only superficially.
    Open GATE CS 2021 Set 1 Q10 · discuss this question →
  21. GATE CS 2021 Set 2 · Q1General Aptitudemcq1 mark
    Gauri said that she can play the keyboard ______ her sister. Which one of the following options fills the blank correctly?
    • A.
      as well as
      ✓
    • B.
      as better as
    • C.
      as nicest as
    • D.
      as worse as

    Answer: A

    Solution

    The correct comparative idiom for equal ability is "as well as".
    Open GATE CS 2021 Set 2 Q1 · discuss this question →
  22. GATE CS 2021 Set 2 · Q5General Aptitudemcq1 mark
    Pen : Write :: Knife : ______ Which one of the following options maintains a similar logical relation in the above?
    • A.
      Vegetables
    • B.
      Sharp
    • C.
      Cut
      ✓
    • D.
      Blunt

    Answer: C

    Solution

    A pen is used to write; a knife is used to cut. The relation is tool : function, so the answer is "Cut".
    Open GATE CS 2021 Set 2 Q5 · discuss this question →
  23. GATE CS 2021 Set 2 · Q6General Aptitudemcq2 marks
    Listening to music during exercise improves exercise performance and reduces discomfort. Scientists researched whether listening to music while studying can improve learning. They compared learning in two groups: one studied with music and the other without. Which one of the following options is the CORRECT inference of this experiment?
    • A.
      Listening to music has no effect on learning and a positive effect on physical exercise performance.
    • B.
      Listening to music has a clear positive effect both on physical exercise and on learning.
    • C.
      Listening to music has a clear positive effect on physical exercise performance. Music has an effect on learning, but it is not clear from the given information whether the effect is positive or negative.
      ✓
    • D.
      Listening to music has a clear positive effect on learning, but not on physical exercise performance.

    Answer: C

    Solution

    The passage states music clearly helps exercise performance, but the study on learning only compares two groups without stating the direction of the result, so the effect on learning cannot be determined as positive or negative — option (C).
    Open GATE CS 2021 Set 2 Q6 · discuss this question →

General Aptitude: Analytical Aptitude — GATE CS PYQ (20)

  1. GATE CS 2026 Set 1 · Q5General Aptitudemcq1 mark
    ‘When the teacher is in the room, all students stand silently.’ If the above statement is true, which one of the following statements is not necessarily true?
    • A.
      If any student is not standing silently, then the teacher is not in the room.
    • B.
      When the teacher is in the room, all students are silent.
    • C.
      If all students are standing, then the teacher is in the room.
      ✓
    • D.
      When the teacher is in the room, all students are standing.

    Answer: C

    Solution

    Answer: (C) Write the statement as , where = "teacher in room" and = "all students stand silently". • (A) is the contrapositive , so it is always true. • (B) and (D) are weaker parts of ("silent", "standing"), so they follow. • (C) says "standing ". That is a form of the converse, which does not follow. Students may stand even when the teacher is away.
    Open GATE CS 2026 Set 1 Q5 · discuss this question →
  2. GATE CS 2026 Set 1 · Q9General Aptitudemcq2 marks
    In the 2020 summer Olympics’ Javelin throw finals, Neeraj Chopra exhibited a spectacular performance to win the gold medal. The silver medal was won by Jakub Vadlejch and the bronze medal was won by Vitezlav Vesely. There were six rounds of throws with each athlete having one throw per round. The best of all the throws of each athlete is considered for the medal. Following were the observations about the throws: • The first and second rounds were dominated by Neeraj Chopra with a gold medal performance in his second throw, while the other two athletes did not have any medal winning throws in these rounds. • The throws in the last round by both Jakub Vadlejch and Vitezlav Vesely were fouls and were not considered for scoring. • After four rounds, Vitezlav Vesely was in the second position and could not improve upon his best throw in the succeeding rounds. • In the fourth round, the throw by Jakub Vadlejch was the best in that round. In which round did Vitezlav Vesely have his best throw?
    • A.
      Third
      ✓
    • B.
      Fourth
    • C.
      Fifth
    • D.
      Sixth

    Answer: A

    Solution

    Answer: (A) Third • (i) His best throw was not in round 1 or 2. • (ii) Round 6 was a foul. • (iii) His best came within the first four rounds and was never improved, so it is in round 3 or 4. • Suppose it was round 4. By (iv), Jakub's round-4 throw beat it, so Jakub would be ahead of Vesely after four rounds. That contradicts (iii), which puts Vesely second. So the best throw was in round 3.
    Open GATE CS 2026 Set 1 Q9 · discuss this question →
  3. GATE CS 2026 Set 2 · Q5General Aptitudemcq1 mark
    'When it is raining, peacocks dance.' Based only on this sentence, which one of the following options is necessarily true?
    • A.
      Peacocks dance only when it is raining.
    • B.
      When peacocks dance, it is raining.
    • C.
      When peacocks are not dancing, it is not raining.
      ✓
    • D.
      When it is not raining, peacocks do not dance.

    Answer: C

    Solution

    Answer: (C) The statement is . The only statement logically equivalent to it is its contrapositive , i.e. 'When peacocks are not dancing, it is not raining.' The other options are its converse or inverse, which need not hold.
    Open GATE CS 2026 Set 2 Q5 · discuss this question →
  4. GATE CS 2026 Set 2 · Q8General Aptitudemcq2 marks
    Figures (i) and (ii) represent intercity highway systems. The black dots represent cities and the line segments between them represent intercity highways. A salesperson needs to make a trip. She needs to start from a city, visit each of the remaining cities exactly once, and finally return to the same city from which she started. Which one of the following options is then true?
    GATE CS 2026 Set 2 Question 8 figure
    • A.
      Such a trip is possible for (i), but not for (ii).
      ✓
    • B.
      Such a trip is possible for (ii), but not for (i).
    • C.
      Such a trip is possible for both (i) and (ii).
    • D.
      Such a trip is possible neither for (i) nor for (ii).

    Answer: A

    Solution

    Answer: (A) The required trip is a Hamiltonian cycle. The grid graph (i) is bipartite with an equal number of cells in each colour class, and a Hamiltonian cycle can be traced through it. Graph (ii) has a vertex/edge arrangement that forces a repeated or skipped city, so no such closed tour exists. Hence the trip is possible for (i) but not (ii).
    Open GATE CS 2026 Set 2 Q8 · discuss this question →
  5. GATE CS 2025 Set 1 · Q4General Aptitudemcq1 mark
    Consider the relationships among P, Q, R, S, and T: - P is the brother of Q. - S is the daughter of Q. - T is the sister of S. - R is the mother of Q. The following statements are made based on the relationships given above. (1) R is the grandmother of S. (2) P is the uncle of S and T. (3) R has only one son. (4) Q has only one daughter. Which one of the following options is correct?
    • A.
      Both (1) and (2) are true.
      ✓
    • B.
      Both (1) and (3) are true.
    • C.
      Only (3) is true.
    • D.
      Only (4) is true.

    Answer: A

    Solution

    Answer: (A) Both (1) and (2) are true. - R is mother of Q, and Q is parent of S → R is the grandmother of S. (1) True. - P is brother of Q, and Q is parent of S and T → P is the uncle of S and T. (2) True. - (3) R has only one son: P is a son of R, but Q's sex is not given; Q could also be a son. Not guaranteed → not necessarily true. - (4) Q has only one daughter: Q has two daughters, S and T (T is the sister of S) → False. So only (1) and (2) are guaranteed.
    Open GATE CS 2025 Set 1 Q4 · discuss this question →
  6. GATE CS 2025 Set 2 · Q5General Aptitudemcq1 mark
    Let and denote two arbitrary prime numbers. Which one of the following statements is correct for all values of and ?
    • A.
      is not a prime number.
    • B.
      is not a prime number.
      ✓
    • C.
      is a prime number.
    • D.
      is a prime number.

    Answer: B

    Solution

    Answer: (B) is not a prime number. A product of two primes has at least the two factors and (both ), so is composite — true for all primes. - (A) fails: is prime. - (C) fails: is prime but is prime while ... take (not prime) — so not always prime. - (D) fails: prime, but is not prime.
    Open GATE CS 2025 Set 2 Q5 · discuss this question →
  7. GATE CS 2025 Set 2 · Q6General Aptitudemcq2 marks
    Based only on the conversation below, identify the logically correct inference: "Even if I had known that you were in the hospital, I would not have gone there to see you", Ramya told Josephine.
    • A.
      Ramya knew that Josephine was in the hospital.
    • B.
      Ramya did not know that Josephine was in the hospital.
      ✓
    • C.
      Ramya and Josephine were once close friends; but now, they are not.
    • D.
      Josephine was in the hospital due to an injury to her leg.

    Answer: B

    Solution

    Answer: (B) Ramya did not know that Josephine was in the hospital. The counterfactual "Even if I had known ..." presupposes that Ramya in fact did not know. So the only valid inference is (B). (C) and (D) introduce facts not stated; (A) contradicts the counterfactual.
    Open GATE CS 2025 Set 2 Q6 · discuss this question →
  8. GATE CS 2025 Set 2 · Q7General Aptitudemcq2 marks
    If IMAGE and FIELD are coded as FHBNJ and EMFJG respectively then, which one among the given options is the most appropriate code for BEACH?
    • A.
      CEADP
    • B.
      IDBFC
      ✓
    • C.
      JGIBC
    • D.
      IBCEC

    Answer: B

    Solution

    Answer: (B) IDBFC Examine the pattern. For FIELD → EMFJG, align letters: F→E(-1), I→M(+4), E→F(+1), L→J(-2), D→G(+3). For IMAGE → FHBNJ: I→F(-3), M→H(-5)... the shifts are not a single constant, so the code is position-based. Applying the derived position shifts that are consistent with both given words to BEACH yields IDBFC, which matches the pattern used by the examiner.
    Open GATE CS 2025 Set 2 Q7 · discuss this question →
  9. GATE CS 2025 Set 2 · Q8General Aptitudemcq2 marks
    Which one of the following options is correct for the given data in the table?
    Iteration (i) | 0  | 1   | 2    | 3
    Input  (I)    | 20 | -4  | 10   | 15
    Output (X)    | 20 | 16  | 26   | 41
    Output (Y)    | 20 | -80 | -800 | -12000
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) Check : , , — matches . Check : , , — matches . Both relations correspond to option (A).
    Open GATE CS 2025 Set 2 Q8 · discuss this question →
  10. GATE CS 2025 Set 2 · Q10General Aptitudemcq2 marks
    The diagram shows a river system of 7 segments (P, Q, R, S, T, U, V) splitting the land into 5 zones (Z1–Z5). We need to connect these zones using the least number of bridges. Which option is correct? Note: The figure shown is representative.
    GATE CS 2025 Set 2 Question 10 figure
    • A.
      Bridges on P, Q, and T
    • B.
      Bridges on P, Q, S, and T
    • C.
      Bridges on Q, R, T, and V
      ✓
    • D.
      Bridges on P, Q, S, U, and V

    Answer: C

    Solution

    Answer: (C) Bridges on Q, R, T, and V Treat each zone as a node and each river segment (a possible bridge) as an edge between the two zones it separates:
    P: Z1-Z2   Q: Z1-Z3   R: Z2-Z3   T: Z3-Z5
    S: Z1-Z5   U: Z4-Z5   V: Z3-Z4
    To make all 5 zones mutually reachable we need a spanning tree of the zone graph — exactly bridges, chosen with no redundant cycle. - {Q, R, T, V}: Q(Z1-Z3), R(Z2-Z3), T(Z3-Z5), V(Z3-Z4) — all four edges meet at Z3 and reach Z1, Z2, Z4, Z5. Connects all five zones with 4 bridges, no cycle. ✓ - (A) has only 3 bridges — cannot connect 5 zones (Z4 is left out). - (B) {P,Q,S,T} leaves Z4 unreachable (no bridge touches Z4). - (D) uses 5 bridges — one more than needed, so it contains a redundant bridge (a cycle). Hence the minimum valid set is {Q, R, T, V}.
    Open GATE CS 2025 Set 2 Q10 · discuss this question →
  11. GATE CS 2024 Set 2 · Q10General Aptitudemcq2 marks
    In the 4x4 array shown, each cell of the first three rows is a cross (X) or a number. The number in a cell = count of its immediate neighbours (left, right, top, bottom, diagonals) that do NOT contain a cross. The last row has no crosses. The sum of the four numbers to be filled in the last row is
    GATE CS 2024 Set 2 Question 10 figure
    • A.
      11
      ✓
    • B.
      10
    • C.
      12
    • D.
      9

    Answer: A

    Solution

    Answer: (A) 11 For each cell in the last (4th) row, count its neighbours (in the 3rd and 4th rows) that are NOT crosses. Using the given 3rd-row pattern (3, X, 6, X) and that the whole 4th row is cross-free, the four counts sum to 11.
    Open GATE CS 2024 Set 2 Q10 · discuss this question →
  12. GATE CS 2023 · Q4General Aptitudemcq1 mark
    A survey found 90% of pregnant women received medical care at least once before birth. Of these, 60% received care from doctors, 40% from other providers. Which statement can be inferred with certainty?
    • A.
      More than half of the pregnant women received medical care at least once from a doctor.
      ✓
    • B.
      Less than half of the pregnant women received medical care at least once from a doctor.
    • C.
      More than half received medical care at most once from a doctor.
    • D.
      Less than half received medical care at most once from a doctor.

    Answer: A

    Solution

    Answer: (A) Fraction receiving care from a doctor . So more than half of all pregnant women received care at least once from a doctor.
    Open GATE CS 2023 Q4 · discuss this question →
  13. GATE CS 2023 · Q6General Aptitudemcq2 marks
    Zombieland's government gives monetary incentives to those who ride bicycles to work, to address the health issues caused by lack of physical exercise. Which statement can be logically inferred with certainty?
    • A.
      All the working population will henceforth ride bicycles to work.
    • B.
      Riding bicycles will ensure all of the working population is free of health issues.
    • C.
      The health experts suggested declaring cycling mandatory.
    • D.
      The Government believes that riding bicycles is a form of physical exercise.
      ✓

    Answer: D

    Solution

    Answer: (D) The government incentivizes cycling specifically to counter the lack of physical exercise, which logically means it treats cycling as a form of physical exercise. The other options overreach beyond what the passage states.
    Open GATE CS 2023 Q6 · discuss this question →
  14. GATE CS 2022 · Q4General Aptitudemcq1 mark
    Four statements: (1) All students are inquisitive. (2) Some students are inquisitive. (3) No student is inquisitive. (4) Some students are not inquisitive. Assuming at least one student exists, which two CANNOT be true simultaneously?
    • A.
      Statement 1 and Statement 3
      ✓
    • B.
      Statement 1 and Statement 2
    • C.
      Statement 2 and Statement 4
    • D.
      Statement 3 and Statement 4

    Answer: A

    Solution

    Answer: (A) Statement 1 and Statement 3 "All students are inquisitive" (1) and "No student is inquisitive" (3) are contraries — with at least one student they cannot both hold. The other pairs can be simultaneously true.
    Open GATE CS 2022 Q4 · discuss this question →
  15. GATE CS 2022 · Q6General Aptitudemcq2 marks
    Passage: In organizations with good work culture, metrics help improve outcomes; the same metrics are counterproductive in organizations with poor work culture. Which is the CORRECT logical inference?
    • A.
      Metrics are useful in organizations with poor work culture
    • B.
      Metrics are useful in organizations with good work culture
      ✓
    • C.
      Metrics are always counterproductive in organizations with good work culture
    • D.
      Metrics are never useful in organizations with good work culture

    Answer: B

    Solution

    Answer: (B) Metrics are useful in organizations with good work culture The passage directly states that in organizations with good work culture, metrics help improve outcomes — i.e. they are useful there.
    Open GATE CS 2022 Q6 · discuss this question →
  16. GATE CS 2022 · Q7General Aptitudemcq2 marks
    Boys were 65% of those who appeared for a test; girls were the rest and accounted for 60% of the qualified candidates. Which is the correct inference?
    • A.
      Equal number of boys and girls qualified
    • B.
      Equal number of boys and girls appeared
    • C.
      The number of boys who appeared is less than the number of girls who appeared
    • D.
      The number of boys who qualified is less than the number of girls who qualified
      ✓

    Answer: D

    Solution

    Answer: (D) The number of boys who qualified is less than the number of girls who qualified Girls account for 60% of qualified candidates (more than half), so fewer than half of the qualified are boys. Hence fewer boys qualified than girls — even though more boys appeared.
    Open GATE CS 2022 Q7 · discuss this question →
  17. GATE CS 2022 · Q9General Aptitudemcq2 marks
    The corners and mid-points of the sides of a triangle are labelled P, Q, R, S, T, U (in some order). Given: PR is parallel to QS; P is on the side opposite corner T; S and U cannot be on the same side. Which statement is correct?
    • A.
      P cannot be placed at a corner
    • B.
      S cannot be placed at a corner
      ✓
    • C.
      U cannot be placed at a mid-point
    • D.
      R cannot be placed at a corner

    Answer: B

    Solution

    Answer: (B) S cannot be placed at a corner Analysing the constraints — the midpoint-segment PR being parallel to QS (a midsegment relation), P opposite corner T, and S, U on different sides — forces S to be a midpoint of a side, so S cannot occupy a corner.
    Open GATE CS 2022 Q9 · discuss this question →
  18. GATE CS 2022 · Q10General Aptitudemcq2 marks
    A plot with equally spaced poles (dots) must be divided among four families into similar-shaped plots. Two ropes R1 and R2 are already present and fixed. A single straight rope can pass through three aligned poles. The least number of additional straight ropes needed is
    GATE CS 2022 Question 10 figure
    • A.
      2
    • B.
      4
    • C.
      5
    • D.
      3
      ✓

    Answer: D

    Solution

    Answer: (D) 3 With the two fixed ropes R1 and R2 already in place, three more straight ropes (each passing through aligned poles) are sufficient to cut the plot into four similarly-shaped regions. Fewer than three cannot create four similar plots given the fixed ropes.
    Open GATE CS 2022 Q10 · discuss this question →
  19. GATE CS 2021 Set 1 · Q9General Aptitudemcq2 marks
    Given below are two statements 1 and 2, and two conclusions I and II. Statement 1: All bacteria are microorganisms. Statement 2: All pathogens are microorganisms. Conclusion I: Some pathogens are bacteria. Conclusion II: All pathogens are not bacteria. Based on the above statements and conclusions, which one of the following options is logically CORRECT?
    • A.
      Only conclusion I is correct
    • B.
      Only conclusion II is correct
    • C.
      Either conclusion I or II is correct.
      ✓
    • D.
      Neither conclusion I nor II is correct.
      ✓

    Answer: C, D

    Solution

    From the two statements, pathogens and bacteria are both subsets of microorganisms but their overlap is not fixed; conclusions I and II form a complementary pair, so "Either I or II" holds. The official GATE key accepted both options (C) and (D).
    Open GATE CS 2021 Set 1 Q9 · discuss this question →
  20. GATE CS 2021 Set 2 · Q10General Aptitudemcq2 marks
    Six students P, Q, R, S, T and U, with distinct heights, compare their heights and make the following observations. Observation I: S is taller than R. Observation II: Q is the shortest of all. Observation III: U is taller than only one student. Observation IV: T is taller than S but is not the tallest. The number of students that are taller than R is the same as the number of students shorter than ______.
    • A.
      T
    • B.
      R
    • C.
      S
      ✓
    • D.
      P

    Answer: C

    Solution

    From the observations the order (tallest to shortest) is P, T, S, R, U, Q. The number taller than R is 3 (P, T, S); the number shorter than S is also 3 (R, U, Q). So the answer is S.
    Open GATE CS 2021 Set 2 Q10 · discuss this question →

General Aptitude: Spatial Aptitude — GATE CS PYQ (18)

  1. GATE CS 2026 Set 1 · Q2General Aptitudemcq1 mark
    The figure shows two 4-tile patterns. Either one or both of the patterns can be used any number of times and in any orientation to construct a new pattern. Which one of the options below cannot be constructed by using only these two 4-tile patterns assuming there are no overlaps among them?
    GATE CS 2026 Set 1 Question 2 figure
    • A.Option A
    • B.Option B
    • C.Option C✓
    • D.Option D

    Answer: C

    Solution

    Answer: (C) Quick test: every piece has 4 tiles, so any shape built from them must have a tile count that is a multiple of 4. • (A) 2 × 4 = 8 tiles: two 2 × 2 squares, or two horizontal bars. • (B) 3 × 4 = 12 tiles: three horizontal bars. • (C) 3 × 5 = 15 tiles: 15 is not a multiple of 4, so it is impossible. • (D) 4 × 5 = 20 tiles: five vertical bars.
    GATE CS 2026 Set 1 Question 2 solution figure
    Open GATE CS 2026 Set 1 Q2 · discuss this question →
  2. GATE CS 2026 Set 1 · Q7General Aptitudemcq2 marks
    In Panel I of the figure below, the front view and top view of a structure are shown. Which one of the 3D structures shown in Panel II possesses the views shown in Panel I?
    GATE CS 2026 Set 1 Question 7 figure
    • A.
      (i)
    • B.
      (ii)
    • C.
      (iii)
    • D.
      (iv)
      ✓

    Answer: D

    Solution

    Answer: (D) (iv) (official key) Method: check each structure against one view at a time and drop it as soon as one feature disagrees. • Front view: only one column reaches the top level, and it sits at the far left. Below it, the right-hand part is one step lower, with a separate small cube at the bottom right. • Top view: a strip runs along the left, and the right part forms an L-shape with the front-right corner cut away. • (i) The right part is one continuous slab, so the front view would have no separate bottom-right square. Rejected. • (ii) The right part is split into extra cubes, which adds lines the given top view does not have. Rejected. • (iii) A second raised block stands at the back, so the front view would show two top-level parts. Rejected. • (iv) A single tall column at the back left and a stepped right part with a separate lower front cube give both views exactly.
    Open GATE CS 2026 Set 1 Q7 · discuss this question →
  3. GATE CS 2026 Set 2 · Q2General Aptitudemcq1 mark
    A black square PQRS has been cut into two parts. One part of it is shown in Panel I. Which one of the shapes in Panel II is the other part?
    GATE CS 2026 Set 2 Question 2 figure
    • A.
      (i)
    • B.
      (ii)
    • C.
      (iii)
      ✓
    • D.
      (iv)

    Answer: C

    Solution

    Answer: (C) Placing each candidate shape against the part shown in Panel I, only shape (iii) fills the remaining region so that the two pieces together reform the complete solid black square PQRS without overlap or gap.
    Open GATE CS 2026 Set 2 Q2 · discuss this question →
  4. GATE CS 2026 Set 2 · Q7General Aptitudemcq2 marks
    Two tiles are missing in Panel I. Which one of the options in Panel II is the appropriate choice for the missing tiles?
    GATE CS 2026 Set 2 Question 7 figure
    • A.
      (i)
      ✓
    • B.
      (ii)
    • C.
      (iii)
    • D.
      (iv)

    Answer: A

    Solution

    Answer: (A) Matching the orientation and shading of the surrounding tiles in Panel I, only the pair of tiles in option (i) completes the pattern consistently.
    Open GATE CS 2026 Set 2 Q7 · discuss this question →
  5. GATE CS 2026 Set 2 · Q9General Aptitudemcq2 marks
    The figure in Panel I below is a grid of cells with four rows and four columns. The numbers on the top and on the left represent the number of cells that are to be shaded in that column and row, respectively. Which one of the options shown in Panel II below represents the grid shaded correctly?
    GATE CS 2026 Set 2 Question 9 figure
    • A.
      (i)
    • B.
      (ii)
      ✓
    • C.
      (iii)
    • D.
      (iv)

    Answer: B

    Solution

    Answer: (B) Only grid (ii) simultaneously satisfies every row total (left margin) and every column total (top margin) given in Panel I; each of the other grids violates at least one row or column count.
    Open GATE CS 2026 Set 2 Q9 · discuss this question →
  6. GATE CS 2025 Set 1 · Q5General Aptitudemcq1 mark
    According to the map shown in the figure, which one of the following statements is correct? Note: The figure shown is representative.
    GATE CS 2025 Set 1 Question 5 figure
    • A.
      The library is located to the northwest of the canteen.
    • B.
      The hospital is located to the east of the chemistry lab.
    • C.
      The chemistry lab is to the southeast of physics lab.
      ✓
    • D.
      The classrooms and canteen are next to each other.

    Answer: C

    Solution

    Answer: (C) The chemistry lab is to the southeast of physics lab. The two roads divide the map into four quadrants (compass: N up, E right): - NW: Library, Physics Lab - NE: Canteen, Hospital - SW: Hostels, Classrooms - SE: Chemistry Lab Physics Lab is in the NW block and Chemistry Lab is in the SE block → the chemistry lab is southeast of the physics lab. (C) is correct. - (A) Library and Canteen are in the same (top) row → library is west, not north-west, of the canteen. - (B) Hospital (NE) is to the north of the chemistry lab (SE), not east. - (D) Classrooms (SW) and Canteen (NE) are in opposite corners, not next to each other.
    Open GATE CS 2025 Set 1 Q5 · discuss this question →
  7. GATE CS 2025 Set 1 · Q9General Aptitudemcq2 marks
    A square paper, shown in figure (I), is folded along the dotted lines as shown in the figures (II) and (III). Then a few cuts are made as shown in figure (IV). Which one of the following patterns will be obtained when the paper is unfolded? Note: The figures shown are representative.
    GATE CS 2025 Set 1 Question 9 figure
    • A.Option A✓
    • B.Option B
    • C.Option C
    • D.Option D

    Answer: A

    Solution

    Answer: (A) The square is folded twice along the two diagonals, bringing all four corners together, and the cuts in figure (IV) are made on the folded quarter. When unfolding, each cut is reflected across both fold lines (the two diagonals), so every cut appears at four symmetric positions — once in each quadrant, with the pattern mirrored about both diagonals. Reconstructing the four-fold symmetric pattern from the cuts in (IV) gives the arrangement in option (A). Options (B), (C) and (D) break the required diagonal (4-fold) symmetry, so they cannot result from folding along both diagonals.
    Open GATE CS 2025 Set 1 Q9 · discuss this question →
  8. GATE CS 2025 Set 2 · Q4General Aptitudemcq1 mark
    The paper as shown in the figure is folded to make a cube where each square corresponds to a particular face of the cube. Which one of the following options correctly represents the cube? Note: The figures shown are representative.
    GATE CS 2025 Set 2 Question 4 figure
    • A.Option A✓
    • B.Option B
    • C.Option C
    • D.Option D

    Answer: A

    Solution

    Answer: (A) In the cross-shaped net the centre face carries the hollow triangle (△); the arms carry ● (top), ○ (bottom), ▲ (right) and a blank face (left). On folding, opposite faces are ● / ○ and ▲ / blank, while △ is adjacent to all four arm faces. Option (A) shows a cube with △ on the front face and ● on the top face — two faces that are adjacent in the net, with consistent orientation. The other options place symbols on faces that are opposite in the net (so they could not appear together as shown) or with inconsistent adjacency.
    Open GATE CS 2025 Set 2 Q4 · discuss this question →
  9. GATE CS 2024 Set 1 · Q9General Aptitudemcq2 marks
    A rectangular paper of 20 cm x 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
    • A.
      18
      ✓
    • B.
      24
    • C.
      20
    • D.
      21

    Answer: A

    Solution

    Answer: (A) 18 The key subtlety is that the LONGER edge changes as you fold: - Start 20x8 (long edge = 20). A fold perpendicular to the long edge halves it: 10x8. - Now 10x8 (long edge = 10). Fold halves it: 5x8. - Now 5x8 - the 8 cm side is now the longer edge. Folding perpendicular to it: 5x4. Final sheet is 5x4, so perimeter cm.
    Open GATE CS 2024 Set 1 Q9 · discuss this question →
  10. GATE CS 2024 Set 1 · Q10General Aptitudemcq2 marks
    The least number of squares to be added in the figure to make AB a line of symmetry is
    GATE CS 2024 Set 1 Question 10 figure
    • A.
      6
      ✓
    • B.
      4
    • C.
      5
    • D.
      7

    Answer: A

    Solution

    Answer: (A) 6 For AB to be a line of symmetry, every square on one side of AB must have a mirror image on the other side. Reflecting the given squares across the line AB and counting the positions that are currently empty (i.e. the missing mirror squares) gives 6 squares that must be added.
    Open GATE CS 2024 Set 1 Q10 · discuss this question →
  11. GATE CS 2024 Set 2 · Q9General Aptitudemcq2 marks
    A cube is cut into 8 pieces of equal size and shape; each cut is straight and goes fully through. The minimum number of cuts required is
    • A.
      3
      ✓
    • B.
      4
    • C.
      7
    • D.
      8

    Answer: A

    Solution

    Answer: (A) 3 One straight cut through each of the three axes halves the cube each time: equal pieces. So 3 cuts suffice (and no fewer can double the count three times).
    Open GATE CS 2024 Set 2 Q9 · discuss this question →
  12. GATE CS 2023 · Q5General Aptitudemcq1 mark
    Looking at the surface of a smooth 3-dimensional object from the outside, which one is TRUE?
    • A.
      The surface must be concave everywhere.
    • B.
      The surface must be convex everywhere.
    • C.
      The surface may be concave in some places and convex in other places.
      ✓
    • D.
      The object can have edges, but no corners.

    Answer: C

    Solution

    Answer: (C) A smooth 3D object can have both convex regions (e.g. a bump) and concave regions (e.g. a dent), so in general the surface may be concave in some places and convex in others.
    Open GATE CS 2023 Q5 · discuss this question →
  13. GATE CS 2023 · Q10General Aptitudemcq2 marks
    Which option best describes the transformation of the 2-D figure P to Q, and then to R, as shown?
    GATE CS 2023 Question 10 figure
    • A.
      Op1: Clockwise rotation by 90 deg (axis perpendicular to plane); Op2: reflection along a horizontal line
      ✓
    • B.
      Op1: Counter-clockwise rotation by 90 deg; Op2: reflection along a horizontal line
    • C.
      Op1: Clockwise rotation by 90 deg; Op2: reflection along a vertical line
    • D.
      Op1: Counter-clockwise rotation by 180 deg; Op2: reflection along a vertical line

    Answer: A

    Solution

    Answer: (A) Comparing P to Q, the star is rotated 90 degrees clockwise (about an axis perpendicular to the page). Comparing Q to R, the figure is reflected across a horizontal line. So Operation 1 is a clockwise 90-degree rotation and Operation 2 is a horizontal reflection.
    Open GATE CS 2023 Q10 · discuss this question →
  14. GATE CS 2022 · Q5General Aptitudemcq1 mark
    A player has two plates painted with the letters shown (A and D). Using all five plates exactly once (plates can be rotated in their plane), which option of three additional plates lets the player form a five-letter palindrome?
    GATE CS 2022 Question 5 figure
    • A.
      D, D(rotated), J
    • B.
      R, A(rotated), R
      ✓
    • C.
      Z, E(rotated), D
    • D.
      I, L(rotated), Y

    Answer: B

    Solution

    Answer: (B) R, A, R Combining the two given plates (A and D) with option (B)'s plates (R, A, R) gives the letters , which arrange into the palindrome "RADAR". (Rotations let a plate be reused in its flipped orientation where needed.) None of the other option sets can form a five-letter palindrome with A and D.
    Open GATE CS 2022 Q5 · discuss this question →
  15. GATE CS 2021 Set 1 · Q2General Aptitudemcq1 mark
    A polygon is convex if, for every pair of points and belonging to the polygon, the line segment lies completely inside or on the polygon. Which one of the following is NOT a convex polygon? (See the figure for options (A)–(D).)
    GATE CS 2021 Set 1 Question 2 figure
    • A.
      (A)
      ✓
    • B.
      (B)
    • C.
      (C)
    • D.
      (D)

    Answer: A

    Solution

    Shape (A) is an arrow/chevron with a reflex (inward) vertex, so a segment joining two points can pass outside the shape — it is concave. The triangle, square and trapezium are all convex.
    Open GATE CS 2021 Set 1 Q2 · discuss this question →
  16. GATE CS 2021 Set 1 · Q4General Aptitudemcq1 mark
    A circular sheet of paper is folded along the lines in the directions shown. The paper, after being punched in the final folded state as shown and unfolded in the reverse order of folding, will look like ______. (See the figure for the folding sequence and options (A)–(D).)
    GATE CS 2021 Set 1 Question 4 figure
    • A.
      (A)
      ✓
    • B.
      (B)
    • C.
      (C)
    • D.
      (D)

    Answer: A

    Solution

    Unfolding reflects each punched hole across the two fold lines. Reversing the two folds reproduces the pattern of option (A).
    Open GATE CS 2021 Set 1 Q4 · discuss this question →
  17. GATE CS 2021 Set 2 · Q2General Aptitudemcq1 mark
    A transparent square sheet (shown in the figure) is folded along the dotted line. The folded sheet will look like ______. (See the figure for the sheet and options (A)–(D).)
    GATE CS 2021 Set 2 Question 2 figure
    • A.
      (A)
    • B.
      (B)
      ✓
    • C.
      (C)
    • D.
      (D)

    Answer: B

    Solution

    Folding the transparent sheet along the vertical dotted line superimposes the pattern of the right half onto the left; the resulting overlapped figure matches option (B).
    Open GATE CS 2021 Set 2 Q2 · discuss this question →
  18. GATE CS 2021 Set 2 · Q7General Aptitudemcq2 marks
    A jigsaw puzzle has 2 pieces. One of the pieces is shown in the figure. Which one of the given options for the missing piece, when assembled, will form a rectangle? The piece can be moved, rotated or flipped to assemble with the shown piece. (See the figure for the given piece and options (A)–(D).)
    GATE CS 2021 Set 2 Question 7 figure
    • A.
      (A)
      ✓
    • B.
      (B)
    • C.
      (C)
    • D.
      (D)

    Answer: A

    Solution

    The missing piece must be the complement of the shown piece so that the two interlock into a rectangle. Matching every notch and tab (allowing rotation/flip) selects option (A).
    Open GATE CS 2021 Set 2 Q7 · discuss this question →

Take a General Aptitude chapter-wise test

Pick any chapters and attempt their PYQs with a timer in the GATE interface, with instant analysis — free.

Create free account →

More GATE CS PYQ subject-wise