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

    GATE CS 2025 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. Engineering Mathematics: 18 · Programming and Data Structures: 8 · Digital Logic: 6 · Theory of Computation: 5 · Databases: 5 · Computer Organization and Architecture: 5 · Computer Networks: 5 · Algorithms: 5 · Operating System: 4 · Compiler Design: 4

    Free sample questions from GATE CS 2025 2 Question Paper

    Question 1 · Engineering Mathematics MCQ
    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.
    1. A.

      ambivalence

    2. B.

      satisfaction

    3. C.

      resolve

    4. D.

      revolve

    Question 2 · Engineering Mathematics MCQ
    Bird : Nest :: Bee : _______
    Select the correct option to complete the analogy.
    1. A.

      Kennel

    2. B.

      Hammock

    3. C.

      Hive

    4. D.

      Lair

    Question 3 · Engineering Mathematics MCQ

    If for all real values of , which one of the following statements is true?

    1. A.

    2. B.

    3. C.

    4. D.

    Question 4 · Engineering Mathematics MCQ
    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.
    1. A.
    2. B.
    3. C.
    4. D.
    Question 5 · Engineering Mathematics MCQ

    Let and denote two arbitrary prime numbers. Which one of the following statements is correct for all values of and ?

    1. A.

      is not a prime number.

    2. B.

      is not a prime number.

    3. C.

      is a prime number.

    4. D.

      is a prime number.

    Question 6 · Engineering Mathematics MCQ
    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.
    1. A.

      Ramya knew that Josephine was in the hospital.

    2. B.

      Ramya did not know that Josephine was in the hospital.

    3. C.

      Ramya and Josephine were once close friends; but now, they are not.

    4. D.

      Josephine was in the hospital due to an injury to her leg.

    Question 7 · Engineering Mathematics MCQ

    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 ?

    1. A.

      CEADP

    2. B.

      IDBFC

    3. C.

      JGIBC

    4. D.

      IBCEC

    Question 8 · Engineering Mathematics MCQ
    Which one of the following options is correct for the given data in the table?
    Iteration (i)0123Input (I)20−41015Output (X)20162641Output (Y)20−80−800−12000
    1. A.

    2. B.

    3. C.

    4. D.

    Question 9 · Engineering Mathematics MCQ
    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.
    PQRSLMN
    1. A.

    2. B.

      2

    3. C.

      8

    4. D.

      4

    Question 10 · Engineering Mathematics MCQ
    The diagram below shows a river system consisting of 7 segments, marked P, Q, R, S, T, U, and V. It splits the land into 5 zones, marked Z1, Z2, Z3, Z4, and Z5. We need to connect these zones using the least number of bridges. Out of the following options, which one is correct?
    Note: The figure shown is representative.
    PQRSTUVZ1Z2Z3Z4Z5
    1. A.

      Bridges on P, Q, and T

    2. B.

      Bridges on P, Q, S, and T

    3. C.

      Bridges on Q, R, T, and V

    4. D.

      Bridges on P, Q, S, U, and V

    Other GATE CS papers

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

    GATE CS 2025 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

    Engineering Mathematics

    18 Qs

    28% of total marks

    Programming and Data Structures

    8 Qs

    12% of total marks

    Digital Logic

    6 Qs

    9% of total marks

    Theory of Computation

    5 Qs

    8% of total marks

    Databases

    5 Qs

    8% of total marks

    Computer Organization and Architecture

    5 Qs

    8% of total marks

    Computer Networks

    5 Qs

    8% of total marks

    Algorithms

    5 Qs

    8% of total marks

    Operating System

    4 Qs

    6% of total marks

    Compiler Design

    4 Qs

    6% of total marks

    Free Solved Questions with Step-by-Step Solutions

    Authentic examination problems with detailed derivations and answer keys.

    Question 1
    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.
    Question 2
    Bird : Nest :: Bee : _______
    Select the correct option to complete the analogy.
    Question 3

    If for all real values of , which one of the following statements is true?

    Question 4
    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.
    Question 5

    Let and denote two arbitrary prime numbers. Which one of the following statements is correct for all values of and ?

    Question 6
    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.
    Question 7

    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 ?

    Question 8
    Which one of the following options is correct for the given data in the table?
    Iteration (i)0123Input (I)20−41015Output (X)20162641Output (Y)20−80−800−12000
    Question 9
    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.
    PQRSLMN
    Question 10
    The diagram below shows a river system consisting of 7 segments, marked P, Q, R, S, T, U, and V. It splits the land into 5 zones, marked Z1, Z2, Z3, Z4, and Z5. We need to connect these zones using the least number of bridges. Out of the following options, which one is correct?
    Note: The figure shown is representative.
    PQRSTUVZ1Z2Z3Z4Z5

    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.