PREPWISER.

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.

Download Programming and Data Structures PDF (62 pages, 0.7 MB)Practise Programming and Data Structures online free

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

Topic-wise Programming and Data Structures questions

TopicQuestionsShare
Programming in C5838%
Trees and Binary Search Trees
Binary search trees (30)
3019%
Recursion1912%
Binary Heaps
Binary heaps (17)
1711%
Arrays106%
Stacks and Queues
Stacks (7), Queues (3)
106%
Linked Lists
Linked lists (7)
75%
Graphs (Data Structure)
Graphs (3)
32%

The PDF follows this order: most asked topics first, newest papers first in each topic.

Programming and Data Structures questions year-wise

YearQuestionsMarks
20261220
20251320
20241117
202357
202257
2021913
2020711
2019712
2018812
20171423
20161728
20152233
20141116
201348
2012610
201136

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

TypeQuestionsMarksShare
MCQ (one correct option)8913958%
MSQ (one or more correct options)7125%
NAT (numerical answer)589238%

1-mark and 2-mark questions

Marks per questionQuestionsMarks
1 Mark6565
2 Marks89178

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 online

Frequently 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

GATE CS papers with Programming and Data Structures 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