GATE CS 2026 2 Question Paper with Solutions: 65 Questions, Answer Key & Section-wise Analysis

    GATE CS 2026 2 previous year paper: 65 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.

    Paper breakdown

    65 questions · 100 marks · 3 minutes. Programming, Data Structures and Algorithms: 33 · Analytical Aptitude: 11 · Quantitative Aptitude: 5 · Probability and Statistics: 4 · Database Management and Warehousing: 4 · Verbal Aptitude: 2 · Spatial Aptitude: 2 · Linear Algebra: 2 · Calculus and Optimization: 2

    Free sample questions from GATE CS 2026 2 Question Paper

    Question 1 · Verbal Aptitude MCQ

    Expedite, Hasten, Hurry, __________

    Fill the blank by choosing a word with a meaning similar to that of the words

    given above.

    1. A.

      Accelerate

    2. B.

      Retard

    3. C.

      Provide

    4. D.

      Disable

    Question 2 · Spatial Aptitude MCQ
    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? Panel I Panel II S R P Q (i) (ii) (iii) (iv)
    1. A.

      (i)

    2. B.

      (ii)

    3. C.

      (iii)

    4. D.

      (iv)

    Question 3 · Probability and Statistics MCQ

    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?

    1. A.

      (\frac{1}{4})

    2. B.

      (\frac{3}{4})

    3. C.

      (\frac{2}{3})

    4. D.

      (\frac{3}{8})

    Question 4 · Quantitative Aptitude MCQ

    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. ________

    1. A.

      0

    2. B.

      5

    3. C.

      10

    4. D.

      20

    Question 5 · Analytical Aptitude MCQ

    ‘When it is raining, peacocks dance.’

    Based only on this sentence, which one of the following options is necessarily

    true?

    1. A.

      Peacocks dance only when it is raining.

    2. B.

      When peacocks dance, it is raining.

    3. C.

      When peacocks are not dancing, it is not raining.

    4. D.

      When it is not raining, peacocks do not dance.

    Question 6 · Verbal Aptitude MCQ

    Water : P :: Food : Q

    Choose the P and Q combination from the options below to form a meaningful

    analogy.

    1. A.

      P = Thirst; Q = Hunger

    2. B.

      P = Drink; Q = Hunger

    3. C.

      P = Thirst; Q = Satiated

    4. D.

      P = Wet; Q = Critic

    Question 7 · Spatial Aptitude MCQ
    Two tiles are missing in Panel I. Which one of the options in Panel II is the appropriate choice for the missing tiles? Panel I Panel II ? (i) (ii) (iii) (iv)
    1. A.

      (i)

    2. B.

      (ii)

    3. C.

      (iii)

    4. D.

      (iv)

    Question 8 · Analytical Aptitude MCQ
    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? (i) (ii)
    1. A.

      Such a trip is possible for (i), but not for (ii).

    2. B.

      Such a trip is possible for (ii), but not for (i).

    3. C.

      Such a trip is possible for both (i) and (ii).

    4. D.

      Such a trip is possible neither for (i) nor for (ii).

    Question 9 · Analytical Aptitude MCQ
    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? Panel I Panel II 2 2 2 2 3 1 2 2 (i) (ii) (iii) (iv)
    1. A.

      (i)

    2. B.

      (ii)

    3. C.

      (iii)

    4. D.

      (iv)

    Question 10 · Probability and Statistics MCQ

    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 ________

    1. A.

      (\frac{3}{36})

    2. B.

      (\frac{13}{36})

    3. C.

      (\frac{15}{36})

    4. D.

      (\frac{19}{36})

    Other GATE CS papers

    GATE CS
    Previous Year Papers
    Verified Solutions Included
    GATE CS 2026 2 Question Paper with Solutions: 65 Questions, Answer Key & Section-wise Analysis

    GATE CS 2026 2 previous year paper: 65 questions with answer key and detailed solutions, section-wise breakdown and free sample questions.

    65 Qs

    Total Questions

    100 Marks

    Total Marks

    3 Mins

    Duration

    +3 / -1 / 0

    Marking Scheme

    Section-wise Paper Structure

    Programming, Data Structures and Algorithms

    33 Qs

    51% of total marks

    Analytical Aptitude

    11 Qs

    17% of total marks

    Quantitative Aptitude

    5 Qs

    8% of total marks

    Probability and Statistics

    4 Qs

    6% of total marks

    Database Management and Warehousing

    4 Qs

    6% of total marks

    Verbal Aptitude

    2 Qs

    3% of total marks

    Spatial Aptitude

    2 Qs

    3% of total marks

    Linear Algebra

    2 Qs

    3% of total marks

    Calculus and Optimization

    2 Qs

    3% of total marks

    Free Solved Questions with Step-by-Step Solutions

    Authentic examination problems with detailed derivations and answer keys.

    Question 1

    Expedite, Hasten, Hurry, __________

    Fill the blank by choosing a word with a meaning similar to that of the words

    given above.

    Question 2
    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? Panel I Panel II S R P Q (i) (ii) (iii) (iv)
    Question 3

    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?

    Question 4

    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. ________

    Question 5

    ‘When it is raining, peacocks dance.’

    Based only on this sentence, which one of the following options is necessarily

    true?

    Question 6

    Water : P :: Food : Q

    Choose the P and Q combination from the options below to form a meaningful

    analogy.

    Question 7
    Two tiles are missing in Panel I. Which one of the options in Panel II is the appropriate choice for the missing tiles? Panel I Panel II ? (i) (ii) (iii) (iv)
    Question 8
    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? (i) (ii)
    Question 9
    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? Panel I Panel II 2 2 2 2 3 1 2 2 (i) (ii) (iii) (iv)
    Question 10

    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 ________

    Unlock All 65 Questions in Real Examination Mode

    Practice with the authentic timer, on-screen calculator, instant percentile ranking, and section-wise analytics.

    More GATE CS Previous Year Papers

    Free preview ends here

    Login to view the complete paper and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.