Skip to content

GATE Computer Science Question Paper PDF (2017–2026) with Answer Key

Conducted by IISc and IITs Scope National

GATE CSE previous year question papers (PYQ) from 2017 to 2026 are free to download here: 15 GATE CS question papers for the Computer Science and Information Technology (CS) paper. Papers from 2020 to 2026 come with the official answer key, and the 2017 to 2019 papers have the answers marked inside the PDF. Solve them as timed 3-hour tests to prepare for GATE 2027, which IIT Madras is organising.

GATE CSE PYQ: Year-wise Question Papers

Pick a year to see every GATE paper of that year, or download the CS papers and answer keys below.

Download GATE CSE Question Papers with Answer Keys (2017–2026)

Answer keys

GATE Computer Science Question Paper PDF

Below is the GATE 2026 CS (Session 1) paper.

GATE 2026 Question Paper Computer Science and Information Technology (CS-1) Open PDF
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key
GATE Computer Science Question Paper PDF (2017–2026) with Answer Key

GATE CSE Previous Year Papers at a Glance

This table shows every year on this page, the institute that set the paper and what you get for each year.

YearOrganised byPapers on this pageAnswers
GATE 2026 CS question paperIIT Guwahati2 papers (Session 1, Session 2)Official key
GATE 2025 CS question paperIIT Roorkee2 papers (Session 1, Session 2)Official key
GATE 2024 CS question paperIISc Bangalore2 papers (Session 1, Session 2)Official key
GATE 2023 CS question paperIIT Kanpur1 paperOfficial key + detailed solutions
GATE 2022 CS question paperIIT Kharagpur1 paperOfficial key
GATE 2021 CS question paperIIT Bombay2 papers (Session 1, Session 2)Official key
GATE 2020 CS question paperIIT Delhi1 paperOfficial key
GATE 2019 CS question paperIIT Madras1 paperAnswers marked in the PDF
GATE 2018 CS question paperIIT Guwahati1 paperAnswers marked in the PDF
GATE 2017 CS question paperIIT Roorkee2 papers (Set 1, Set 2)Answers marked in the PDF

About the GATE Computer Science Paper

Paper codeCS: Computer Science and Information Technology
Years on this page2017 to 2026
Files on this page15 question papers, 11 answer keys and 1 detailed solution PDF
Answer keyOfficial answer keys for 2020 to 2026; answers marked inside the PDF for 2017 to 2019
Pattern (GATE 2027)65 questions, 100 marks, 3 hours: General Aptitude 15 marks, Engineering Mathematics 13 marks, CS subject 72 marks
Papers in more than one session2017: 2 papers; 2021: 2 papers; 2024: 2 papers; 2025: 2 papers; 2026: 2 papers

Multiple select questions (MSQ) appear from GATE 2021 onward. The 2017 to 2020 papers have only MCQ and numerical answer (NAT) questions, so use them for topic practice and the 2021 to 2026 papers for full mock tests.

For GATE 2023, detailed solution PDFs are also listed for CS, along with the official key.

GATE CSE Syllabus Covered in the Papers

Every GATE CS paper is set from the official syllabus. The GATE 2027 syllabus for CS has 10 sections, listed below. Tag each question you solve with its section, so you can see which parts of the syllabus come up most and where you lose marks. The full syllabus is on our GATE syllabus page.

Syllabus sectionMain topics
Engineering MathematicsDiscrete Mathematics, Graphs, Combinatorics, Linear Algebra, Calculus, Probability and Statistics
Digital LogicBoolean algebra and minimization – algebraic technique, Karnaugh map, tabular method; Design of combinational and sequential circuits
Computer Organization and ArchitectureInstruction set and addressing modes; Design of arithmetic and logic unit (ALU); Design of control unit – hardwired and microprogrammed
Programming and Data StructuresProgramming in C. Recursion; Arrays, stacks, queues, linked lists, trees, binary search trees, binary heaps, graphs
AlgorithmsSearching, sorting, hashing; Asymptotic worst case time and space complexity
Theory of ComputationRegular expressions and finite automata; Context-free grammars and push-down automata; Regular and context-free languages, pumping lemma
Compiler DesignLexical analysis, parsing, syntax-directed translation; Runtime environments; Intermediate code generation
Operating SystemSystem calls, processes, threads, inter‐process communication, concurrency and synchronization; Deadlock; CPU and I/O scheduling
DatabasesER‐model; Relational model: relational algebra, tuple calculus, SQL. Integrity constraints, normal forms
Computer NetworksPrinciples of Layering; Basics of switching (circuit, packet and virtual circuit) and performance metrics; Data link layer: error detection, Medium Access Control

How to Use GATE CSE PYQs

  • Start with 2026, then go back. The 2026 and 2025 CS papers are closest to the GATE 2027 pattern. Solve each one in a single 3-hour sitting.
  • Do not skip Engineering Mathematics. It carries 13 marks in every CS paper, and General Aptitude carries another 15. Together they are over a quarter of the paper.
  • Practise MSQ and NAT questions. They have no negative marks, so never leave them blank. They appear in the 2021 to 2026 papers.
  • Check with the official key. Use the official answer key for 2020 to 2026; NAT answers are accepted within the range given in the key. For 2017 to 2019, the answers are marked inside each PDF.
  • Use both sessions. In 2017, 2021 and 2024 to 2026, CS was held in more than one session, so each of those years gives you more than one full paper.

GATE CSE PYQ FAQs

Where can I download GATE CSE previous year question papers?
On this page. It lists 15 GATE CS question papers from 2017 to 2026 as free PDFs, with the official answer key for every paper from 2020. Each paper opens in the viewer and can be downloaded.
Is the GATE CSE answer key given with the PYQs?
Yes. The official GATE CS answer key is listed for 2020 to 2026. For 2017 to 2019 there is no separate key, as the answers are marked inside each PDF.
What is the GATE CSE exam pattern?
GATE CS has 65 questions for 100 marks in 3 hours: 10 General Aptitude questions for 15 marks and 55 subject questions for 85 marks, of which 13 marks are Engineering Mathematics.
How many years of GATE CSE PYQs should I solve?
Solve every paper from 2021 to 2026 as full mock tests, since these have MCQ, MSQ and NAT questions like GATE 2027. Then use the older papers on this page (back to 2017) for topic-wise practice.
Why are there two GATE CSE papers for some years?
CS was held in more than one session in 2017, 2021 and 2024 to 2026, and each session had its own question paper. All sessions are listed here.
Which syllabus sections do GATE CSE papers cover?
The GATE 2027 CS syllabus has these sections: Engineering Mathematics, Digital Logic, Computer Organization and Architecture, Programming and Data Structures, Algorithms, Theory of Computation, Compiler Design, Operating System, Databases and Computer Networks.
Official website: gate2027.iitm.ac.inIISc and IITs publishes notices, admit cards and results here
Visit

Discussion about GATE 2027

?

Loading comments…