GATE CS Programming and Data Structures PYQs PDF with Answer Keys (2011–2026)
Updated 3 December 2026
Programming and Data Structures has 154 GATE CS previous year questions (243 marks) from 26 papers, 2011 to 2026: 89 MCQ, 7 MSQ, 58 NAT. Free PDF with official answer keys, no sign-in.
Most asked: Programming in C (58), Trees and Binary Search Trees (30) and Recursion (19). Every GATE PYQ PDF in one file: download the ZIP (free, sign in with Google).
- 154PYQs
- 243marks
- 89MCQ
- 7MSQ
- 58NAT
Topic-wise Programming and Data Structures questions
| Topic | Questions | Share |
|---|---|---|
| Programming in C | 58 | 38% |
| Trees and Binary Search Trees Binary search trees (30) | 30 | 19% |
| Recursion | 19 | 12% |
| Binary Heaps Binary heaps (17) | 17 | 11% |
| Arrays | 10 | 6% |
| Stacks and Queues Stacks (7), Queues (3) | 10 | 6% |
| Linked Lists Linked lists (7) | 7 | 5% |
| Graphs (Data Structure) Graphs (3) | 3 | 2% |
The PDF follows this order: most asked topics first, newest papers first in each topic.
Programming and Data Structures questions year-wise
| Year | Questions | Marks | |
|---|---|---|---|
| 2026 | 12 | 20 | |
| 2025 | 13 | 20 | |
| 2024 | 11 | 17 | |
| 2023 | 5 | 7 | |
| 2022 | 5 | 7 | |
| 2021 | 9 | 13 | |
| 2020 | 7 | 11 | |
| 2019 | 7 | 12 | |
| 2018 | 8 | 12 | |
| 2017 | 14 | 23 | |
| 2016 | 17 | 28 | |
| 2015 | 22 | 33 | |
| 2014 | 11 | 16 | |
| 2013 | 4 | 8 | |
| 2012 | 6 | 10 | |
| 2011 | 3 | 6 |
GATE CS papers, 2011 to 2026; years with two or three sets count every set. Download every question's paper, type, topic and official answer (CSV)
MCQ, MSQ and NAT split
| Type | Questions | Marks | Share |
|---|---|---|---|
| MCQ (one correct option) | 89 | 139 | 58% |
| MSQ (one or more correct options) | 7 | 12 | 5% |
| NAT (numerical answer) | 58 | 92 | 38% |
1-mark and 2-mark questions
| Marks per question | Questions | Marks |
|---|---|---|
| 1 Mark | 65 | 65 |
| 2 Marks | 89 | 178 |
Practise Programming and Data Structures PYQs online, free
Answer in the browser and get each one checked instantly, free. Step-by-step solutions come with GATE Pro.
Practise Programming and Data Structures onlineFrequently asked questions
How many Programming and Data Structures questions come in GATE CS?
154 questions (243 marks) in the 26 GATE CS papers from 2011 to 2026, about 9.3 marks per paper.
Which Programming and Data Structures topics are asked most in GATE CS?
Programming in C (58 questions), Trees and Binary Search Trees (30 questions) and Recursion (19 questions).
Is the GATE CS Programming and Data Structures PYQ PDF free?
Yes. The PDF with all 154 questions and the official answer key is free with no sign-in. You can practise every question free online on PrepWiser, and unlock step-by-step solutions with GATE Pro.
More GATE CS subjects
- General Aptitude PYQs PDF227 questions
- Engineering Mathematics PYQs PDF249 questions
- Digital Logic PYQs PDF98 questions
- Computer Organization and Architecture PYQs PDF105 questions
- Algorithms PYQs PDF110 questions
- Theory of Computation PYQs PDF114 questions
- Compiler Design PYQs PDF75 questions
- Operating System PYQs PDF105 questions
- Databases PYQs PDF110 questions
- Computer Networks PYQs PDF107 questions
GATE CS papers with Programming and Data Structures questions
- GATE CS 2026 Set 1 question paper6 questions
- GATE CS 2026 Set 2 question paper6 questions
- GATE CS 2025 Set 1 question paper5 questions
- GATE CS 2025 Set 2 question paper8 questions
- GATE CS 2024 Set 1 question paper5 questions
- GATE CS 2024 Set 2 question paper6 questions
All GATE CS PYQ PDFs · GATE PYQ PDFs
Answers follow the official GATE answer keys released by the organising institute. Typing errors are possible, so check doubtful answers against the official key. Spotted a mistake? prepwiser.in/feedback · Terms: prepwiser.in/terms